Commit Graph

146 Commits

Author SHA1 Message Date
Jean Sirmai c849e61e11
WIP: cleaning ... 2024-05-24 18:40:01 +02:00
Jean Sirmai 993ce2fc73
WIP: cleaning ... 2024-05-24 17:02:21 +02:00
Jean Sirmai 7a46ec1b42
now, let's merge all these widgets and search for an ergonomic organization 2024-05-24 16:28:51 +02:00
Jean Sirmai b18d1aca5c
The commutation that changes all : src/ui/application.gem_graph_client_application_activate() line 66 2024-05-24 15:01:37 +02:00
Jean Sirmai 99027fe5f4
cleaning 2024-05-24 10:31:29 +02:00
Jean Sirmai 93eefa54c7
in src/ui/views.ui_create_tree(), we don't want to add another tree into the GtkStack page Run when it is selected 2024-05-24 10:28:54 +02:00
Jean Sirmai 3dc26b226d
WIP: in windows.c switch(mode) {case EDIT_MODE: (line117) 2024-05-24 10:28:53 +02:00
Jean Sirmai 93c33ed216
WIP: cleaning (or not cleaning...?) 2024-05-24 10:28:53 +02:00
Jean Sirmai 8e06ad1be4
only the first branch of the tree can be copletely deployed 2024-05-23 20:30:59 +02:00
Jean Sirmai 4cc6bda354
debug : simple working area access 2024-05-23 15:59:14 +02:00
Adrien Bourmault 310340a17e include/base.h: solve bug with gtk4 constant redefinition 2024-04-18 16:42:53 +02:00
Adrien Bourmault feabe6662e First (quite working) real tree in Gem-graph 2024-02-21 20:23:35 +01:00
Adrien Bourmault 79cae53525 src/graphics, src/parsing: drawing model initial state 2024-01-12 17:23:06 +01:00
Adrien Bourmault 5f2abbda15 WIP: src/graphics, src/parsing: get multiplicity 2024-01-12 11:17:40 +01:00
Adrien Bourmault 3bb99b5a26
src/graphics: corrected aspect ratio and optimized matrices 2024-01-11 23:43:39 +01:00
Adrien Bourmault 0da55ac88b
Use parsed model to define dimension and space size of GLArea 2024-01-11 22:27:52 +01:00
Adrien Bourmault d50ce9afe1
WIP: simple opening of XML file 2024-01-11 18:10:16 +01:00
Adrien Bourmault 52e6c59d76
Clean-up debug printing 2024-01-11 18:09:51 +01:00
Adrien Bourmault 53c2fd9209 src/graphics, src/ui: now capable of generating multiple GLArea and their stack 2024-01-10 18:27:46 +01:00
Adrien Bourmault ff35840a26 src/graphics, src/ui: reworked GLArea generation and setup 2024-01-10 11:51:53 +01:00
Adrien Bourmault 9bb7cefc2f
WIP: no image but no more segfault 2023-12-20 18:01:27 +01:00
Adrien Bourmault 02880d3dde
WIP: GLArea managed by graphical stack, but nothing is displayed 2023-12-20 14:13:04 +01:00
Adrien Bourmault 319b84b099
WIP: GLAreas stacks are now managed 2023-12-20 13:34:44 +01:00
Adrien Bourmault 9325a7cb6f
WIP: total rewrite graphic stack allocation 2023-12-19 21:46:51 +01:00
Adrien Bourmault 6a2f3afe89
src/ui/main.c: suppression d'espaces inutiles 2023-12-19 16:26:57 +01:00
Adrien Bourmault cddf16516f
src/ui/glarea.c->graphics.c: renommage pour clarté 2023-12-19 16:26:26 +01:00
Adrien Bourmault e4e6410c0b
WIP: working on glarea allocator 2023-12-19 11:45:59 +01:00
Adrien Bourmault 8e07cc7499
Makefile: no more automated guix shell
Users/contributors have to run guix shell -m manifest in order
to build the project
2023-12-18 23:05:59 +01:00
Adrien Bourmault 0261a4c2e8
WIP: cleanup 2023-12-12 18:42:01 +01:00
Jean Sirmai 89ffa7fb82
O K P R I N T I N G + O K D R A W I N G ( + C O M M E N T S ) 2023-12-12 18:37:32 +01:00
Jean Sirmai d538e1a0ef
Ok console; Ok graphisme (sauf inversion N/S) pour de petits nombres aléatoires 2023-12-12 18:36:31 +01:00
Jean Sirmai 5c224b20cf
create_arrow() creating in arrows_ptr and drawing 2023-12-12 16:55:09 +01:00
Jean Sirmai 5c8ed2ce06
REF: OK POUR DES PETITES VALEURS (RANDOM) - VERTEX & LIGNES GROUPÉES 2023-12-12 16:54:48 +01:00
Jean Sirmai 246e73111f
OK (space & arrows) pour de petits nombres. Nettoyage en cours. 2023-12-12 16:54:41 +01:00
Jean Sirmai 551c5a5df2
Forme quasi stable 2023-12-12 16:54:12 +01:00
Jean Sirmai 6698c51c6d
Fixed segfault/abort/double free with realloc in *_arrow() 2023-12-12 16:54:05 +01:00
Jean Sirmai 979cd8f947
set_arrow() OK (printf + drawing) with no more than two calls < to check ++ 2023-12-12 16:53:58 +01:00
Jean Sirmai f9722f51b1
SUCCESS IN PASSING A STRONG RANDOM GRAPHIC TEST 2023-12-12 16:53:49 +01:00
Jean Sirmai c3c2ca9f9a
function set_arrow() ready to be used 2023-12-12 16:52:44 +01:00
Jean Sirmai 0ebd025bd8
create_arrow(): fonctionnel mais quelques bugs 2023-12-12 16:51:59 +01:00
Jean Sirmai d4c7e1bba5
réécriture de grid_write_ridges (x,y,z) et déplacement de show_user_choices() 6 flèches au centre
main_test_graphics() et arrows simplifiés mais pb. calcul arrows_nb à partir de arrows[] cf. lignes 140, 170 et 647
2023-12-12 16:51:01 +01:00
Jean Sirmai 2732ec3289
src/graphics/*: Reworked modularity, buffer allocation and reallocation of lines buffer
Acked-by: Adrien 'neox' Bourmault <neox@a-lec.org>
2023-12-12 16:50:57 +01:00
Jean Sirmai 5549f334b8
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>
Acked-by: neox <neox@a-lec.org>
2023-12-12 16:50:27 +01: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