diff options
author | Xiangfu Liu <xiangfu@openmobilefree.net> | 2012-10-08 05:38:57 +0200 |
---|---|---|
committer | Xiangfu Liu <xiangfu@openmobilefree.net> | 2012-10-08 05:38:57 +0200 |
commit | 4edcd19776f36123e6bcb7581b6863af719da84b (patch) | |
tree | 7d11bc6c0272a4a9c3499d544f36e00ab6474a28 /gui.h |
Import fped_0.1+201210.orig.tar.gz
[dgit import orig fped_0.1+201210.orig.tar.gz]
Diffstat (limited to 'gui.h')
-rw-r--r-- | gui.h | 38 |
1 files changed, 38 insertions, 0 deletions
@@ -0,0 +1,38 @@ +/* + * gui.h - Editor GUI core + * + * Written 2009, 2010 by Werner Almesberger + * Copyright 2009, 2010 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_H +#define GUI_H + +#include <gtk/gtk.h> + + +extern GtkWidget *root; +extern int show_all; +extern int show_stuff; +extern int show_meas; +extern int show_bright; + +extern int no_save; + + +/* update everything after a model change */ +void change_world(void); + +/* like change_world, but select the object again */ +void change_world_reselect(void); + +int gui_init(int *argc, char ***argv); +int gui_main(void); + +#endif /* !GUI_H */ |