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
7eca0347
Commit
7eca0347
authored
19 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
add trivial function to get min zoom.
parent
4a20dd49
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/include/ZMap/zmapWindow.h
+6
-3
6 additions, 3 deletions
src/include/ZMap/zmapWindow.h
src/zmapWindow/zmapWindowZoomControl.c
+12
-2
12 additions, 2 deletions
src/zmapWindow/zmapWindowZoomControl.c
with
18 additions
and
5 deletions
src/include/ZMap/zmapWindow.h
+
6
−
3
View file @
7eca0347
...
...
@@ -26,9 +26,9 @@
* window displaying genome data.
*
* HISTORY:
* Last edited: Mar 2
2
1
5:18
2006 (edgrif)
* Last edited: Mar 2
3
1
0:49
2006 (edgrif)
* Created: Thu Jul 24 15:21:56 2003 (edgrif)
* CVS info: $Id: zmapWindow.h,v 1.5
4
2006-03-2
2
1
7:19:25
edgrif Exp $
* CVS info: $Id: zmapWindow.h,v 1.5
5
2006-03-2
3
1
1:05:30
edgrif Exp $
*-------------------------------------------------------------------
*/
#ifndef ZMAP_WINDOW_H
...
...
@@ -169,17 +169,20 @@ ZMapWindow zMapWindowCopy(GtkWidget *parent_widget, char *sequence,
ZMapFeatureContext
features
,
ZMapWindowLockType
window_locking
)
;
void
zMapWindowDisplayData
(
ZMapWindow
window
,
ZMapFeatureContext
current_features
,
ZMapFeatureContext
new_features
)
;
void
zMapWindowZoom
(
ZMapWindow
window
,
double
zoom_factor
)
;
void
zMapWindowMove
(
ZMapWindow
window
,
double
start
,
double
end
)
;
void
zMapWindowReset
(
ZMapWindow
window
)
;
void
zMapWindowRedraw
(
ZMapWindow
window
)
;
void
zMapWindowFeatureRedraw
(
ZMapWindow
window
,
ZMapFeatureContext
feature_context
,
gboolean
reversed
)
;
GtkWidget
*
zMapWindowGetWidget
(
ZMapWindow
window
);
void
zMapWindowZoom
(
ZMapWindow
window
,
double
zoom_factor
)
;
ZMapWindowZoomStatus
zMapWindowGetZoomStatus
(
ZMapWindow
window
)
;
double
zMapWindowGetZoomFactor
(
ZMapWindow
window
);
double
zMapWindowGetZoomMin
(
ZMapWindow
window
)
;
double
zMapWindowGetZoomMax
(
ZMapWindow
window
)
;
double
zMapWindowGetZoomMagnification
(
ZMapWindow
window
);
gboolean
zMapWindowIsLocked
(
ZMapWindow
window
)
;
/* For when a window in the same view has a child removed */
...
...
This diff is collapsed.
Click to expand it.
src/zmapWindow/zmapWindowZoomControl.c
+
12
−
2
View file @
7eca0347
...
...
@@ -27,9 +27,9 @@
*
* Exported functions: See XXXXXXXXXXXXX.h
* HISTORY:
* Last edited: Mar 2
0 18:15
2006 (
rds
)
* Last edited: Mar 2
3 09:52
2006 (
edgrif
)
* Created: Fri Jul 8 11:37:39 2005 (rds)
* CVS info: $Id: zmapWindowZoomControl.c,v 1.
8
2006-03-2
0
1
8:16:33 rds
Exp $
* CVS info: $Id: zmapWindowZoomControl.c,v 1.
9
2006-03-2
3
1
1:05:30 edgrif
Exp $
*-------------------------------------------------------------------
*/
...
...
@@ -77,6 +77,16 @@ double zMapWindowGetZoomFactor(ZMapWindow window)
}
double
zMapWindowGetZoomMin
(
ZMapWindow
window
)
{
ZMapWindowZoomControl
control
=
NULL
;
control
=
controlFromWindow
(
window
);
return
control
->
minZF
;
}
double
zMapWindowGetZoomMax
(
ZMapWindow
window
)
{
ZMapWindowZoomControl
control
=
NULL
;
...
...
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