1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2024-11-05 06:18:26 +02:00
fped/gui_canvas.h
werner 39690c9cb2 - to simplify communication between the various modules, renamed "ctx" to
draw_ctx, moved it to gui_util.c, and made it a global variable
- moved drawing logic for hovering and dragging into dedicated state machine
  in gui_over.c
- hovering now uses a pixmap to restore the background instead of redrawing
- moved hover drawing functions from gui_inst.c to gui_tools.c
- made hover circle thicker



git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5405 99fdad57-331a-0410-800a-d7fa5415bdb3
2009-08-08 14:11:26 +00:00

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