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
bcc046f0
Commit
bcc046f0
authored
15 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
add assembly path mode.
parent
844c1646
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/zmapWindowItemFactory.c
+15
-2
15 additions, 2 deletions
src/zmapWindow/zmapWindowItemFactory.c
with
15 additions
and
2 deletions
src/zmapWindow/zmapWindowItemFactory.c
+
15
−
2
View file @
bcc046f0
...
...
@@ -28,9 +28,9 @@
*
* Exported functions: See zmapWindowItemFactory.h
* HISTORY:
* Last edited: May
8 15:35
2009 (
rds
)
* Last edited: May
15 16:07
2009 (
edgrif
)
* Created: Mon Sep 25 09:09:52 2006 (rds)
* CVS info: $Id: zmapWindowItemFactory.c,v 1.
59
2009-05-
08 14:42:57 rds
Exp $
* CVS info: $Id: zmapWindowItemFactory.c,v 1.
60
2009-05-
15 15:30:03 edgrif
Exp $
*-------------------------------------------------------------------
*/
...
...
@@ -190,6 +190,7 @@ const static ZMapWindowFToIFactoryMethodsStruct factory_methods_G[] = {
{
ZMAPSTYLE_MODE_TRANSCRIPT
,
drawTranscriptFeature
},
{
ZMAPSTYLE_MODE_RAW_SEQUENCE
,
drawSeqFeature
},
{
ZMAPSTYLE_MODE_PEP_SEQUENCE
,
drawPepFeature
},
{
ZMAPSTYLE_MODE_ASSEMBLY_PATH
,
drawSimpleFeature
},
{
ZMAPSTYLE_MODE_TEXT
,
drawSimpleAsTextFeature
},
{
ZMAPSTYLE_MODE_GRAPH
,
drawSimpleGraphFeature
},
{
ZMAPSTYLE_MODE_GLYPH
,
drawGlyphFeature
},
...
...
@@ -203,6 +204,7 @@ const static ZMapWindowFToIFactoryMethodsStruct factory_text_methods_G[] = {
{
ZMAPSTYLE_MODE_TRANSCRIPT
,
drawTranscriptFeature
},
{
ZMAPSTYLE_MODE_RAW_SEQUENCE
,
drawSeqFeature
},
{
ZMAPSTYLE_MODE_PEP_SEQUENCE
,
drawPepFeature
},
{
ZMAPSTYLE_MODE_ASSEMBLY_PATH
,
drawSimpleFeature
},
{
ZMAPSTYLE_MODE_TEXT
,
drawSimpleAsTextFeature
},
{
ZMAPSTYLE_MODE_GRAPH
,
drawSimpleGraphFeature
},
{
ZMAPSTYLE_MODE_GLYPH
,
drawGlyphFeature
},
...
...
@@ -216,6 +218,7 @@ const static ZMapWindowFToIFactoryMethodsStruct factory_graph_methods_G[] = {
{
ZMAPSTYLE_MODE_TRANSCRIPT
,
drawSimpleGraphFeature
},
{
ZMAPSTYLE_MODE_RAW_SEQUENCE
,
drawSimpleGraphFeature
},
{
ZMAPSTYLE_MODE_PEP_SEQUENCE
,
drawSimpleGraphFeature
},
{
ZMAPSTYLE_MODE_ASSEMBLY_PATH
,
drawSimpleFeature
},
{
ZMAPSTYLE_MODE_TEXT
,
drawSimpleAsTextFeature
},
{
ZMAPSTYLE_MODE_GRAPH
,
drawSimpleGraphFeature
},
{
ZMAPSTYLE_MODE_GLYPH
,
drawGlyphFeature
},
...
...
@@ -229,6 +232,7 @@ const static ZMapWindowFToIFactoryMethodsStruct factory_basic_methods_G[] = {
{
ZMAPSTYLE_MODE_TRANSCRIPT
,
drawSimpleFeature
},
{
ZMAPSTYLE_MODE_RAW_SEQUENCE
,
drawSimpleFeature
},
{
ZMAPSTYLE_MODE_PEP_SEQUENCE
,
drawSimpleFeature
},
{
ZMAPSTYLE_MODE_ASSEMBLY_PATH
,
drawSimpleFeature
},
{
ZMAPSTYLE_MODE_TEXT
,
drawSimpleAsTextFeature
},
{
ZMAPSTYLE_MODE_GRAPH
,
drawSimpleGraphFeature
},
{
ZMAPSTYLE_MODE_GLYPH
,
drawGlyphFeature
},
...
...
@@ -536,6 +540,15 @@ FooCanvasItem *zmapWindowFToIFactoryRunSingle(ZMapWindowFToIFactory factory,
break
;
}
case
ZMAPSTYLE_MODE_ASSEMBLY_PATH
:
{
method_table
=
factory
->
methods
;
method
=
&
(
method_table
[
style_mode
]);
break
;
}
default:
zMapAssertNotReached
()
;
break
;
...
...
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