1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2024-07-03 01:05:06 +03:00
fped/gui_canvas.h

41 lines
814 B
C
Raw Normal View History

/*
* 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 */