GTK4_GG_hack/in_depth.c

40 lines
1.5 KiB
C
Raw Normal View History

#include <gtk-4.0/gtk/gtk.h>
#include <assert.h>
#include "callback.h"
2024-06-04 06:25:47 +02:00
/******************************************************************************/
/* EXEC / EDIT */
/******************************************************************************/
2024-06-04 06:25:47 +02:00
enum { EXEC_MODE, EDIT_MODE};
static int exec_edit_mode = EXEC_MODE;
int get_exec_edit_mode () {return exec_edit_mode;}
void set_exec_edit_mode (int prescribed) {exec_edit_mode = prescribed;}
2024-06-04 06:25:47 +02:00
/******************************************************************************/
/* RUN / STOP */
/******************************************************************************/
enum { STOP, RUN };
static int run_stop = STOP;
int get_run_xor_stop_exec () {return run_stop;}
void set_run_xor_stop_exec (int prescribed) {run_stop = prescribed;}
2024-06-04 06:25:47 +02:00
/******************************************************************************/
/* STATE / RULES / MEASURES / INTERPRETATIONS */
/******************************************************************************/
enum { STATE, RULES, MEASURE, OBSERVE, INTERPRET, HELP, CONFIGURE };
static int switch_observ_interpret = STATE;
int get_observ_interpret () {return switch_observ_interpret;}
void set_observ_interpret (int prescribed) {switch_observ_interpret = prescribed;}
// if (0) printf ("switch_observ_interpret = %d\n", switch_observ_interpret);