gui.h 895 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. #ifndef GUI_H
  13. #define GUI_H
  14. #include <gtk/gtk.h>
  15. extern GtkWidget *root;
  16. extern int show_all;
  17. extern int show_stuff;
  18. extern int show_meas;
  19. extern int show_bright;
  20. extern int no_save;
  21. /* update the menu bar after configuration changes */
  22. void update_menu_bar(void);
  23. /* update everything after a model change */
  24. void change_world(void);
  25. /* like change_world, but select the object again */
  26. void change_world_reselect(void);
  27. int gui_init(int *argc, char ***argv);
  28. int gui_main(void);
  29. #endif /* !GUI_H */