summaryrefslogtreecommitdiff
path: root/gui.h
blob: 7f8f876595a1e51da2c5138c4c80d81ba75f4397 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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 */