From b978bcfe203d2e867f784803bfbdadcd5cc98d6b Mon Sep 17 00:00:00 2001 From: Jean Sirmai Date: Sat, 25 May 2024 09:21:45 +0200 Subject: [PATCH] WIP: cleaning ... --- include/base.h | 4 ++-- include/contain.h | 6 +++--- include/{hot.h => tree.h} | 4 ++-- src/ui/application.c | 2 +- src/ui/bac_a_sable.ui | 37 ------------------------------------- src/ui/contain.c | 2 +- src/ui/display.c | 11 ++++++++++- src/ui/{hot.c => tree.c} | 0 src/ui/views.c | 2 +- 9 files changed, 20 insertions(+), 48 deletions(-) rename include/{hot.h => tree.h} (85%) delete mode 100644 src/ui/bac_a_sable.ui rename src/ui/{hot.c => tree.c} (100%) diff --git a/include/base.h b/include/base.h index 1bea733..5e49fe3 100644 --- a/include/base.h +++ b/include/base.h @@ -27,8 +27,8 @@ /* */ /* E coli by David S. Goodsell (2009) */ /* --- */ -/* Let this freeze frame guide us towards the model */ -/* that alone can account for the phenomenon ! */ +/* Knowing that only a dynamic model can explain this phenomenon, */ +/* let's let this beautiful freeze frame be our guide. */ /* */ /******************************************************************************/ diff --git a/include/contain.h b/include/contain.h index a082e55..e1c089c 100644 --- a/include/contain.h +++ b/include/contain.h @@ -1,9 +1,9 @@ -//******************************************************************************/ +/******************************************************************************/ /* */ /* E coli by David S. Goodsell (2009) */ /* --- */ -/* Let this freeze frame guide us towards the model */ -/* that alone can account for the phenomenon ! */ +/* Knowing that only a dynamic model can explain this phenomenon, */ +/* let's let this beautiful freeze frame be our guide. */ /* */ /******************************************************************************/ diff --git a/include/hot.h b/include/tree.h similarity index 85% rename from include/hot.h rename to include/tree.h index ba38ca0..b1d95d7 100644 --- a/include/hot.h +++ b/include/tree.h @@ -2,8 +2,8 @@ /* */ /* E coli by David S. Goodsell (2009) */ /* --- */ -/* Let this freeze frame guide us towards the model */ -/* that alone can account for the phenomenon ! */ +/* Knowing that only a dynamic model can explain this phenomenon, */ +/* let's let this beautiful freeze frame be our guide. */ /* */ /******************************************************************************/ diff --git a/src/ui/application.c b/src/ui/application.c index 37d9465..519e291 100644 --- a/src/ui/application.c +++ b/src/ui/application.c @@ -24,7 +24,7 @@ #include "../../include/ui.h" -#define COMMUTE 0 // 0 first design (2023) based on XML data +#define COMMUTE 1 // 0 first design (2023) based on XML data // 1 2024 May design, free of the XML encryption mechanism /* Window actual presentation on screen */ diff --git a/src/ui/bac_a_sable.ui b/src/ui/bac_a_sable.ui deleted file mode 100644 index aa50bb3..0000000 --- a/src/ui/bac_a_sable.ui +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - diff --git a/src/ui/contain.c b/src/ui/contain.c index b4cbd61..136b167 100644 --- a/src/ui/contain.c +++ b/src/ui/contain.c @@ -1,7 +1,7 @@ #include #include -#include "../../include/hot.h" +#include "../../include/tree.h" #include "../../include/display.h" #include "../../include/contain.h" #include "../../include/texts.h" diff --git a/src/ui/display.c b/src/ui/display.c index aa46004..1bad14f 100644 --- a/src/ui/display.c +++ b/src/ui/display.c @@ -1,7 +1,16 @@ +/******************************************************************************/ +/* */ +/* E coli by David S. Goodsell (2009) */ +/* --- */ +/* Knowing that only a dynamic model can explain this phenomenon, */ +/* let's let this beautiful freeze frame be our guide. */ +/* */ +/******************************************************************************/ + #include #include -#include "../../include/hot.h" +#include "../../include/tree.h" #include "../../include/display.h" #include "../../include/contain.h" #include "../../include/texts.h" diff --git a/src/ui/hot.c b/src/ui/tree.c similarity index 100% rename from src/ui/hot.c rename to src/ui/tree.c diff --git a/src/ui/views.c b/src/ui/views.c index 3819c53..0ef9ff5 100644 --- a/src/ui/views.c +++ b/src/ui/views.c @@ -30,7 +30,7 @@ #include "../../include/base.h" #include "../../include/ui.h" -#include "../../include/hot.h" +#include "../../include/tree.h" // Recursive function to free a TreeNode and its children static void free_tree_node (struct TreeNode_t *node)