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
95b82a48
Commit
95b82a48
authored
20 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
Add new window splitting stuff.
parent
f3f7844b
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
+34
-26
34 additions, 26 deletions
src/zmapControl/zmapControl_P.h
with
34 additions
and
26 deletions
src/zmapControl/zmapControl_P.h
+
34
−
26
View file @
95b82a48
...
...
@@ -25,9 +25,9 @@
* Description: Private header for interface that creates/manages/destroys
* instances of ZMaps.
* HISTORY:
* Last edited: Jan
7 14:44
2005 (edgrif)
* Last edited: Jan
14 12:58
2005 (edgrif)
* Created: Thu Jul 24 14:39:06 2003 (edgrif)
* CVS info: $Id: zmapControl_P.h,v 1.2
5
2005-01-
10 09:53
:2
8
edgrif Exp $
* CVS info: $Id: zmapControl_P.h,v 1.2
6
2005-01-
24 11:38
:2
6
edgrif Exp $
*-------------------------------------------------------------------
*/
#ifndef ZMAP_CONTROL_P_H
...
...
@@ -63,8 +63,6 @@ typedef struct _ZMapStruct
ZmapState
state
;
gboolean
firstTime
;
GdkAtom
zmap_atom
;
/* Used for communicating with zmap */
void
*
app_data
;
/* Data passed back to all callbacks
...
...
@@ -87,13 +85,22 @@ typedef struct _ZMapStruct
ZMapNavigator
navigator
;
/* The panes and views. */
GtkWidget
*
pane_vbox
;
/* Is the parent of all the panes. */
#ifdef ED_G_NEVER_INCLUDE_THIS_CODE
/* This all needs to be surplanted..... */
/* I'm not completely sure this is necessary....revisit this later.... */
GtkWidget
*
pane_vbox
;
ZMapPane
focuspane
;
/* current focus pane. */
GList
*
panes_list
;
/* all panes. */
#endif
/* ED_G_NEVER_INCLUDE_THIS_CODE */
/* Panes are windows where views get displayed. */
ZMapPane
focuspane
;
GNode
*
panesTree
;
ZMapViewWindow
focus_viewwindow
;
ZMapViewWindow
unfocus_viewwindow
;
GHashTable
*
viewwindow_2_parent
;
/* holds hash to go from a view window
to that windows parent widget
(currently a frame). */
/* List of views in this zmap. */
GList
*
view_list
;
...
...
@@ -105,20 +112,21 @@ typedef struct _ZMapStruct
#ifdef ED_G_NEVER_INCLUDE_THIS_CODE
/* Data associated with one scrolling pane. */
typedef
struct
_ZMapPaneStruct
{
/* DO WE REALLY NEED THIS ? */
ZMap
zmap
;
/* Back ptr to containing zmap. */
ZMapViewWindow
curr_view_window
;
GtkWidget
*
pane
;
GtkWidget
*
frame
;
GtkWidget
*
view_parent_box
;
GtkWidget
*
frame
;
/* Direct parent of view window. */
ZMapViewWindow
curr_view_window
;
}
ZMapPaneStruct
;
#endif
/* ED_G_NEVER_INCLUDE_THIS_CODE */
...
...
@@ -131,11 +139,20 @@ GtkWidget *zmapControlWindowMakeButtons(ZMap zmap) ;
GtkWidget
*
zmapControlWindowMakeFrame
(
ZMap
zmap
)
;
void
zmapControlWindowDestroy
(
ZMap
zmap
)
;
void
zmapControlWindowDoTheZoom
(
ZMap
zmap
,
double
zoom
)
;
void
zmapControlWindowSetZoomButtons
(
ZMap
zmap
,
ZMapWindowZoomStatus
zoom_status
)
;
void
zmapControlSplitInsertWindow
(
ZMap
zmap
,
GtkOrientation
orientation
)
;
void
zmapControlRemoveWindow
(
ZMap
zmap
)
;
/* these may not need to be exposed.... */
GtkWidget
*
zmapControlAddWindow
(
ZMap
zmap
,
GtkWidget
*
curr_frame
,
GtkOrientation
orientation
)
;
void
zmapControlCloseWindow
(
ZMap
zmap
,
GtkWidget
*
close_container
)
;
void
zmapControlWindowDoTheZoom
(
ZMap
zmap
,
double
zoom
)
;
void
zmapControlWindowSetZoomButtons
(
ZMap
zmap
,
ZMapWindowZoomStatus
zoom_status
)
;
void
zmapControlSetWindowFocus
(
ZMap
zmap
,
ZMapViewWindow
new_viewwindow
)
;
void
zmapControlUnSetWindowFocus
(
ZMap
zmap
,
ZMapViewWindow
new_viewwindow
)
;
void
zmapControlTopLevelKillCB
(
ZMap
zmap
)
;
void
zmapControlLoadCB
(
ZMap
zmap
)
;
void
zmapControlResetCB
(
ZMap
zmap
)
;
...
...
@@ -146,14 +163,5 @@ void zmapControlInstallRemoteAtoms(GdkWindow *top_zmap_window) ;
gint
zmapControlPropertyEvent
(
GtkWidget
*
top_zmap_window
,
GdkEventProperty
*
ev
,
gpointer
data
)
;
void
zmapRecordFocus
(
ZMapPane
pane
)
;
ZMapPane
zmapAddPane
(
ZMap
zmap
,
char
orientation
)
;
GtkWidget
*
splitPane
(
ZMap
zmap
)
;
GtkWidget
*
splitHPane
(
ZMap
zmap
)
;
void
closePane
(
GtkWidget
*
widget
,
gpointer
data
);
#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