Root/gui.h

Source at commit 377b7f81193685f23c93546767a059e194419446 created 3 years 4 months ago.
By Werner Almesberger, fped.c: new option -m (for -p and -P) to suppress showing measurements
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
20extern GtkWidget *root;
21extern int show_all;
22extern int show_stuff;
23extern int show_meas;
24extern int show_bright;
25
26extern int no_save;
27
28
29/* update the menu bar after configuration changes */
30void update_menu_bar(void);
31
32/* update everything after a model change */
33void change_world(void);
34
35/* like change_world, but select the object again */
36void change_world_reselect(void);
37
38int gui_init(int *argc, char ***argv);
39int gui_main(void);
40
41#endif /* !GUI_H */
42

Archive Download this file

Branches:
master



interactive