2024-06-02 22:49:16 +02:00
|
|
|
#include <gtk-4.0/gtk/gtk.h>
|
|
|
|
#include <assert.h>
|
2024-06-03 05:46:01 +02:00
|
|
|
#include "callback.h"
|
2024-06-02 22:49:16 +02:00
|
|
|
|
|
|
|
|
2024-06-04 06:25:47 +02:00
|
|
|
/******************************************************************************/
|
|
|
|
/* EXEC / EDIT */
|
|
|
|
/******************************************************************************/
|
2024-06-03 05:46:01 +02:00
|
|
|
|
2024-06-04 06:25:47 +02:00
|
|
|
enum { EXEC_MODE, EDIT_MODE};
|
|
|
|
static int run_edit_mode_val = EXEC_MODE;
|
2024-06-03 05:46:01 +02:00
|
|
|
|
|
|
|
int get_exec_edit_mode () {return run_edit_mode_val;}
|
2024-06-03 23:11:03 +02:00
|
|
|
void set_exec_edit_mode (int prescribed_mode) {run_edit_mode_val = prescribed_mode;}
|
2024-06-03 05:46:01 +02:00
|
|
|
|
2024-06-04 06:25:47 +02:00
|
|
|
|
|
|
|
|
|
|
|
/******************************************************************************/
|
|
|
|
/* RUN / STOP */
|
|
|
|
/******************************************************************************/
|
|
|
|
|
|
|
|
enum { STOP, RUN };
|
|
|
|
static int run_stop_val = STOP;
|
2024-06-03 05:46:01 +02:00
|
|
|
|
|
|
|
int get_run_xor_stop_exec () {return run_stop_val;}
|
|
|
|
void set_run_xor_stop_exec (int prescribed_state) {run_stop_val = prescribed_state;}
|
2024-06-04 06:25:47 +02:00
|
|
|
|
|
|
|
|