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
1ff840d9
Commit
1ff840d9
authored
18 years ago
by
rds
Browse files
Options
Downloads
Patches
Plain Diff
keeping prototypes in line.
parent
4c48923c
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/zmapWindow/zmapWindow_P.h
+32
-22
32 additions, 22 deletions
src/zmapWindow/zmapWindow_P.h
with
32 additions
and
22 deletions
src/zmapWindow/zmapWindow_P.h
+
32
−
22
View file @
1ff840d9
...
...
@@ -26,9 +26,9 @@
* Description: Defines internal interfaces/data structures of zMapWindow.
*
* HISTORY:
* Last edited: Oct 1
1
1
0:05
2006 (
edgrif
)
* Last edited: Oct 1
7
1
6:14
2006 (
rds
)
* Created: Fri Aug 1 16:45:58 2003 (edgrif)
* CVS info: $Id: zmapWindow_P.h,v 1.14
0
2006-10-1
1 09:49:55 edgrif
Exp $
* CVS info: $Id: zmapWindow_P.h,v 1.14
1
2006-10-1
8 15:26:22 rds
Exp $
*-------------------------------------------------------------------
*/
#ifndef ZMAP_WINDOW_P_H
...
...
@@ -41,7 +41,6 @@
#include
<ZMap/zmapWindow.h>
/*
* This section details data that we attacht to the foocanvas items that represent
* contexts, aligns etc. Each data structure is accessed via a key given by the
...
...
@@ -248,16 +247,6 @@ typedef enum
#define ZMAP_WINDOW_ITEM_BORDER_COLOUR "black"
/* A bit field I found I needed to make it easier to calc what had been clamped. */
typedef
enum
{
ZMAP_WINDOW_CLAMP_INIT
=
0
,
ZMAP_WINDOW_CLAMP_NONE
=
(
1
<<
0
),
ZMAP_WINDOW_CLAMP_START
=
(
1
<<
1
),
ZMAP_WINDOW_CLAMP_END
=
(
1
<<
2
)
}
ZMapWindowClampType
;
/* Used to pass data to canvas item menu callbacks, whether columns or feature items. */
typedef
struct
...
...
@@ -317,6 +306,8 @@ typedef struct _ZMapWindowFocusStruct *ZMapWindowFocus ;
typedef
struct
_ZMapWindowLongItemsStruct
*
ZMapWindowLongItems
;
typedef
struct
_ZMapWindowFToIFactoryStruct
*
ZMapWindowFToIFactory
;
/* My intention is to gradually put all configuration data (spacing, borders, colours etc)
...
...
@@ -436,7 +427,7 @@ typedef struct _ZMapWindowStruct
* limit, so we have to keep a list of the canvas items that can generate graphics greater
* than this limit as we zoom in and crop them ourselves. */
ZMapWindowLongItems
long_items
;
ZMapWindowFToIFactory
item_factory
;
/* Lists of dialog windows associated with this zmap window, these must be destroyed when
* the zmap window is destroyed. */
...
...
@@ -479,6 +470,8 @@ typedef struct _ZMapWindowStruct
gboolean
display_3_frame
;
gboolean
show_3_frame_reverse
;
GList
*
feature_set_names
;
}
ZMapWindowStruct
;
...
...
@@ -513,6 +506,14 @@ typedef void (*ZMapWindowStyleTableCallback)(ZMapFeatureTypeStyle style, gpointe
/* Callback for use in testing item hash objects to see if they fit a particular predicate. */
typedef
gboolean
(
*
ZMapWindowFToIPredFuncCB
)(
FooCanvasItem
*
canvas_item
,
gpointer
user_data
)
;
/* Handler to set stuff after an item has been drawn. */
typedef
void
(
*
ZMapWindowFeaturePostItemDrawHandler
)(
FooCanvasItem
*
new_item
,
ZMapWindowItemFeatureType
new_item_type
,
ZMapFeature
full_feature
,
ZMapWindowItemFeature
sub_feature
,
double
new_item_y1
,
double
new_item_y2
,
gpointer
handler_data
);
GtkWidget
*
zmapWindowMakeMenuBar
(
ZMapWindow
window
)
;
...
...
@@ -616,6 +617,7 @@ FooCanvasItem *zmapWindowFToIFindItemChild(GHashTable *feature_to_context_hash,
FooCanvasItem
*
zMapWindowFindFeatureItemByItem
(
ZMapWindow
window
,
FooCanvasItem
*
item
)
;
void
zmapWindowFToIDestroy
(
GHashTable
*
feature_to_item_hash
)
;
void
zmapWindowFeatureFactoryInit
(
ZMapWindow
window
);
FooCanvasGroup
*
zmapWindowItemGetParentContainer
(
FooCanvasItem
*
feature_item
)
;
...
...
@@ -651,12 +653,12 @@ void zmapWindowScrollRegionTool(ZMapWindow window,
double
*
x1_inout
,
double
*
y1_inout
,
double
*
x2_inout
,
double
*
y2_inout
);
ZMap
Window
ClampType
zmapWindowClampSpan
(
ZMapWindow
window
,
double
*
top_inout
,
double
*
bot_inout
)
;
ZMap
Window
ClampType
zmapWindowClampedAtStartEnd
(
ZMapWindow
window
,
double
*
top_inout
,
double
*
bot_inout
)
;
ZMap
GUI
ClampType
zmapWindowClampSpan
(
ZMapWindow
window
,
double
*
top_inout
,
double
*
bot_inout
)
;
ZMap
GUI
ClampType
zmapWindowClampedAtStartEnd
(
ZMapWindow
window
,
double
*
top_inout
,
double
*
bot_inout
)
;
void
zMapWindowMoveItem
(
ZMapWindow
window
,
ZMapFeature
origFeature
,
ZMapFeature
modFeature
,
FooCanvasItem
*
item
);
...
...
@@ -765,6 +767,12 @@ ZMapStrand zmapWindowFeatureStrand(ZMapFeature feature) ;
ZMapFrame
zmapWindowFeatureFrame
(
ZMapFeature
feature
)
;
FooCanvasItem
*
zmapWindowFeatureDraw
(
ZMapWindow
window
,
FooCanvasGroup
*
set_group
,
ZMapFeature
feature
)
;
FooCanvasItem
*
zmapWindowFeatureDrawScaled
(
ZMapWindow
window
,
FooCanvasGroup
*
set_group
,
ZMapFeature
feature
,
double
scale_factor
,
ZMapWindowFeaturePostItemDrawHandler
handler
);
char
*
zmapWindowFeatureSetDescription
(
GQuark
feature_set_id
,
ZMapFeatureTypeStyle
style
)
;
...
...
@@ -830,8 +838,7 @@ void zmapHighlightColumn(ZMapWindow window, FooCanvasGroup *column) ;
void
zmapUnHighlightColumn
(
ZMapWindow
window
,
FooCanvasGroup
*
column
)
;
ZMapWindowItemHighlighter
zmapWindowItemTextHighlightCreateData
(
ZMapWindow
window
,
FooCanvasGroup
*
group
);
ZMapWindowItemHighlighter
zmapWindowItemTextHighlightCreateData
(
FooCanvasGroup
*
group
);
ZMapWindowItemHighlighter
zmapWindowItemTextHighlightRetrieve
(
FooCanvasGroup
*
group
);
gboolean
zmapWindowItemTextHighlightGetIndices
(
ZMapWindowItemHighlighter
select_control
,
int
*
firstIdx
,
int
*
lastIdx
);
...
...
@@ -884,6 +891,9 @@ void zmapWindowRulerCanvasSetVAdjustment(ZMapWindowRulerCanvas obj, GtkAdjustmen
void
zmapWindowRulerCanvasSetPixelsPerUnit
(
ZMapWindowRulerCanvas
obj
,
double
x
,
double
y
);
void
zmapWindowRulerCanvasSetLineHeight
(
ZMapWindowRulerCanvas
obj
,
double
border
);
void
zmapWindowRulerGroupDraw
(
FooCanvasGroup
*
parent
,
double
project_at
,
double
start
,
double
end
);
/* End Ruler Functions */
...
...
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