TodayPlus Boards v2

TodayPlus for the Pocket PC Forums => New Skins / Graphics => Topic started by: srs on November 05, 2003, 10:46:39 AM

Title: Skin naming conventions and standards
Post by: srs on November 05, 2003, 10:46:39 AM
In an effort to make skins more portable (and easier to install and use), we need to come up with a set of standard conventions.  The original intention of separating the skin and config files is that the user's personal settings are stored in the config, while the general layout and appearance is stored in the skin files.  This is why there is only one config file, and there can be different skin files.

Now, in order for different skins to work with the same config, there needs to be some sort of standards, ie. stuff that the skin expects will be there in the config.

To this end I propose the following:

for shortcuts the following "groups" should be used:

quick
Title: Skin naming conventions and standards
Post by: arbitrajeu on November 05, 2003, 10:51:00 AM
Might I also suggest:

storage,storagex,... for standard storage devices - most people have just one so things should be fairly interchangeable, especially with the upcoming <name> parameter.
Title: Skin naming conventions and standards
Post by: srs on November 05, 2003, 11:01:39 AM
good idea.  I had forgotten about that.
Title: Skin naming conventions and standards
Post by: dasilva on November 05, 2003, 11:34:08 AM
srs


I think this is a great idea, thanks for bringing it up.

Also, what do you think of:

hometownclock, <city name>, <timezone>
potentially for the first clock in the clock page.

Cheers -David
Title: Skin naming conventions and standards
Post by: rbg08 on November 05, 2003, 01:45:18 PM
Agreed.  All my future skins will adhere to these guidelines.  I would recommend updating the skin reference file as soon as possible to include these instructions (as well as list the new 098 commands' syntax ;) ).
Title: Skin naming conventions and standards
Post by: jhollin1138 on November 05, 2003, 02:04:00 PM
I hate to say this, but it might be time to consider some type application to edit the "config" file.  With some type of application, the "rules" could be controlled a little better.  If I had time, I am sure I could come up with something (I am sure you professional programs would laugh at it  :D).
Title: Skin naming conventions and standards
Post by: fishboy on November 05, 2003, 05:31:32 PM
I will work on adding this information to the configuration file section of the reference.  

rbg08, the 0.9.8 commands are already in the latest reference I posted (albiet the if,var... is currently incorrect).
Title: Skin naming conventions and standards
Post by: rbg08 on November 05, 2003, 09:20:15 PM
Sorry, fishboy, didn't see you had already updated the skin reference. :oops:
Title: Skin naming conventions and standards
Post by: fishboy on November 05, 2003, 09:20:52 PM
In the case of shortcuts, what about a more general approach such as:

apps
Title: Skin naming conventions and standards
Post by: fishboy on November 06, 2003, 05:44:15 PM
Another advantage for using (at least for me)

apps
Title: Skin naming conventions and standards
Post by: srs on November 07, 2003, 01:08:05 AM
ah, ok I understand now...

yes, now that I come to think of it your way might be the most flexable

apps-
Title: Skin naming conventions and standards
Post by: fishboy on November 07, 2003, 09:33:54 AM
Thanks, srs, glad that I can help.  I have just a couple of questions:

1) Would we need to include the brackets ([]) around the indexes, or would something like "apps-0-0" be acceptable (doesn't matter to me, just want to be clear on the specs).

2) Will the indexes begin with 0 or 1?

I like your idea of how to associate text to a group name.  The config file might look something like:

text,apps-[0],Quick Launch

shortcut,apps-[0]-[0],\windows\iexplore.exe,Internet
shortcut,apps-[0]-[1],\windows\calc.lnk,Calculator
Title: Skin naming conventions and standards
Post by: srs on November 07, 2003, 01:48:56 PM
1) I think it may be easier to type (especially on the ppc) without the barckets so, apps-1-1

2) indexs should start at 1 to be consistant with city and rss starting at 1