mirror of
git://projects.qi-hardware.com/fped.git
synced 2024-11-04 23:37:33 +02:00
be86e276b8
- we can now scroll-wheel through table rows - added menu branch "View" with zoom and var/code display controls - commented out is_min_of_next until its fate is decided, so that we don't get a warning git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5462 99fdad57-331a-0410-800a-d7fa5415bdb3
41 lines
814 B
C
41 lines
814 B
C
/*
|
|
* gui_canvas.h - GUI, canvas
|
|
*
|
|
* Written 2009 by Werner Almesberger
|
|
* Copyright 2009 by Werner Almesberger
|
|
*
|
|
* This program 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.
|
|
*/
|
|
|
|
|
|
#ifndef GUI_CANVAS_H
|
|
#define GUI_CANVAS_H
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
|
|
/*
|
|
* "highlight" is invoked at the end of each redraw, for optional highlighting
|
|
* of objects.
|
|
*/
|
|
|
|
extern void (*highlight)(void);
|
|
|
|
|
|
void refresh_pos(void);
|
|
|
|
void redraw(void);
|
|
|
|
void zoom_in_center(void);
|
|
void zoom_out_center(void);
|
|
void zoom_to_frame(void);
|
|
void zoom_to_extents(void);
|
|
|
|
GtkWidget *make_canvas(void);
|
|
void init_canvas(void);
|
|
|
|
#endif /* !GUI_CANVAS_H */
|