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
2af51955
Commit
2af51955
authored
15 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
fix bug whereby feature highlighting did not work.
parent
10b34388
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/zmapWindow/items/zmapWindowSequenceFeature.c
+17
-10
17 additions, 10 deletions
src/zmapWindow/items/zmapWindowSequenceFeature.c
with
17 additions
and
10 deletions
src/zmapWindow/items/zmapWindowSequenceFeature.c
+
17
−
10
View file @
2af51955
...
...
@@ -27,9 +27,9 @@
*
* Exported functions: See XXXXXXXXXXXXX.h
* HISTORY:
* Last edited: Sep 2
3 17
:01 2009 (edgrif)
* Last edited: Sep 2
8 09
:01 2009 (edgrif)
* Created: Fri Jun 12 10:01:17 2009 (rds)
* CVS info: $Id: zmapWindowSequenceFeature.c,v 1.
5
2009-09-
24 13:35
:5
0
edgrif Exp $
* CVS info: $Id: zmapWindowSequenceFeature.c,v 1.
6
2009-09-
30 16:42
:5
8
edgrif Exp $
*-------------------------------------------------------------------
*/
...
...
@@ -196,22 +196,26 @@ gboolean zMapWindowSequenceFeatureSelectByFeature(ZMapWindowSequenceFeature sequ
{
case
ZMAPSTYLE_MODE_TRANSCRIPT
:
{
GList
*
exon_list
=
NULL
,
*
exon_list_member
;
ZMapFullExon
current_exon
,
next_exon
;
GList
*
exon_list
=
NULL
,
*
exon_list_member
;
ZMapFullExon
current_exon
,
next_exon
;
gboolean
deselect
,
event
;
feature_exons_world2canvas_text
(
seed_feature
,
TRUE
,
NULL
,
&
exon_list
);
deselect
=
TRUE
;
/* 1st time deselect any existing
highlight. */
event
=
FALSE
;
exon_list_member
=
g_list_first
(
exon_list
);
do
{
current_exon
=
(
ZMapFullExon
)(
exon_list_member
->
data
)
;
zMapWindowTextItemSelect
(
text_item
,
current_exon
->
exon_span
.
x1
,
current_exon
->
exon_span
.
x2
,
deselect
,
deselect
)
;
zMapWindowTextItemSelect
(
text_item
,
current_exon
->
exon_span
.
x1
,
current_exon
->
exon_span
.
x2
,
FALSE
,
FALSE
);
deselect
=
FALSE
;
}
while
((
exon_list_member
=
g_list_next
(
exon_list_member
)));
...
...
@@ -224,7 +228,7 @@ gboolean zMapWindowSequenceFeatureSelectByFeature(ZMapWindowSequenceFeature sequ
{
zMapWindowTextItemSelect
(
text_item
,
seed_feature
->
x1
,
seed_feature
->
x2
,
FALSE
,
FALS
E
);
TRUE
,
TRU
E
)
;
}
break
;
}
...
...
@@ -1038,12 +1042,15 @@ static void zmap_window_sequence_feature_destroy (GtkObject *gtkobject)
return
;
}
#endif
/* RDS_DONT_INCLUDE */
static
gboolean
zmap_window_sequence_feature_selected_signal
(
ZMapWindowSequenceFeature
sequence_feature
,
int
text_first_char
,
int
text_final_char
)
{
#ifdef RDS_DONT_INCLUDE
g_warning
(
"%s sequence indices %d to %d"
,
__PRETTY_FUNCTION__
,
text_first_char
,
text_final_char
);
#endif
/* RDS_DONT_INCLUDE */
return
FALSE
;
}
...
...
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