src/*.c: moved headers to include/
This commit is contained in:
parent
175418ab35
commit
f8cbc1a8a2
26
main.c
26
main.c
|
@ -1,26 +0,0 @@
|
|||
/******************************************************************************/
|
||||
/* */
|
||||
/* E coli by David S. Goodsell (2009) */
|
||||
/* --- */
|
||||
/* Let this freeze frame guide us towards the model */
|
||||
/* that alone can account for the phenomenon ! */
|
||||
/* */
|
||||
/******************************************************************************/
|
||||
|
||||
#include "callback.h"
|
||||
|
||||
int main (int argc, char **argv)
|
||||
{
|
||||
GtkApplication *app;
|
||||
int status;
|
||||
|
||||
app = gtk_application_new ("org.jean.GTK4_GG_hack", G_APPLICATION_DEFAULT_FLAGS);
|
||||
g_signal_connect (app, "activate", G_CALLBACK (on_main_window_activation), NULL);
|
||||
g_signal_connect (app, "activate", G_CALLBACK (on_dialog_window_activation), NULL);
|
||||
status = g_application_run (G_APPLICATION (app), argc, argv);
|
||||
g_object_unref (app);
|
||||
|
||||
printf("in contain.get_SPACE_VIEW_box() (line 138) > ui_setup_glarea (0, GTK_WIDGET (middle_box)); < commented 2024/06/27 > TODO\n");
|
||||
|
||||
return status;
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
#include <gtk-4.0/gtk/gtk.h>
|
||||
#include <assert.h>
|
||||
#include "../include/callback.h"
|
||||
#include "automaton.h"
|
||||
#include "../include/automaton.h"
|
||||
|
||||
|
||||
/******************************************************************************/
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
#include <stdio.h>
|
||||
#include <gtk-4.0/gtk/gtk.h>
|
||||
|
||||
#include "callback.h"
|
||||
#include "contain.h"
|
||||
#include "tree.h"
|
||||
#include "contain.h"
|
||||
#include "dialog.h"
|
||||
#include "texts.h"
|
||||
#include "automaton.h"
|
||||
#include "parsing.h"
|
||||
#include "graph_area.h"
|
||||
#include "../include/callback.h"
|
||||
#include "../include/contain.h"
|
||||
#include "../include/tree.h"
|
||||
#include "../include/contain.h"
|
||||
#include "../include/dialog.h"
|
||||
#include "../include/texts.h"
|
||||
#include "../include/automaton.h"
|
||||
#include "../include/parsing.h"
|
||||
#include "../include/graph_area.h"
|
||||
|
||||
/******************************************************************************/
|
||||
/* W I N D O W S A C T I V A T I O N */
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
#include <stdio.h>
|
||||
#include <gtk-4.0/gtk/gtk.h>
|
||||
|
||||
#include "graph_area.h"
|
||||
#include "callback.h"
|
||||
#include "automaton.h"
|
||||
#include "display.h"
|
||||
#include "tree.h"
|
||||
#include "texts.h"
|
||||
#include "../include/graph_area.h"
|
||||
#include "../include/callback.h"
|
||||
#include "../include/automaton.h"
|
||||
#include "../include/display.h"
|
||||
#include "../include/tree.h"
|
||||
#include "../include/texts.h"
|
||||
|
||||
// https://blog.gtk.org/2020/09/08/on-list-models/ < TODO
|
||||
// https://docs.gtk.org/gtk4/visual_index.html < widgets gallery
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "callback.h"
|
||||
#include "../include/callback.h"
|
||||
|
||||
void dialog_window_design (GtkWindow *main_window, GtkWindow *dialog_window){
|
||||
char *title = " Save the current model before modifying it? ";
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include <stdio.h>
|
||||
#include <gtk-4.0/gtk/gtk.h>
|
||||
|
||||
#include "contain.h"
|
||||
#include "tree.h"
|
||||
#include "texts.h"
|
||||
#include "../include/contain.h"
|
||||
#include "../include/tree.h"
|
||||
#include "../include/texts.h"
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
|
|
@ -33,9 +33,9 @@
|
|||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <cglm/cglm.h>
|
||||
#include "base.h"
|
||||
//#include "ui.h"
|
||||
#include "graph_area.h"
|
||||
#include "../include/base.h"
|
||||
//#include "../include/ui.h"
|
||||
#include "../include/graph_area.h"
|
||||
|
||||
void graphics_draw_vertex (const int stack_id,
|
||||
GLfloat x,
|
||||
|
|
|
@ -25,9 +25,9 @@
|
|||
#include <gtk-4.0/gtk/gtk.h>
|
||||
#include <glib-2.0/glib.h>
|
||||
|
||||
#include "contain.h"
|
||||
#include "graph_area.h"
|
||||
#include "callback.h"
|
||||
#include "../include/contain.h"
|
||||
#include "../include/graph_area.h"
|
||||
#include "../include/callback.h"
|
||||
|
||||
struct stack_index_t {
|
||||
long stack_id;
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "contain.h"
|
||||
#include "graph_area.h"
|
||||
#include "parsing.h"
|
||||
#include "../include/contain.h"
|
||||
#include "../include/graph_area.h"
|
||||
#include "../include/parsing.h"
|
||||
|
||||
#define TEST 0
|
||||
|
||||
|
|
|
@ -24,9 +24,9 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include "base.h"
|
||||
//#include "ui.h"
|
||||
#include "graphics.h"
|
||||
#include "../include/base.h"
|
||||
//#include "../include/ui.h"
|
||||
#include "../include/graphics.h"
|
||||
|
||||
int draw_space_ridges_vertex (const int stack_id,
|
||||
long offset_vertex,
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include "base.h"
|
||||
#include "contain.h" // instead of "ui.h"
|
||||
#include "graph_area.h"
|
||||
#include "../include/base.h"
|
||||
#include "../include/contain.h" // instead of "ui.h"
|
||||
#include "../include/graph_area.h"
|
||||
|
||||
/* Initializes the buffer of a gl_area
|
||||
* Calls according to the user preferences
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
/* */
|
||||
/******************************************************************************/
|
||||
|
||||
#include "callback.h"
|
||||
#include "../include/callback.h"
|
||||
|
||||
int main (int argc, char **argv)
|
||||
{
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#include <libxml/xmlreader.h> // http://xmlsoft.org/examples/#parse1.c
|
||||
// https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/general.html
|
||||
|
||||
#include "base.h"
|
||||
#include "../include/base.h"
|
||||
|
||||
#define READ_SITE 1 << 0
|
||||
#define READ_WEIGHT 1 << 1
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
|
||||
#include <assert.h>
|
||||
|
||||
#include "contain.h"
|
||||
#include "texts.h"
|
||||
#include "callback.h"
|
||||
#include "../include/contain.h"
|
||||
#include "../include/texts.h"
|
||||
#include "../include/callback.h"
|
||||
|
||||
// https://docs.gtk.org/gtk4/visual_index.html < widgets gallery
|
||||
// https://docs.gtk.org/gtk4/section-text-widget.html
|
||||
|
|
Loading…
Reference in New Issue