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
43f06e60
Commit
43f06e60
authored
15 years ago
by
rds
Browse files
Options
Downloads
Patches
Plain Diff
window mark header file
parent
034bf297
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/zmapWindowMark_P.h
+87
-0
87 additions, 0 deletions
src/zmapWindow/zmapWindowMark_P.h
with
87 additions
and
0 deletions
src/zmapWindow/zmapWindowMark_P.h
0 → 100644
+
87
−
0
View file @
43f06e60
/* File: zmapWindowMark_P.h
* Author: Roy Storey (roy@sanger.ac.uk)
* Copyright (c) 2010: Genome Research Ltd.
*-------------------------------------------------------------------
* 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
* originally written by:
*
* Ed Griffiths (Sanger Institute, UK) edgrif@sanger.ac.uk,
* Roy Storey (Sanger Institute, UK) rds@sanger.ac.uk
*
* Description:
*
* Exported functions: See XXXXXXXXXXXXX.h
* HISTORY:
* Last edited: Jan 21 21:59 2010 (roy)
* Created: Thu Jan 21 21:57:30 2010 (roy)
* CVS info: $Id: zmapWindowMark_P.h,v 1.1 2010-01-22 07:58:41 rds Exp $
*-------------------------------------------------------------------
*/
#ifndef ZMAP_WINDOW_MARK_P_H
#define ZMAP_WINDOW_MARK_P_H
#include
<ZMap/zmapWindow.h>
#include
<zmapWindowContainerGroup.h>
/* ZMapWindowMark */
typedef
struct
_ZMapWindowMarkStruct
*
ZMapWindowMark
;
/* How to Create a Mark */
ZMapWindowMark
zmapWindowMarkCreate
(
ZMapWindow
window
)
;
/* Is the mark set */
gboolean
zmapWindowMarkIsSet
(
ZMapWindowMark
mark
)
;
/* Reset it */
void
zmapWindowMarkReset
(
ZMapWindowMark
mark
)
;
/* Get/Set Colour */
void
zmapWindowMarkSetColour
(
ZMapWindowMark
mark
,
char
*
colour
)
;
GdkColor
*
zmapWindowMarkGetColour
(
ZMapWindowMark
mark
)
;
/* Get/Set Stipple */
void
zmapWindowMarkSetStipple
(
ZMapWindowMark
mark
,
GdkBitmap
*
stipple
);
GdkBitmap
*
zmapWindowMarkGetStipple
(
ZMapWindowMark
mark
);
/* Get/Set the item to use as src for mark coords */
void
zmapWindowMarkSetItem
(
ZMapWindowMark
mark
,
FooCanvasItem
*
item
)
;
FooCanvasItem
*
zmapWindowMarkGetItem
(
ZMapWindowMark
mark
)
;
/* Get/Set the mark coords (_world_) */
gboolean
zmapWindowMarkSetWorldRange
(
ZMapWindowMark
mark
,
double
world_x1
,
double
world_y1
,
double
world_x2
,
double
world_y2
)
;
gboolean
zmapWindowMarkGetWorldRange
(
ZMapWindowMark
mark
,
double
*
world_x1
,
double
*
world_y1
,
double
*
world_x2
,
double
*
world_y2
)
;
/* Get the sequence coords. These are in the coord space of the block that is marked. */
gboolean
zmapWindowMarkGetSequenceRange
(
ZMapWindowMark
mark
,
int
*
start
,
int
*
end
)
;
ZMapWindowContainerGroup
zmapWindowMarkGetCurrentBlockContainer
(
ZMapWindowMark
mark
);
/* Once the block is marked it needs to call this function. */
gboolean
zmapWindowMarkSetBlockContainer
(
ZMapWindowMark
mark
,
ZMapWindowContainerGroup
container
,
double
sequence_start
,
double
sequence_end
,
double
x1
,
double
y1
,
double
x2
,
double
y2
);
/* What to do when you've finished with one. */
void
zmapWindowMarkDestroy
(
ZMapWindowMark
mark
)
;
#endif
/* ZMAP_WINDOW_MARK_P_H */
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