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
9c96d727
Commit
9c96d727
authored
15 years ago
by
rds
Browse files
Options
Downloads
Patches
Plain Diff
removed old code
parent
51304c71
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/zmapWindowItemTextFillColumn.h
+2
-55
2 additions, 55 deletions
src/zmapWindow/zmapWindowItemTextFillColumn.h
with
2 additions
and
55 deletions
src/zmapWindow/zmapWindowItemTextFillColumn.h
+
2
−
55
View file @
9c96d727
...
...
@@ -27,9 +27,9 @@
*
* Exported functions: See XXXXXXXXXXXXX.h
* HISTORY:
* Last edited:
Mar 20 12:26
200
8
(rds)
* Last edited:
Jun 16 08:48
200
9
(rds)
* Created: Mon Apr 2 11:51:25 2007 (rds)
* CVS info: $Id: zmapWindowItemTextFillColumn.h,v 1.
4
200
8
-0
3-20 13:24
:5
5
rds Exp $
* CVS info: $Id: zmapWindowItemTextFillColumn.h,v 1.
5
200
9
-0
6-19 11:17
:5
6
rds Exp $
*-------------------------------------------------------------------
*/
...
...
@@ -52,59 +52,6 @@ enum
ITEMTEXT_CHAR_BOUND_COUNT
=
4
};
#ifdef LOAD_OF_OLD_CODE
enum
{
ITEMTEXT_ELIPSIS_SIZE
=
3
,
};
typedef
struct
{
gboolean
initialised
,
truncated
;
double
seq_start
,
seq_end
;
double
offset_start
;
int
truncate_at
;
double
region_range
;
int
rows
,
cols
,
last_populated_cell
;
double
real_char_height
;
GString
*
row_text
;
int
index_start
,
current_idx
;
GdkColor
*
text_colour
;
char
elipsis
[
ITEMTEXT_ELIPSIS_SIZE
];
}
ZMapWindowItemTextIteratorStruct
,
*
ZMapWindowItemTextIterator
;
typedef
struct
_ZMapWindowItemTextContextStruct
*
ZMapWindowItemTextContext
;
typedef
struct
{
double
feature_start
,
feature_end
;
double
visible_y1
,
visible_y2
,
s2c_offset
;
int
bases_per_char
;
double
width
;
FooCanvas
*
canvas
;
ZMapFeature
feature
;
}
ZMapWindowItemTextEnvironmentStruct
,
*
ZMapWindowItemTextEnvironment
;
ZMapWindowItemTextContext
zmapWindowItemTextContextCreate
(
GdkColor
*
text_colour
);
void
zmapWindowItemTextContextInitialise
(
ZMapWindowItemTextContext
context
,
ZMapWindowItemTextEnvironment
environment
);
void
zmapWindowItemTextGetWidthLimitBounds
(
ZMapWindowItemTextContext
context
,
double
*
width_min
,
double
*
width_max
);
gboolean
zmapWindowItemTextIndexGetBounds
(
ZMapWindowItemTextContext
context
,
int
index
,
double
*
item_world_coords_out
);
ZMapWindowItemTextIterator
zmapWindowItemTextContextGetIterator
(
ZMapWindowItemTextContext
context
,
double
column_width
);
gboolean
zmapWindowItemTextWorldToIndex
(
ZMapWindowItemTextContext
context
,
FooCanvasItem
*
text_item
,
double
x
,
double
y
,
int
*
index_out
);
void
zmapWindowItemTextCharBounds2OverlayPoints
(
ZMapWindowItemTextContext
context
,
double
*
first
,
double
*
last
,
FooCanvasPoints
*
overlay_points
);
void
zmapWindowItemTextContextDestroy
(
ZMapWindowItemTextContext
context
);
#endif
/* LOAD_OF_OLD_CODE */
void
zmapWindowItemTextOverlayFromCellBounds
(
FooCanvasPoints
*
overlay_points
,
double
*
first
,
double
*
last
,
...
...
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