TodayPlus Boards v2

TodayPlus for the Pocket PC Forums => Help and Support => Topic started by: arbitrajeu on October 30, 2003, 05:49:18 PM

Title: Changes to system info with 0.9.7
Post by: arbitrajeu on October 30, 2003, 05:49:18 PM
I've just copied my skin across to my iPAQ for the first time with 0.9.7.   I don't think I'm going to have time to debug it tonight (it's 10.40pm and this game has kept me up til 2am the last 2 nights), but hoped to get some initial feedback when I wake up tomorrow.

My system info region is kinda messy now, as you can see in the attached image.  Specifically:

- When charging, the append text is not displayed correctly for battery percentage remaining
- Can I control the decimal places for memory used?  It used to be rounded to the nearest whole percent.  Happy if it's configurable.
- For some reason my SD card/iPAQ file store region has stopped toggling correctly - I didn't change anything.

I've attached my skin file again, just in case srs needs to see it - it's still a WIP for anyone else trying to play with it.  I'll be back on the case again in about 8 hours time, but didn't want to miss prime commenting time for those of you in the US.
Title: Changes to system info with 0.9.7
Post by: Blazingwolf on October 30, 2003, 08:28:18 PM
arbitrajeu,
Can you tell me where(in what file) you found the icons from battery Pack(I assume this is ok. I do own the program.) I have been looking but can only find the help file bmp. I would create my own but I stink at graphics. Thanks.
Title: Changes to system info with 0.9.7
Post by: arbitrajeu on October 31, 2003, 02:59:56 AM
Blazingwolf - I also own BP2003, but I still don't really want to get into distributing their graphics, just in case they take umbrage.  Jereboam is in the process of designing some new graphics specifically for TP users, so you could wait for those.  

Alternatively, you could use the same simple process I used for "borrowing" the graphics - take a screen shot, move it to your PC, use a graphics package to select the graphic you want, replace the backrgound bits with 255,0,255 (or your transparent colour) and there you have it :)
Title: Re: Changes to system info with 0.9.7
Post by: srs on October 31, 2003, 03:07:17 AM
Quote from: arbitrajeu- When charging, the append text is not displayed correctly for battery percentage remaining

slight bug, fixed for the next version.

Quote
- Can I control the decimal places for memory used?  It used to be rounded to the nearest whole percent.  Happy if it's configurable.

yes, after the justification field do something like %.0f for no decimal points, %.1f for 1 etc, just standard c printf format specifiers.  (I think the default skin has a couple of examples too)

Quote
- For some reason my SD card/iPAQ file store region has stopped toggling correctly - I didn't change anything.

try replacing the -nohighlight with nohightlight, and if that doesnt work remove the nohightlight and see if that works.
Title: Re: Changes to system info with 0.9.7
Post by: arbitrajeu on October 31, 2003, 03:47:12 AM
Quote from: srs
Quote
- For some reason my SD card/iPAQ file store region has stopped toggling correctly - I didn't change anything.

try replacing the -nohighlight with nohightlight, and if that doesnt work remove the nohightlight and see if that works.
Neither of those worked.  The code segment that is causing the problem is as follows:
region,12,0,-1
defregion,12,0,0,41,32,2
image,148,0,SD Card.png,t
draw,roundrect,163,10,26,9,100_100_100,h
storage,sdcard,bar,165,12,22,5,gradient_green-red gradient.png
changefont,tahoma,9
storage,sdcard,usedpercent,177,10,,%,c
changefont,tahoma,11
storage,sdcard,free,168,20,, MB,c
button,148,0,13,19,12,4,1,6
endregion,12,0

region,12,1,-1
image,148,0,iPAQ File Store.png,t
draw,roundrect,163,10,26,9,100_100_100,h
storage,ipaq,bar,165,12,22,5,gradient_green-red gradient.png
changefont,tahoma,9
storage,ipaq,usedpercent,177,10,,%,c
changefont,tahoma,11
storage,ipaq,free,168,20,, MB,c
button,148,0,13,19,12,4,0,6
endregion,12,1

In 0.9.5 this would cause all three parts (icon, bar and text) to switch.  In this version only the icon is being changed.  I can't work it out.
Title: [RED HERRING] Sorry...
Post by: arbitrajeu on October 31, 2003, 04:37:19 AM
It seems this behaviour was not due to TP, but due to the fact that my iPAQ had lost contact with my SD Card.  Having removed and reinserted it, everything was fine.

Now to see if I can use the if ... else statement to detect that my SD card is gone...
Title: Changes to system info with 0.9.7
Post by: Blazingwolf on October 31, 2003, 10:23:11 AM
Quote from: arbitrajeuBlazingwolf - I also own BP2003, but I still don't really want to get into distributing their graphics, just in case they take umbrage.  Jereboam is in the process of designing some new graphics specifically for TP users, so you could wait for those.  

Alternatively, you could use the same simple process I used for "borrowing" the graphics - take a screen shot, move it to your PC, use a graphics package to select the graphic you want, replace the backrgound bits with 255,0,255 (or your transparent colour) and there you have it :)

Thank you and I appreciate your concern.
Title: Changes to system info with 0.9.7
Post by: Jereboam on October 31, 2003, 10:30:29 AM
I'm getting there slowly but surely...all a bit hectic in Moscow at the moment, if you have been watching the news...  :roll:

Will try and get them done over the weekend.

J'bm