mirror of
git://projects.qi-hardware.com/fped.git
synced 2024-11-05 04:28:28 +02:00
1a18292883
- 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
34 lines
695 B
C
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 */
|