2024-06-30 11:53:03 +02:00
|
|
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
|
|
* *
|
2024-07-04 08:04:58 +02:00
|
|
|
* Gem-graph client *
|
2024-06-30 11:53:03 +02:00
|
|
|
* *
|
|
|
|
* Callbacks header *
|
|
|
|
* *
|
2024-07-01 00:42:25 +02:00
|
|
|
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
|
|
|
|
* Copyright © 2021 Adrien Bourmault <neox@a-lec.org> *
|
|
|
|
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
|
2024-06-30 11:53:03 +02:00
|
|
|
* *
|
|
|
|
* This file is part of Gem-graph. *
|
|
|
|
* *
|
2024-07-01 00:42:25 +02:00
|
|
|
* This program is free software: you can redistribute it and/or modify it *
|
|
|
|
* under the terms of the GNU Affero General Public License *
|
|
|
|
* as published by the Free Software Foundation, *
|
|
|
|
* either version 3 of the License, *
|
|
|
|
* or (at your option) any later version. *
|
2024-06-30 11:53:03 +02:00
|
|
|
* *
|
2024-07-01 00:42:25 +02:00
|
|
|
* This program is distributed in the hope that it will be useful, *
|
2024-07-01 07:26:16 +02:00
|
|
|
* but WITHOUT ANY WARRANTY; *
|
2024-07-01 00:42:25 +02:00
|
|
|
* without even the implied warranty of MERCHANTABILITY *
|
2024-07-01 07:26:16 +02:00
|
|
|
* or FITNESS FOR A PARTICULAR PURPOSE. *
|
2024-07-01 00:42:25 +02:00
|
|
|
* See the GNU Affero General Public License for more details. *
|
2024-06-30 11:53:03 +02:00
|
|
|
* *
|
2024-07-01 00:42:25 +02:00
|
|
|
* You should have received a copy of the GNU Affero General Public License *
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
|
2024-06-30 11:53:03 +02:00
|
|
|
* *
|
|
|
|
* * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
|
|
|
|
|
|
|
2024-07-18 23:51:04 +02:00
|
|
|
#pragma once
|
2024-04-22 18:40:30 +02:00
|
|
|
#include <gtk-4.0/gtk/gtk.h>
|
|
|
|
|
2024-06-30 11:53:03 +02:00
|
|
|
// void on_auto_notification (const char *message);
|
2024-04-22 18:40:30 +02:00
|
|
|
|
2024-07-08 07:52:27 +02:00
|
|
|
void on_windows_activation (GtkApplication *app, gpointer user_data);
|
2024-04-22 18:40:30 +02:00
|
|
|
|
|
|
|
void on_toggle_EXEC_EDIT (GtkWidget *btt_XOR_EXEC_EDIT, gpointer user_data);
|
2024-07-01 07:26:16 +02:00
|
|
|
void on_toggle_STATE_RULES_DATA (GtkWidget *btt, gpointer user_data);
|
2024-04-22 18:40:30 +02:00
|
|
|
void on_toggle_MODEL_RUN_STOP (GtkWidget *btt_MODEL_RUN_STOP, gpointer data);
|
|
|
|
|
|
|
|
void on_open_STATE (GtkWidget *btt_open_STATE, gpointer data);
|
|
|
|
void on_open_RULES (GtkWidget *btt_open_RULES, gpointer data);
|
|
|
|
void on_open_DATA (GtkWidget *btt_open_DATA, gpointer data);
|
|
|
|
|
|
|
|
void on_SAVE_CURRENT_MODEL_BEFORE_EDITING (GtkWidget *btt_SAVE_CURRENT_MODEL, gpointer data);
|
|
|
|
void on_DISCARD_CURRENT_MODEL_AND_START_EDITING (GtkWidget *btt_SAVE_CURRENT_MODEL, gpointer data);
|
|
|
|
void on_WRITE_CURRENT_MODEL (GtkWidget *btt_WRITE_CURRENT_MODEL, gpointer data);
|
2024-07-01 00:42:25 +02:00
|
|
|
|
2024-07-13 07:48:46 +02:00
|
|
|
|
|
|
|
void on_setup_user_menu_factory (GtkSignalListItemFactory *factory,
|
|
|
|
GObject* object, gpointer user_data);
|
|
|
|
void on_bind_user_menu_factory (GtkSignalListItemFactory *factory,
|
|
|
|
GObject* object, gpointer user_data);
|
|
|
|
|
|
|
|
|
2024-07-01 00:42:25 +02:00
|
|
|
void on_setup_user_tree_factory (GtkSignalListItemFactory *factory,
|
|
|
|
GObject* object, gpointer user_data);
|
|
|
|
void on_bind_user_tree_factory (GtkSignalListItemFactory *factory,
|
|
|
|
GObject* object, gpointer user_data);
|
|
|
|
|
2024-07-13 07:48:46 +02:00
|
|
|
|
2024-07-01 00:42:25 +02:00
|
|
|
gboolean on_glarea_render (GtkGLArea *area, GdkGLContext *context);
|
|
|
|
void on_glarea_realize (GtkWidget *widget);
|
|
|
|
void on_glarea_unrealize (GtkWidget *widget);
|
|
|
|
|
|
|
|
void on_axis_value_change (GtkAdjustment *adjustment, gpointer data);
|
2024-07-20 15:24:32 +02:00
|
|
|
|
2024-07-19 23:02:27 +02:00
|
|
|
void on_OBJECTS_box_DO_RESET (GtkWidget *btt_reset, GtkScrollbar *reset_scrollbar);
|
2024-07-06 08:27:05 +02:00
|
|
|
void on_SITUATIONS_box_DO_RESET (GtkWidget *btt_reset, gpointer data);
|
2024-07-03 22:30:08 +02:00
|
|
|
|
2024-07-04 08:04:58 +02:00
|
|
|
void on_clicked_HOME (GtkWidget *btt_reset, gpointer data);
|
2024-07-14 06:57:32 +02:00
|
|
|
//void on_clicked_MENU_list_box (GtkWidget *btt_reset, gpointer data);
|
2024-07-14 15:08:45 +02:00
|
|
|
//void on_clicked_MENU_pop (GtkWidget *btt_reset, gpointer data);
|
|
|
|
void on_clicked_search (GtkWidget *btt_menu, gpointer list_box);
|
|
|
|
void on_clicked_menu_experiment (GtkWidget *btt_menu, gpointer list_box);
|
2024-07-04 08:04:58 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|