Root/
| 1 | /* |
| 2 | * gui.h - Editor GUI core |
| 3 | * |
| 4 | * Written 2009, 2010 by Werner Almesberger |
| 5 | * Copyright 2009, 2010 by Werner Almesberger |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 2 of the License, or |
| 10 | * (at your option) any later version. |
| 11 | */ |
| 12 | |
| 13 | |
| 14 | #ifndef GUI_H |
| 15 | #define GUI_H |
| 16 | |
| 17 | #include <gtk/gtk.h> |
| 18 | |
| 19 | |
| 20 | extern GtkWidget *root; |
| 21 | extern int show_all; |
| 22 | extern int show_stuff; |
| 23 | extern int show_meas; |
| 24 | extern int show_bright; |
| 25 | |
| 26 | extern int no_save; |
| 27 | |
| 28 | |
| 29 | /* update the menu bar after configuration changes */ |
| 30 | void update_menu_bar(void); |
| 31 | |
| 32 | /* update everything after a model change */ |
| 33 | void change_world(void); |
| 34 | |
| 35 | /* like change_world, but select the object again */ |
| 36 | void change_world_reselect(void); |
| 37 | |
| 38 | int gui_init(int *argc, char ***argv); |
| 39 | int gui_main(void); |
| 40 | |
| 41 | #endif /* !GUI_H */ |
| 42 |
Branches:
master
