src/*.c: moved headers to include/
This commit is contained in:
parent
0a91e47ea4
commit
c04c9b7d2b
|
@ -1,7 +1,7 @@
|
||||||
#include <gtk-4.0/gtk/gtk.h>
|
#include <gtk-4.0/gtk/gtk.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include "../include/callback.h"
|
#include "../include/callback.h"
|
||||||
#include "automaton.h"
|
#include "../include/automaton.h"
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <gtk-4.0/gtk/gtk.h>
|
#include <gtk-4.0/gtk/gtk.h>
|
||||||
|
|
||||||
#include "callback.h"
|
#include "../include/callback.h"
|
||||||
#include "contain.h"
|
#include "../include/contain.h"
|
||||||
#include "tree.h"
|
#include "../include/tree.h"
|
||||||
#include "contain.h"
|
#include "../include/contain.h"
|
||||||
#include "dialog.h"
|
#include "../include/dialog.h"
|
||||||
#include "texts.h"
|
#include "../include/texts.h"
|
||||||
#include "automaton.h"
|
#include "../include/automaton.h"
|
||||||
#include "parsing.h"
|
#include "../include/parsing.h"
|
||||||
#include "graph_area.h"
|
#include "../include/graph_area.h"
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
/* W I N D O W S A C T I V A T I O N */
|
/* 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 <stdio.h>
|
||||||
#include <gtk-4.0/gtk/gtk.h>
|
#include <gtk-4.0/gtk/gtk.h>
|
||||||
|
|
||||||
#include "graph_area.h"
|
#include "../include/graph_area.h"
|
||||||
#include "callback.h"
|
#include "../include/callback.h"
|
||||||
#include "automaton.h"
|
#include "../include/automaton.h"
|
||||||
#include "display.h"
|
#include "../include/display.h"
|
||||||
#include "tree.h"
|
#include "../include/tree.h"
|
||||||
#include "texts.h"
|
#include "../include/texts.h"
|
||||||
|
|
||||||
// https://blog.gtk.org/2020/09/08/on-list-models/ < TODO
|
// https://blog.gtk.org/2020/09/08/on-list-models/ < TODO
|
||||||
// https://docs.gtk.org/gtk4/visual_index.html < widgets gallery
|
// 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){
|
void dialog_window_design (GtkWindow *main_window, GtkWindow *dialog_window){
|
||||||
char *title = " Save the current model before modifying it? ";
|
char *title = " Save the current model before modifying it? ";
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <gtk-4.0/gtk/gtk.h>
|
#include <gtk-4.0/gtk/gtk.h>
|
||||||
|
|
||||||
#include "contain.h"
|
#include "../include/contain.h"
|
||||||
#include "tree.h"
|
#include "../include/tree.h"
|
||||||
#include "texts.h"
|
#include "../include/texts.h"
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -33,9 +33,9 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <cglm/cglm.h>
|
#include <cglm/cglm.h>
|
||||||
#include "base.h"
|
#include "../include/base.h"
|
||||||
//#include "ui.h"
|
//#include "../include/ui.h"
|
||||||
#include "graph_area.h"
|
#include "../include/graph_area.h"
|
||||||
|
|
||||||
void graphics_draw_vertex (const int stack_id,
|
void graphics_draw_vertex (const int stack_id,
|
||||||
GLfloat x,
|
GLfloat x,
|
||||||
|
|
|
@ -25,9 +25,9 @@
|
||||||
#include <gtk-4.0/gtk/gtk.h>
|
#include <gtk-4.0/gtk/gtk.h>
|
||||||
#include <glib-2.0/glib.h>
|
#include <glib-2.0/glib.h>
|
||||||
|
|
||||||
#include "contain.h"
|
#include "../include/contain.h"
|
||||||
#include "graph_area.h"
|
#include "../include/graph_area.h"
|
||||||
#include "callback.h"
|
#include "../include/callback.h"
|
||||||
|
|
||||||
struct stack_index_t {
|
struct stack_index_t {
|
||||||
long stack_id;
|
long stack_id;
|
||||||
|
|
|
@ -26,9 +26,9 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
#include "contain.h"
|
#include "../include/contain.h"
|
||||||
#include "graph_area.h"
|
#include "../include/graph_area.h"
|
||||||
#include "parsing.h"
|
#include "../include/parsing.h"
|
||||||
|
|
||||||
#define TEST 0
|
#define TEST 0
|
||||||
|
|
||||||
|
|
|
@ -24,9 +24,9 @@
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include "base.h"
|
#include "../include/base.h"
|
||||||
//#include "ui.h"
|
//#include "../include/ui.h"
|
||||||
#include "graphics.h"
|
#include "../include/graphics.h"
|
||||||
|
|
||||||
int draw_space_ridges_vertex (const int stack_id,
|
int draw_space_ridges_vertex (const int stack_id,
|
||||||
long offset_vertex,
|
long offset_vertex,
|
||||||
|
|
|
@ -26,9 +26,9 @@
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include "base.h"
|
#include "../include/base.h"
|
||||||
#include "contain.h" // instead of "ui.h"
|
#include "../include/contain.h" // instead of "ui.h"
|
||||||
#include "graph_area.h"
|
#include "../include/graph_area.h"
|
||||||
|
|
||||||
/* Initializes the buffer of a gl_area
|
/* Initializes the buffer of a gl_area
|
||||||
* Calls according to the user preferences
|
* Calls according to the user preferences
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
/* */
|
/* */
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
#include "callback.h"
|
#include "../include/callback.h"
|
||||||
|
|
||||||
int main (int argc, char **argv)
|
int main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include <libxml/xmlreader.h> // http://xmlsoft.org/examples/#parse1.c
|
#include <libxml/xmlreader.h> // http://xmlsoft.org/examples/#parse1.c
|
||||||
// https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/general.html
|
// https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/general.html
|
||||||
|
|
||||||
#include "base.h"
|
#include "../include/base.h"
|
||||||
|
|
||||||
#define READ_SITE 1 << 0
|
#define READ_SITE 1 << 0
|
||||||
#define READ_WEIGHT 1 << 1
|
#define READ_WEIGHT 1 << 1
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
#include "contain.h"
|
#include "../include/contain.h"
|
||||||
#include "texts.h"
|
#include "../include/texts.h"
|
||||||
#include "callback.h"
|
#include "../include/callback.h"
|
||||||
|
|
||||||
// https://docs.gtk.org/gtk4/visual_index.html < widgets gallery
|
// https://docs.gtk.org/gtk4/visual_index.html < widgets gallery
|
||||||
// https://docs.gtk.org/gtk4/section-text-widget.html
|
// https://docs.gtk.org/gtk4/section-text-widget.html
|
||||||
|
|
Loading…
Reference in New Issue