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
ff423902
Commit
ff423902
authored
15 years ago
by
rds
Browse files
Options
Downloads
Patches
Plain Diff
comments only
parent
7459d725
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/zmapWindowDrawFeatures.c
+12
-5
12 additions, 5 deletions
src/zmapWindow/zmapWindowDrawFeatures.c
with
12 additions
and
5 deletions
src/zmapWindow/zmapWindowDrawFeatures.c
+
12
−
5
View file @
ff423902
...
...
@@ -26,9 +26,9 @@
*
* Exported functions:
* HISTORY:
* Last edited: Jun
5
1
2:1
8 2009 (rds)
* Last edited: Jun
8
1
1:5
8 2009 (rds)
* Created: Thu Jul 29 10:45:00 2004 (rnc)
* CVS info: $Id: zmapWindowDrawFeatures.c,v 1.24
4
2009-06-
05 13:33:04
rds Exp $
* CVS info: $Id: zmapWindowDrawFeatures.c,v 1.24
5
2009-06-
10 10:02:32
rds Exp $
*-------------------------------------------------------------------
*/
...
...
@@ -997,6 +997,11 @@ static void set_name_create_set_columns(gpointer list_data, gpointer user_data)
return
;
}
/* function to obtain and step through a list of styles "attached" to
* a column, filtering for frame specificity, before returning the
* frame start and end, to be used in a for() loop when splitting a
* feature set into separate, or not so, framed columns */
static
gboolean
feature_set_matches_frame_drawing_mode
(
ZMapWindow
window
,
ZMapCanvasData
canvas_data
,
ZMapFeatureSet
feature_set
,
...
...
@@ -1714,6 +1719,7 @@ static FooCanvasGroup *createColumnFull(ZMapWindowContainerFeatures parent_group
}
}
/* Get the list of styles for this column and check that _all_ the styles are displayable. */
if
(
!
(
style_list
=
zmapWindowFeatureSetStyles
(
window
,
window
->
display_styles
,
feature_set_unique_id
)))
{
proceed
=
FALSE
;
...
...
@@ -1731,16 +1737,17 @@ static FooCanvasGroup *createColumnFull(ZMapWindowContainerFeatures parent_group
ZMapFeatureTypeStyle
style
;
style
=
ZMAP_FEATURE_STYLE
(
list
->
data
);
if
(
!
zMapStyleIsDisplayable
(
style
))
proceed
=
FALSE
;
proceed
=
FALSE
;
/* not displayable, so bomb out the rest of the code. */
}
while
((
list
=
g_list_next
(
list
)));
while
(
proceed
&&
(
list
=
g_list_next
(
list
)));
}
}
/* Can we still proceed? */
if
(
proceed
)
{
ZMapWindowContainerGroup
container
;
/* Only now can we create a group. */
container
=
zmapWindowContainerGroupCreate
(
parent_group
,
ZMAPCONTAINER_LEVEL_FEATURESET
,
window
->
config
.
feature_spacing
,
colour
,
&
(
window
->
canvas_border
));
...
...
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