diff --git a/src/zmapWindow/zmapcontrol.h b/src/zmapWindow/zmapcontrol.h deleted file mode 100755 index 842b52ccd55b2691b3369687a19e34acb5aaff9f..0000000000000000000000000000000000000000 --- a/src/zmapWindow/zmapcontrol.h +++ /dev/null @@ -1,94 +0,0 @@ -/* Last edited: Jul 1 10:06 2004 (edgrif) */ -/* 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> - - -#ifdef ED_G_NEVER_INCLUDE_THIS_CODE -#include <../zmapWindow/seqregion.h> - -#include <../zmapControl/zmapControl_P.h> -#endif /* ED_G_NEVER_INCLUDE_THIS_CODE */ - - - - - - -/* function prototypes ************************************/ - -gboolean zMapDisplay(ZMap zmap, - Activate_cb act_cb, - Calc_cb calc_cb, - void *region, - char *seqspec, - char *fromspec, - gboolean isOldGraph); - -void zmRegBox(ZMapPane pane, int box, ZMapColumn *col, void *seg); - -/* Column drawing code ************************************/ - -void createZMapWindow (ZMapWindow window); -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); - -/* 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 **********************************/