Commit Graph

143 Commits

Author SHA1 Message Date
Jean Sirmai 74cbded108
WIP: clean & comment 2024-01-09 17:33:43 +01:00
Jean Sirmai c9ffff9bfc
WIP: clean & comment 2024-01-09 16:06:19 +01:00
Jean Sirmai ed9e86dcbd
First adequate usage of the file : 'tree.c' OK (commenting and cleaning) 2024-01-09 12:30:04 +01:00
Adrien Bourmault 6e60783d28
Makefile: no more automated guix shell
Users/contributors have to run guix shell -m manifest in order
to build the project
2024-01-08 23:19:31 +01:00
Jean Sirmai bf3c890456
First adequate usage of the file : 'tree.c' OK OK OK (to comment and clean) + micro-commit 2024-01-08 20:01:31 +01:00
Jean Sirmai 59b15a1091
First adequate usage of the file : 'tree.c' OK OK OK (to comment and clean) 2024-01-08 19:54:22 +01:00
Jean Sirmai ae9ce78d40
WIP: cleaning & commenting 2024-01-08 12:14:35 +01:00
Jean Sirmai 3a6ecd70c6
F I R S T E D I T A B L E T R E E I N T H E G E M - G R A P H C L I E N T W I N D O W (to comment & clean) 2024-01-08 10:00:50 +01:00
Jean Sirmai 8dcd4fc8be
WIP: tree successfully created. Now, let's display it in the window 2024-01-08 09:31:07 +01:00
Jean Sirmai b8ef224742
WIP: manifest restauré; GtkWidget *create_a_button(GemGraphClientWindow *my_window) < arf... (in window.c, line 268) 2024-01-08 00:34:00 +01:00
Jean Sirmai effc5b83ff
WIP: j'ai peut-être un peu trop simplifié le manifest... (mais ça va plus vite) 2024-01-07 23:33:47 +01:00
Jean Sirmai d96113c72b
WIP: cleaning, cleaning... 2024-01-07 21:52:17 +01:00
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 14b326435b
WIP: suite lecture + mises en forme (arrays) perso; qui fait quoi ? (include/ui.h) 2023-11-10 10:07:01 +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 cca4759fa3
Merge branch 'dev/graphics2' into devel 2023-09-07 22:55:08 +02: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
Adrien Bourmault f8b1943edc
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

Signed-off-by: Adrien Bourmault <neox@a-lec.org>
Acked-by: Jean Sirmai <jean@a-lec.org>
2023-09-06 21:46:07 +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
Adrien Bourmault eaa39dc29f
Nettoyage 2023-06-27 18:07:37 +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