summaryrefslogtreecommitdiff
path: root/gui.h
diff options
context:
space:
mode:
authorXiangfu Liu <xiangfu@openmobilefree.net>2012-10-08 05:38:57 +0200
committerXiangfu Liu <xiangfu@openmobilefree.net>2012-10-08 05:38:57 +0200
commit4edcd19776f36123e6bcb7581b6863af719da84b (patch)
tree7d11bc6c0272a4a9c3499d544f36e00ab6474a28 /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.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/gui.h b/gui.h
new file mode 100644
index 0000000..7f8f876
--- /dev/null
+++ b/gui.h
@@ -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 */