- March 17, 2008
- 1,353
- 306
- Home Country
- Netherlands
I think the last solution would be best, maybe even configurable per element, by a dropdown or checkbox so users can decide what they like most.
Programming wise I would go with something like this (if I were doing it);
We now have a htpcinfo_gauges.xml in an import (at least that's how I skinned it). we can make that import dynamic with a string var, for example if a user chooses the gauges the variable #HTPCInfo_gaugetype (or whatever) will be set to "htpcinfo_gauges.xml" when he chooses the progressbars it will be set to "htpcinfo_progressbars.xml". So finally the skinner can incorporate;
<import>#HTPCInfo_gaugetype</import>.
The problem with this however will probably be that you cannot adjust the gauge type per section(say cpu, mem etc.) but just one of the types.
I'll just wait a bit with the freespace problem and will test again when you're ready for release (or sooner )
Programming wise I would go with something like this (if I were doing it);
We now have a htpcinfo_gauges.xml in an import (at least that's how I skinned it). we can make that import dynamic with a string var, for example if a user chooses the gauges the variable #HTPCInfo_gaugetype (or whatever) will be set to "htpcinfo_gauges.xml" when he chooses the progressbars it will be set to "htpcinfo_progressbars.xml". So finally the skinner can incorporate;
<import>#HTPCInfo_gaugetype</import>.
The problem with this however will probably be that you cannot adjust the gauge type per section(say cpu, mem etc.) but just one of the types.
I'll just wait a bit with the freespace problem and will test again when you're ready for release (or sooner )