Took the branch feature-generate-training-data which is right before the branch 88-enhancement-organisation-and-style containing the current style.
added handler.hpp, style.hpp, handler.cpp and style.cpp files
modified main.cpp mostly
The codebase has been simplified and is at a good readability and maintainability level without any source file inclusion, redundant .cpp/.hpp files or complicated code. main.cpp has now less than half of code lines compared to its initial version (from 671 to 341).
I think this version can be considered as an appropriate base to continue from and add recent features to.
Changes in the commit step-2-changes:
used specific ImGui::BeginChilds for spacific parts of the program
removed much redundant code
added a lot of simplifications
fixed the program startup crash bug
Changes in the commit step-3-changes
made lots of simplifications and improvements in handler.hpp, handler.cpp , style.hpp, and style.cpp files
arranged ImGui::BeginChilds and removed redundant ones
added imagesHeader.hpp containing the logo in hex data
added stb_image.h and loaded the logo image using proper code
added a border for the plot region part - and more ...
Changes in the commit step-4-changes
coded loading images with modifiable text
modified imagesHeader.hpp to contain all images yet with less code lines (11,857 to 9844)
modified style.cpp
Changes in the commit step-5-changes
updated all files to meet the current version's features
added a few global variables to header.hpp leading to considerable progress in simplicity and readability especially for functions
added a feature to close the tool buttons as soon as one is selected on the tree-node
removed functions not used anymore
added tool buttons Reset and Version
minor simplifications throughout the whole codebase
Took the branch
feature-generate-training-data
which is right before the branch88-enhancement-organisation-and-style
containing the current style.handler.hpp
,style.hpp
,handler.cpp
andstyle.cpp
filesmain.cpp
mostlyThe codebase has been simplified and is at a good readability and maintainability level without any source file inclusion, redundant
.cpp
/.hpp
files or complicated code.main.cpp
has now less than half of code lines compared to its initial version (from 671 to 341). I think this version can be considered as an appropriate base to continue from and add recent features to.Changes in the commit step-2-changes:
ImGui::BeginChild
s for spacific parts of the programChanges in the commit step-3-changes
handler.hpp
,handler.cpp
,style.hpp
, andstyle.cpp
filesImGui::BeginChild
s and removed redundant onesimagesHeader.hpp
containing the logo in hex datastb_image.h
and loaded the logo image using proper codeChanges in the commit step-4-changes
imagesHeader.hpp
to contain all images yet with less code lines (11,857 to 9844)style.cpp
Changes in the commit step-5-changes
header.hpp
leading to considerable progress in simplicity and readability especially for functionsReset
andVersion