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
686e9e4e
Commit
686e9e4e
authored
20 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
add call to navigator to specify callback when window locator is moved.
parent
cec52196
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/zmapControl/zmapControl_P.h
+17
-3
17 additions, 3 deletions
src/zmapControl/zmapControl_P.h
with
17 additions
and
3 deletions
src/zmapControl/zmapControl_P.h
+
17
−
3
View file @
686e9e4e
...
...
@@ -25,9 +25,9 @@
* Description: Private header for interface that creates/manages/destroys
* instances of ZMaps.
* HISTORY:
* Last edited:
Dec 16
15:
59
200
4
(edgrif)
* Last edited:
Jan 5
15:
04
200
5
(edgrif)
* Created: Thu Jul 24 14:39:06 2003 (edgrif)
* CVS info: $Id: zmapControl_P.h,v 1.2
3
200
4-12-20 10:59:24
edgrif Exp $
* CVS info: $Id: zmapControl_P.h,v 1.2
4
200
5-01-07 12:18:37
edgrif Exp $
*-------------------------------------------------------------------
*/
#ifndef ZMAP_CONTROL_P_H
...
...
@@ -103,6 +103,11 @@ typedef struct _ZMapStruct
/* callback we can register with zmapnavigator, gets called when user releases the scrollbar. */
typedef
void
(
*
ZMapNavigatorScrollValue
)(
void
*
user_data
,
double
start
,
double
end
)
;
/* Data associated with the navigator. */
typedef
struct
_ZMapNavStruct
{
...
...
@@ -124,6 +129,10 @@ typedef struct _ZMapNavStruct
GtkWidget
*
wind_bot_label
;
double
wind_top
,
wind_bot
;
/* Caller can register a call back which we call when user releases button when moving window
* locator. */
ZMapNavigatorScrollValue
cb_func
;
void
*
user_data
;
}
ZMapNavStruct
;
...
...
@@ -145,6 +154,7 @@ typedef struct _ZMapPaneStruct
/* Functions internal to zmapControl. */
gboolean
zmapControlWindowCreate
(
ZMap
zmap
)
;
GtkWidget
*
zmapControlWindowMakeMenuBar
(
ZMap
zmap
)
;
...
...
@@ -156,8 +166,12 @@ void zmapControlWindowDoTheZoom(ZMap zmap, double zoom) ;
void
zmapControlWindowSetZoomButtons
(
ZMap
zmap
,
ZMapWindowZoomStatus
zoom_status
)
;
/* NOTE THIS CANNOT BE COMPLETE...WHERE IS THE DESTRUCTOR..... */
/* NOTE THIS CANNOT BE COMPLETE...WHERE IS THE DESTRUCTOR.....We could split out navigator
* into a separate package, which would be sensible actually, if only so we can have shorter
* names. */
ZMapNavigator
zmapControlNavigatorCreate
(
GtkWidget
**
top_widg_out
)
;
void
zmapControlNavigatorSetWindowCallback
(
ZMapNavigator
navigator
,
ZMapNavigatorScrollValue
cb_func
,
void
*
user_data
)
;
void
zmapControlNavigatorSetWindowPos
(
ZMapNavigator
navigator
,
double
top_pos
,
double
bot_pos
)
;
void
zmapControlNavigatorNewView
(
ZMapNavigator
navigator
,
ZMapFeatureContext
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