1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2024-11-05 04:28:28 +02:00
fped/gui_canvas.h
werner 1a18292883 - added icons for new-style measurements (on-going)
- increased default window size for make room for new icons
- switch the canvas to dark blue when instantiation fails
- modularized point lookup logic of instantiate_meas
- added highlight mode (on-going)



git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5404 99fdad57-331a-0410-800a-d7fa5415bdb3
2009-08-07 21:47:51 +00:00

34 lines
695 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)(struct draw_ctx *ctx);
void redraw(void);
GtkWidget *make_canvas(void);
void init_canvas(void);
#endif /* !GUI_CANVAS_H */