Eeeck, a skinner app would be usful.... Ok so I know how to put the location values etc in but how do you work out the correct value to put in... ?
Badley explained but I hope you know where I am going...
Terran
No probs. I'll do a proper document when I get the chance, but for now it basically works like this: -Originally Posted by ccsnet
All filenames remain as they are, as per the 2 skins provided. The background images are all .jpg, buttons etc are all .png (with transparency). The use of each image should I think be self explanatory.
For the Skin.ini file, most of the parameters are x,y,w,h - that's X, Y, Width, Height. This is how the location of all the controls is defined. (in pixels).
The first screen is based around the "background.jpg", with buttons for MP3, GPS etc, as defined by the [Global] section.
The rest of the application is defined in "panels" (basically fixed-placement sub windows within the main screen). The panels are the MP3 panel (for the player), GPS panel (for Destinator, etc) and Select panel (for selecting playlists etc).
Each one of the panels has its own section in the ini file, which defines its x,y,w,h (relative to the main window), and then the controls that apply within that window. The controls are always relative to the panel in which they reside.
Each panel (except for the GPS panel, as that is always filled by the gps application) also has an OwnBackground= option. If set to 0, then the panel is transparent so the main background shows through. If set to 1, then it adopts the background image from mp3background.jpg or selectbackground.jpg (depending on the panel). As an example, DefaultSkin has a transparent panel for the Select panel, whereas JadeSkin has its own background for all panels.
Apart from that, the only other 'special' things are: -
Colours defined in the ini file (for fonts etc) are in the format r,g,b (all values are 0-255).
listselected.png is the bar used on list boxes. Size of this doesn't matter too much, it will be stretched to fit any list you create. Makes sense to be sensibly sized relative to your lists though.
volume.png is the bar for volume control, the application shows this from left-to-right, based on the current volume (this should be clear in the app.)
progressbar.png and scrollbar.png will resize to fit the progress bar, and scroll bars respectively.
Think that should cover it. Like I say I'll document it properly when I get a chance (this may read as jumble, its off the top of my head). Any questions give us a shout.
And happy skinning
PS just to note, in the future it will also be skinnable in a similar way to other applications, but I will not remove this method of skinning -- I prefer this method, but it doesn't stretch quite as well.
Sy
GingerPrince
Car changed for TVR Griffith 500, so computer de-installed. Using a Dension 100ix w/60Gb HD unit in the interim.
Carputer Install - http://www.stuffandting.com/carputer/
CarBox Software -- http://www.stuffandting.com/carbox/
Eeeck, a skinner app would be usful.... Ok so I know how to put the location values etc in but how do you work out the correct value to put in... ?
Badley explained but I hope you know where I am going...
Terran
Think there's been a couple of threads around this subject recently. Basically the way I do it is to draw my background, figure out where I want to buttons to sit, then use the "selection" tool in paintshop to highlight where the button would go. The status bar then shows the x,y location of the area you're selecting, and use those for your values.Originally Posted by ccsnet
Usually you only need to do this for one or two buttons, the rest will likely be in-line so you just add the values up as needs be.
Easiest thing is to change a few numbers in one of the default skins, and see what it does
One thing to remember though, if you set the width and height of a button in the skin to be larger than the button graphic itself, there's be an invisible clicky-bit, so make sure the w,h matches the picture.
GingerPrince
Car changed for TVR Griffith 500, so computer de-installed. Using a Dension 100ix w/60Gb HD unit in the interim.
Carputer Install - http://www.stuffandting.com/carputer/
CarBox Software -- http://www.stuffandting.com/carbox/
Righto... I bee starting on this in the next week or two.. jut want the ME one finnished first.. PS Hows the Opus going ? ( Ment to ask before ) ( Sorry Every one OT ).
Terran
It was okay, and I assume it still works, but haven't had computer in car for a while whilst waiting for my Lilliput to get sent to hong kong and back for replacement! Still waiting...Originally Posted by ccsnet
Stopped using it when my touchscreen broke. Should be back soon though. Could do with a good DC supply to power the opus in the house though! It's a pain having to plug my old Morex in to use it in the house!
GingerPrince
Car changed for TVR Griffith 500, so computer de-installed. Using a Dension 100ix w/60Gb HD unit in the interim.
Carputer Install - http://www.stuffandting.com/carputer/
CarBox Software -- http://www.stuffandting.com/carbox/
Looks good. One big problem (for me, at least) is lack of support for non-western fonts. Half my music is russian, with russian filenames and directory names. when trying to add files, a "failed to add..." popup appears. any way you can fix that?
Sy, couple of requests here...
Day Night Mode, ( I am creating both skins with filters for diffrents dash's as well )
The option to replace the Visualtion with a mini Destinator Screen
Mute when Destinator speaks
A skinner ( No rush )
GPS / Destinator to Engage soon as prog starts
May be a location over view on the first page - ie loaction in degrees, direction, spead,
May be even a screen showing sat locks and a big compass - jsut like the expensive systems ?
Just a thought ( A clock would be a good idea )
Terran
Eep, don't know about that, never tried writing software to support non-western character sets. Will try and have a look though. Could you do me a favour and send me an example filename, so I can reproduce the problem. Ta.Originally Posted by dimas
GingerPrince
Car changed for TVR Griffith 500, so computer de-installed. Using a Dension 100ix w/60Gb HD unit in the interim.
Carputer Install - http://www.stuffandting.com/carputer/
CarBox Software -- http://www.stuffandting.com/carbox/
Shouldn't be too difficult, though I'm currently working on the all-in-one skin I've been talking about so this will be first.Originally Posted by ccsnet
I suspect what I'll do for this though is implement the option to toggle between any 2 skins at runtime, rather than just change the graphics. This should make it more versatile.
I guess this will be better with a day/night button rather than an automatic timer?
Like the idea, though depending on how big your vis. screen is in your skin it may be a bit on the "novelty purposes only" side! I'll look into it, though...Originally Posted by ccsnet
Not sure how to do this, but I've seen threads from others doing it so I'll have a look round.Originally Posted by ccsnet
This will be done, but not as a priority.Originally Posted by ccsnet
Easy peasy, consider it doneOriginally Posted by ccsnet
Will be an option in the CarBox.ini
Should be doable, but again only if Destinator is used.Originally Posted by ccsnet
You can get that within Destinator (well the satellite locks). Not sure exactly if there'd be any advantage showing that all the time - take up too much screen.Originally Posted by ccsnet
Easy done, just never bother until now because I have a clock in my dash. Will add in though.Originally Posted by ccsnet
GingerPrince
Car changed for TVR Griffith 500, so computer de-installed. Using a Dension 100ix w/60Gb HD unit in the interim.
Carputer Install - http://www.stuffandting.com/carputer/
CarBox Software -- http://www.stuffandting.com/carbox/
Originally Posted by GingerPrince
Great, I'm sure I can think of some more for you....
Terran
Bookmarks