2009-08-03 19:12:47 +03:00
|
|
|
/*
|
|
|
|
* gui.h - Editor GUI core
|
|
|
|
*
|
|
|
|
* 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_H
|
|
|
|
#define GUI_H
|
|
|
|
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
|
|
|
|
|
|
|
|
extern GtkWidget *root;
|
2009-08-22 22:00:55 +03:00
|
|
|
extern int show_all;
|
2009-08-09 00:59:33 +03:00
|
|
|
extern int show_stuff;
|
|
|
|
extern int show_meas;
|
2009-08-22 22:00:55 +03:00
|
|
|
extern int show_bright;
|
2009-08-03 19:12:47 +03:00
|
|
|
|
|
|
|
|
|
|
|
/* update everything after a model change */
|
|
|
|
void change_world(void);
|
|
|
|
|
2009-09-13 02:15:15 +03:00
|
|
|
/* like change_world, but select the object again */
|
|
|
|
void change_world_reselect(void);
|
|
|
|
|
2009-08-03 19:12:47 +03:00
|
|
|
int gui_init(int *argc, char ***argv);
|
2009-08-05 13:35:48 +03:00
|
|
|
int gui_main(void);
|
2009-08-03 19:12:47 +03:00
|
|
|
|
|
|
|
#endif /* !GUI_H */
|