Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zmap
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
zmap
Commits
dd077fca
Commit
dd077fca
authored
16 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
add data to command callback to support dyn. loading.
parent
1fc3287e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/include/ZMap/zmapWindow.h
+28
-15
28 additions, 15 deletions
src/include/ZMap/zmapWindow.h
with
28 additions
and
15 deletions
src/include/ZMap/zmapWindow.h
+
28
−
15
View file @
dd077fca
...
...
@@ -26,9 +26,9 @@
* window displaying genome data.
*
* HISTORY:
* Last edited:
Nov 20 09:44
200
8
(
rds
)
* Last edited:
Jan 29 11:05
200
9
(
edgrif
)
* Created: Thu Jul 24 15:21:56 2003 (edgrif)
* CVS info: $Id: zmapWindow.h,v 1.9
7
200
8-11-20 09:55:12 rds
Exp $
* CVS info: $Id: zmapWindow.h,v 1.9
8
200
9-02-03 13:57:33 edgrif
Exp $
*-------------------------------------------------------------------
*/
#ifndef ZMAP_WINDOW_H
...
...
@@ -53,28 +53,32 @@
* */
/* Opaque type, represents an individual ZMap window. */
/*
!
Opaque type, represents an individual ZMap window. */
typedef
struct
_ZMapWindowStruct
*
ZMapWindow
;
/* opaque */
/*
!
opaque */
typedef
struct
_ZMapWindowStateStruct
*
ZMapWindowState
;
typedef
struct
_GQueue
*
ZMapWindowStateQueue
;
/* indicates how far the zmap is zoomed, n.b. ZMAP_ZOOM_FIXED implies that the whole sequence
/*
!
indicates how far the zmap is zoomed, n.b. ZMAP_ZOOM_FIXED implies that the whole sequence
* is displayed at the maximum zoom. */
typedef
enum
{
ZMAP_ZOOM_INIT
,
ZMAP_ZOOM_MIN
,
ZMAP_ZOOM_MID
,
ZMAP_ZOOM_MAX
,
ZMAP_ZOOM_FIXED
}
ZMapWindowZoomStatus
;
/* Should the original window and the new window be locked together for scrolling and zooming.
/*
!
Should the original window and the new window be locked together for scrolling and zooming.
* vertical means that the vertical scrollbars should be locked together, specifying vertical
* or horizontal means locking of zoom as well. */
typedef
enum
{
ZMAP_WINLOCK_NONE
,
ZMAP_WINLOCK_VERTICAL
,
ZMAP_WINLOCK_HORIZONTAL
}
ZMapWindowLockType
;
/* Data returned to the visibilityChange callback routine. */
/*! ZMap Window has various callbacks which will return different types of data for various actions. */
/*! Data returned to the visibilityChange callback routine which is called whenever the scrollable
* section of the window changes, e.g. when zooming. */
typedef
struct
{
ZMapWindowZoomStatus
zoom_status
;
...
...
@@ -86,12 +90,9 @@ typedef struct
/* Data returned to the focus callback routine. */
typedef
enum
{
ZMAPWINDOW_SELECT_SINGLE
,
ZMAPWINDOW_SELECT_DOUBLE
,
}
ZMapWindowSelectType
;
/*! Data returned to the focus callback routine, called whenever a feature is selected. */
typedef
enum
{
ZMAPWINDOW_SELECT_SINGLE
,
ZMAPWINDOW_SELECT_DOUBLE
}
ZMapWindowSelectType
;
typedef
struct
{
...
...
@@ -120,7 +121,7 @@ typedef struct
/* Data returned to the split window call. */
/*
!
Data returned to the split window call. */
typedef
struct
{
ZMapWindow
original_window
;
/* We need to know where we came from... */
...
...
@@ -145,6 +146,7 @@ typedef struct
typedef
enum
{
ZMAPWINDOW_CMD_INVALID
,
ZMAPWINDOW_CMD_GETFEATURES
,
ZMAPWINDOW_CMD_SHOWALIGN
,
ZMAPWINDOW_CMD_REVERSECOMPLEMENT
}
ZMapWindowCommandType
;
...
...
@@ -166,6 +168,16 @@ typedef struct
}
ZMapWindowCallbackCommandAlignStruct
,
*
ZMapWindowCallbackCommandAlign
;
/* Call sources to get new features. */
typedef
struct
{
ZMapWindowCommandType
cmd
;
ZMapFeatureBlock
block
;
/* Block for which features should be fetched. */
GList
*
feature_set_ids
;
/* List of names as quarks. */
int
start
,
end
;
/* Range over which features should be fetched. */
}
ZMapWindowCallbackCommandGetFeaturesStruct
,
*
ZMapWindowCallbackGetFeatures
;
/* No extra data needed for rev. comp. */
typedef
struct
{
...
...
@@ -219,7 +231,8 @@ void zMapWindowBusyHidden(char *file, char *func, ZMapWindow window, gboolean bu
#endif
void
zMapWindowDisplayData
(
ZMapWindow
window
,
ZMapWindowState
state
,
ZMapFeatureContext
current_features
,
ZMapFeatureContext
new_features
)
;
ZMapFeatureContext
current_features
,
ZMapFeatureContext
new_features
,
GData
*
all_styles
,
GData
*
new_styles
)
;
void
zMapWindowUnDisplayData
(
ZMapWindow
window
,
ZMapFeatureContext
current_features
,
ZMapFeatureContext
new_features
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment