29 lines
1013 B
C
29 lines
1013 B
C
#include <gtk-4.0/gtk/gtk.h>
|
|
#include <assert.h>
|
|
#include "callback.h"
|
|
|
|
|
|
/******************************************************************************/
|
|
/* EXEC / EDIT */
|
|
/******************************************************************************/
|
|
|
|
enum { EXEC_MODE, EDIT_MODE};
|
|
static int run_edit_mode_val = EXEC_MODE;
|
|
|
|
int get_exec_edit_mode () {return run_edit_mode_val;}
|
|
void set_exec_edit_mode (int prescribed_mode) {run_edit_mode_val = prescribed_mode;}
|
|
|
|
|
|
|
|
/******************************************************************************/
|
|
/* RUN / STOP */
|
|
/******************************************************************************/
|
|
|
|
enum { STOP, RUN };
|
|
static int run_stop_val = STOP;
|
|
|
|
int get_run_xor_stop_exec () {return run_stop_val;}
|
|
void set_run_xor_stop_exec (int prescribed_state) {run_stop_val = prescribed_state;}
|
|
|
|
|