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
5ed4c279
Commit
5ed4c279
authored
20 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
remove all navigator stuff, its not separate from control.
parent
1af62aaa
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
+3
-59
3 additions, 59 deletions
src/zmapControl/zmapControl_P.h
with
3 additions
and
59 deletions
src/zmapControl/zmapControl_P.h
+
3
−
59
View file @
5ed4c279
...
...
@@ -25,9 +25,9 @@
* Description: Private header for interface that creates/manages/destroys
* instances of ZMaps.
* HISTORY:
* Last edited: Jan
5
1
5:0
4 2005 (edgrif)
* Last edited: Jan
7
1
4:4
4 2005 (edgrif)
* Created: Thu Jul 24 14:39:06 2003 (edgrif)
* CVS info: $Id: zmapControl_P.h,v 1.2
4
2005-01-
07 12:18:37
edgrif Exp $
* CVS info: $Id: zmapControl_P.h,v 1.2
5
2005-01-
10 09:53:28
edgrif Exp $
*-------------------------------------------------------------------
*/
#ifndef ZMAP_CONTROL_P_H
...
...
@@ -36,6 +36,7 @@
#include
<gtk/gtk.h>
#include
<ZMap/zmapSys.h>
#include
<ZMap/zmapView.h>
#include
<ZMap/zmapNavigator.h>
#include
<ZMap/zmapControl.h>
...
...
@@ -104,38 +105,6 @@ 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
{
ZMapSpanStruct
parent_span
;
/* Start/end of parent of sequence. */
ZMapMapBlockStruct
sequence_to_parent
;
/* how this sequence maps to parent. */
/* The region locator showing the position/extent of this sequence region
* within the total sequence. */
GtkWidget
*
navVBox
;
GtkWidget
*
navVScroll
;
GtkWidget
*
topLabel
;
GtkWidget
*
botLabel
;
/* The window locator showing the position/extent of the window within the region, this changes
* as the user zooms and when they move the scrolling window via the special keys. */
GtkWidget
*
wind_vbox
;
GtkWidget
*
wind_scroll
;
GtkWidget
*
wind_top_label
;
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
;
/* Data associated with one scrolling pane. */
...
...
@@ -166,16 +135,6 @@ void zmapControlWindowDoTheZoom(ZMap zmap, double zoom) ;
void
zmapControlWindowSetZoomButtons
(
ZMap
zmap
,
ZMapWindowZoomStatus
zoom_status
)
;
/* 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
)
;
void
zmapControlTopLevelKillCB
(
ZMap
zmap
)
;
void
zmapControlLoadCB
(
ZMap
zmap
)
;
...
...
@@ -191,25 +150,10 @@ void zmapRecordFocus(ZMapPane pane) ;
ZMapPane
zmapAddPane
(
ZMap
zmap
,
char
orientation
)
;
GtkWidget
*
splitPane
(
ZMap
zmap
)
;
GtkWidget
*
splitHPane
(
ZMap
zmap
)
;
void
closePane
(
GtkWidget
*
widget
,
gpointer
data
);
void
drawNavigator
(
ZMap
zmap
)
;
void
drawWindow
(
ZMapPane
pane
);
void
zMapZoomToolbar
(
ZMapWindow
window
);
void
navScale
(
FooCanvas
*
canvas
,
float
offset
,
int
start
,
int
end
);
void
navUpdate
(
GtkAdjustment
*
adj
,
gpointer
p
);
void
navChange
(
GtkAdjustment
*
adj
,
gpointer
p
);
#endif
/* !ZMAP_CONTROL_P_H */
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