← Back to team overview

torios-dev team mailing list archive

JWM Settings Manager update (minor)

 

Hey all,

I have been grinding through the JSM code recently to bring it back up
to (well... close) where it was when I was using tinyxml2 for the XML
library.

Back then I had it all nice and C++ like with classes and some
inheritance going on, but I mostly rewrote everything bit by bit as
non-classed functions just to test things and get the entire thing up
and running really quickly.

I went through and modified basically everything and made everything in
classes and made them inherit the right things to bring it back up to
C++ par.

What does this mean for the average user?

nothing yet.  But when I get time I will be able to leverage this power
by using more variables to store the document name in, and I can start
to add some pointers in for certain things, etc.. which should cut down
on disk usage and use memory.  That said, I have heard that in certain
cases disk reading is actually faster than memory (sounds
counter-intuitive right?).

Anyhow.  There will be no visible changes for the time being.

The other thing that this will allow (when I have time) is the old
behavior of opening the main settings window after closing one of the
sub-windows.  I will try to do things intelligently here (only when
launched from the main settings window). And this will be a benefit to a
user who launches the main window with the intent to configure a whole
bunch of stuff.


-- 
Regards



Follow ups