Hi everybody
I've blown the checkins list file size limit twice today with a bundle of
changes. I also expect to do a load more over the next few days. Can I ask
you all to keep out of CVS for the time being while I get it sorted. I'm
basically doing changes to every file.
Here is what I'm up to
1) Removed Globals.h Globals.c Structs.h Defines.h - Done
I've tried to find fairly sensible homes for all the defines, structs and
variables. What is in CVS at the moment is this version. However the
changes are fairly temporary as I'll have to make loads of changes because
of 2.
2) Writing a Structure driven UI generator - Started
What I'm doing is putting each "setting" (corresponds to ini file setting)
in a structure with things like max, min, default and an OnChange function.
All manipulation of "settings" will have to go through a public interface
passing a pointer to the relevant setting. Most settings will end up being
private to a file but some (brightness for example) will be public so they
can be changed from anywhere in the code.
There will be a separate UI struct that will allow a hierarchical set of
dialogs to be set up for each module. The UI will initially only display as
a dialog but I will then get cracking on the OSD version for full screen.
3) When the above replicates the existing functionality then I will get the
settings per station/input/TV type sorted out.
I expect to have a prototype up in a day or so.
John
|