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
9a27b4d3
Commit
9a27b4d3
authored
20 years ago
by
rnc
Browse files
Options
Downloads
Patches
Plain Diff
renamed from zmapcontrol.h
parent
f5372147
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/zmapDraw.h
+78
-0
78 additions, 0 deletions
src/zmapWindow/zmapDraw.h
with
78 additions
and
0 deletions
src/zmapWindow/zmapDraw.h
0 → 100755
+
78
−
0
View file @
9a27b4d3
/* Last edited: Jul 2 14:06 2004 (rnc) */
/* file: zmapcontrol.h
* Author: Simon Kelley (srk@sanger.ac.uk)
* Copyright (c) Sanger Institute, 2003
*-------------------------------------------------------------------
* Zmap is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* or see the on-line version at http://www.gnu.org/copyleft/gpl.txt
*-------------------------------------------------------------------
* This file is part of the ZMap genome database package
* and was written by
* Rob Clack (Sanger Institute, UK) rnc@sanger.ac.uk,
* Ed Griffiths (Sanger Institute, UK) edgrif@sanger.ac.uk and
* Simon Kelley (Sanger Institute, UK) srk@sanger.ac.uk
*/
#ifndef ZMAPCONTROL_H
#define ZMAPCONTROL_H
#include
<gtk/gtk.h>
#include
<libfoocanvas/libfoocanvas.h>
#include
<ZMap/zmapControl.h>
#include
<ZMap/zmapWindow.h>
#include
<ZMap/zmapFeature.h>
/* function prototypes ************************************/
void
zmRegBox
(
ZMapPane
pane
,
int
box
,
ZMapColumn
*
col
,
void
*
seg
);
/* Column drawing code ************************************/
void
zMapFeatureColumn
(
ZMapPane
pane
,
ZMapColumn
*
col
,
float
*
offset
,
int
frame
);
void
buildCols
(
ZMapPane
pane
);
void
makezMapDefaultColumns
(
ZMapPane
pane
);
/*float zmDrawScale (FooCanvas *canvas, float offset, int start, int end);*/
float
zmDrawScale
(
float
offset
,
int
start
,
int
end
);
void
nbcInit
(
ZMapPane
pane
,
ZMapColumn
*
col
);
void
nbcSelect
(
ZMapPane
pane
,
ZMapColumn
*
col
,
void
*
seg
,
int
box
,
double
x
,
double
y
,
gboolean
isSelect
);
void
zMapGeneDraw
(
ZMapPane
pane
,
ZMapColumn
*
col
,
float
*
offset
,
int
frame
);
void
geneSelect
(
ZMapPane
pane
,
ZMapColumn
*
col
,
void
*
arg
,
int
box
,
double
x
,
double
y
,
gboolean
isSelect
);
void
drawLine
(
FooCanvasGroup
*
group
,
double
x1
,
double
y1
,
double
x2
,
double
y2
,
char
*
colour
,
double
thickness
);
void
drawBox
(
FooCanvasItem
*
group
,
double
x1
,
double
y1
,
double
x2
,
double
y2
,
char
*
line_colour
,
char
*
fill_colour
);
void
displayText
(
FooCanvasGroup
*
group
,
char
*
text
,
double
x
,
double
y
);
/* other routines *****************************************/
gboolean
zmIsOnScreen
(
ZMapPane
pane
,
Coord
coord1
,
Coord
coord2
);
VisibleCoord
zmVisibleCoord
(
ZMapWindow
window
,
Coord
coord
);
ScreenCoord
zmScreenCoord
(
ZMapPane
pane
,
Coord
coord
);
Coord
zmCoordFromScreen
(
ZMapPane
pane
,
ScreenCoord
coord
);
gboolean
Quit
(
GtkWidget
*
widget
,
gpointer
data
);
#endif
/************************** end of file **********************************/
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