Commit Graph

85 Commits

Author SHA1 Message Date
Jean Sirmai 601b7f0fa7
cleanup 2024-01-05 17:46:14 +01:00
Jean Sirmai 3c73c5374b
WIP: commentaires (en Français seulement) 2ème version 2023-11-30 19:50:18 +01:00
Jean Sirmai 5d57787d75
WIP: commentaires main.c et application.c (suite) 2023-11-30 13:28:16 +01:00
Jean Sirmai 852f87fede
WIP: commentaires main.c et application.c (à mettre en forme) 2023-11-30 13:16:16 +01:00
Jean Sirmai 48ef1448eb
WIP: (1) à commenter. (2) remplacer le bouton par un arbre. 2023-11-29 20:24:38 +01:00
Jean Sirmai 7683d71d5e
WIP: OK > the button responds when clicked 2023-11-29 17:56:00 +01:00
Jean Sirmai 55e35a6859
WIP: WIP: How to associate an action to this button ? 2023-11-29 17:11:02 +01:00
Jean Sirmai ef0519440e
WIP: A button is now in the GtkBox *runlib_objects of windows.c How to associate an action to it ? 2023-11-29 15:36:09 +01:00
Jean Sirmai d353bf1188
window.c: first hello in a box 2023-11-29 14:51:01 +01:00
Jean Sirmai d3a64462db
WIP: Changement de cap : mettre un label dans la GtkBox *runlib_objects; de windows.c 2023-11-25 22:26:34 +01:00
Jean Sirmai fdc87782c6
WIP: Trying to copy the first example of the tuto (this commit lists what I'm unable to adapt) 2023-11-25 10:29:08 +01:00
Jean Sirmai 1f96af32fd
WIP: introducing a simple text renderer. (I) 2023-11-25 08:59:48 +01:00
Jean Sirmai e5b58345d3
WIP: (micro) cleaning 2023-11-25 08:14:39 +01:00
Jean Sirmai 9898be565d
WIP: Now : how to display in our window (/panel) what was stored in these models ? 2023-11-24 18:18:32 +01:00
Jean Sirmai 96bb834615
WIP: (micro) Three empty lines have been added to the model. 2023-11-24 17:57:44 +01:00
Jean Sirmai ea43778291
WIP: (micro) adding : void onTreeViewRowActivated(). 2023-11-24 16:50:51 +01:00
Jean Sirmai a814a2328f
WIP: (micro) first step tuto : creating a new list store with two columns. 2023-11-24 16:34:06 +01:00
Jean Sirmai d315e5c76a
BRANCH dev/ui-simple-tree ORIGIN (cleaning) 2023-11-24 16:25:56 +01:00
Jean Sirmai b8e70e8231
WIP: lecture + mises en forme (arrays) perso; qui fait quoi ? 2023-11-10 09:51:37 +01:00
Jean Sirmai 97bc0ef4b6
Branch dev/ui-tree origin. How to represent and edit conditions and users' trees ? 2023-11-09 06:58:48 +01:00
Adrien Bourmault 234d78542f
src/graphics/graphics.c: corrected segfault caused by incorrect size for elements 2023-09-07 22:49:09 +02:00
Adrien Bourmault 8130b663d8
src/graphics/*: full refactoring of source code
src/graphics.c : contains all primitives on buffers and control
src/arrows.c : contains all complex writing for arrows constructions
src/grid.c : contains all complexe writing for grid construction

Co-developed-by: Jean Sirmai <jean@a-lec.org>
Signed-off-by: Adrien Bourmault <neox@a-lec.org>
2023-09-07 22:47:58 +02:00
Jean Sirmai 7f010b87c7
src/graphics/*: Reworked modularity, buffer allocation and reallocation of lines buffer
Acked-by: Adrien 'neox' Bourmault <neox@a-lec.org>
2023-09-06 15:05:21 +02:00
Jean Sirmai bdad3857a9
First 3D representation
Space units are 3D, arrows are 3D, space can be 3D/2D/1D.
Every dimension length can be defined independently.

At this time, arrows are drawn after a statically-defined array.

Signed-off-by: Jean Sirmai <jean@a-lec.org>
2023-08-29 14:33:17 +02:00
Jean Sirmai f32fa02299
First one-dimensional representation
Users have choice for display:
- arrows are 2D or 3D
- space units are 2D or 3D

Signed-off-by: Jean Sirmai <jean@a-lec.org>
2023-08-29 14:32:39 +02:00
Jean Sirmai b36730db97
Fusion travail perso dans dev/graphics 2023-06-27 15:43:23 +02:00
Jean Sirmai 4f766689ee
WIP: is okay mais pas encore bien structuré 2023-06-27 15:20:39 +02:00
Jean Sirmai ecd3ed98fc
WIP: des couleurs, certes... 2023-06-23 23:48:14 +02:00
Jean Sirmai a6927dbaa5
WIP: pref_3D_xor_2D_space and pref_mark_unit_space_zero seem OK (check) 2023-06-23 16:55:58 +02:00
Jean Sirmai 28c45295c6
WIP: Restructuration graphics/graphics in progress. Is OK. 2023-06-23 12:52:44 +02:00
Jean Sirmai 4d5aa2c993
WIP: Bon. C'est blindé d'erreurs mais ça le fait en 3D + 1 p'tite flèche. A nettoyer ++ 2023-06-15 21:29:15 +02:00
Jean Sirmai e9d45b3e88
WIP: un p'tit coup d'espace 3D (sans les flèches) 2023-06-15 20:48:40 +02:00
Jean Sirmai a0cce217b2
WIP: Réorganisation de graphics.c création de space_2D.c et arrow_2D.c 2023-06-15 19:50:49 +02:00
Jean Sirmai 1c5f45d505
Is OK. Avant restructuration. (découpage de graphics.c en "control_graphics.c" + space_2D.c + _3D.c + etc) 2023-06-15 11:40:55 +02:00
Jean Sirmai 4dada5b292
Premières couleurs ! Success ! 2023-06-14 17:51:19 +02:00
Jean Sirmai f12c22b73b
Couleurs (premier essai > que du noir et blanc) 2023-06-14 16:01:52 +02:00
Jean Sirmai efe117076f
Première représentation 3D d'un modèle 1D 2023-06-09 15:03:28 +02:00
Jean Sirmai 4a46e62cbc
Added parsing/, currently parses states 2023-04-18 11:13:18 +02:00
Adrien Bourmault abea32cd88
WIP: gl_area params allocated 2023-02-26 14:57:50 +01:00
Adrien Bourmault b2e25470ed
WIP: solved segfault but need to improve gl_area_array 2023-02-25 21:23:37 +01:00
Adrien Bourmault 0396f8039b
WIP: NOT WORKING: read_file() 2023-02-23 21:54:22 +01:00
Adrien Bourmault df294bd780
WIP: close sidebar when closing 2023-02-23 20:07:38 +01:00
Adrien Bourmault 0a7c9d28d3
WIP: clean error for alloc problems 2023-02-23 20:03:36 +01:00
Adrien Bourmault 4e291bc179
WIP: clean 2023-02-23 19:55:53 +01:00
Adrien Bourmault d761711ede
WIP: allocation dynamique des paramètres de GLArea 2023-02-23 19:51:02 +01:00
Adrien Bourmault ada9f32d7a
Amélioration layout run_controls 2023-02-09 12:43:00 +01:00
Adrien Bourmault 9969c6233c
Amélioration layout 2023-02-09 12:39:14 +01:00
Adrien Bourmault 086c3d97b6
Nettoyage 2023-02-08 16:10:59 +01:00
Adrien Bourmault 65b068f0ee
WIP: Adding stacks for lib in runmode 2023-02-01 19:13:34 +01:00
Adrien Bourmault e4edaf39ca
WIP: Adding stacks for lib in runmode 2023-02-01 19:12:57 +01:00