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
b663cfda
Commit
b663cfda
authored
20 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
Renamed ZMap_P.h to zmapControl_P.h for clarity.
parent
3cda83fd
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
+103
-0
103 additions, 0 deletions
src/zmapControl/zmapControl_P.h
with
103 additions
and
0 deletions
src/zmapControl/zmapControl_P.h
0 → 100755
+
103
−
0
View file @
b663cfda
/* File: zmapControl_P.h
* Author: Ed Griffiths (edgrif@sanger.ac.uk)
* Copyright (c) Sanger Institute, 2003
*-------------------------------------------------------------------
* ZMap is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* or see the on-line version at http://www.gnu.org/copyleft/gpl.txt
*-------------------------------------------------------------------
* This file is part of the ZMap genome database package
* and was written by
* Ed Griffiths (Sanger Institute, UK) edgrif@sanger.ac.uk and
* Rob Clack (Sanger Institute, UK) rnc@sanger.ac.uk,
*
* Description: Private header for interface that creates/manages/destroys
* instances of ZMaps.
* HISTORY:
* Last edited: Jul 1 09:45 2004 (edgrif)
* Created: Thu Jul 24 14:39:06 2003 (edgrif)
* CVS info: $Id: zmapControl_P.h,v 1.1 2004-07-01 08:46:27 edgrif Exp $
*-------------------------------------------------------------------
*/
#ifndef ZMAP_CONTROL_P_H
#define ZMAP_CONTROL_P_H
#include
<gtk/gtk.h>
#include
<ZMap/zmapSys.h>
#include
<ZMap/zmapView.h>
#include
<ZMap/zmapControl.h>
#include
<../zmapWindow/zmapWindow_P.h>
/* The overall state of the zmap, we need this because both the zmap window and the its threads
* will die asynchronously so we need to block further operations while they are in this state.
* Note that after a window is "reset" it goes back to the init state. */
typedef
enum
{
ZMAP_INIT
,
/* Created, display but no views. */
ZMAP_VIEWS
,
/* Display with views in normal state. */
ZMAP_RESETTING
,
/* Display being reset. */
ZMAP_DYING
/* ZMap is dying for some reason,
cannot do anything in this state. */
}
ZmapState
;
/* A ZMap Control struct represents a single top level window which is a "ZMap", within
* this top level window there will be one or more zmap "Views". */
typedef
struct
_ZMapStruct
{
gchar
*
zmap_id
;
/* unique for each zmap.... */
ZmapState
state
;
#ifdef ED_G_NEVER_INCLUDE_THIS_CODE
void
*
app_data
;
ZMapCallbackFunc
destroy_zmap_cb
;
#endif
/* ED_G_NEVER_INCLUDE_THIS_CODE */
GtkWidget
*
toplevel
;
GtkWidget
*
view_parent
;
ZMapView
curr_view
;
GList
*
view_list
;
GdkAtom
zmap_atom
;
/* caller registers a routine that gets called when this zmap is destroyed. */
ZMapCallbackFunc
app_zmap_destroyed_cb
;
void
*
app_data
;
ZMapWindow
zMapWindow
;
}
ZMapStruct
;
/* Functions internal to zmapControl. */
gboolean
zmapControlWindowCreate
(
ZMap
zmap
,
char
*
zmap_id
)
;
GtkWidget
*
zmapControlWindowMakeMenuBar
(
ZMap
zmap
)
;
GtkWidget
*
zmapControlWindowMakeButtons
(
ZMap
zmap
)
;
GtkWidget
*
zmapControlWindowMakeFrame
(
ZMap
zmap
)
;
void
zmapControlWindowDestroy
(
ZMap
zmap
)
;
void
zmapControlTopLevelKillCB
(
ZMap
zmap
)
;
void
zmapControlLoadCB
(
ZMap
zmap
)
;
void
zmapControlResetCB
(
ZMap
zmap
)
;
void
zmapControlNewCB
(
ZMap
zmap
,
char
*
testing_text
)
;
#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