View Single Post
Old 03-20-2011, 02:38 PM   #195
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Hello Ben,

havn't found time to install at my PRS505, so no clue why the snapshot icon isn't shown.

But I worked today to move the help-text of FreeCell into a simple text-control.
Thus reduced the size of "freecellLabels.png" dramatically.
Further more I was able to reduce the size of "freecellMain.png"
By reducing the colour-depth to 16 colours and by modifing the cutouts, so that a smaller template could be used.

This two approaches could be used with the other apps, too.
The use of a text-control for help enables also the use of translated help-texts!

@kartu: is that your intention?
@kartu2: is there a way to export the language-setting off PRS+ to select the correct local help-text?

I have also included code for the CARDS Icon in the titlebar and the possibility of translations for title and description.

Again, all this was done and tested only in the Sim, no tests with a real device. But this should proof the concept.

Quote:
P.S. Mark, I am not exactly sure about the up/down cursor movement after a card is selected. The attached image shows where I could move the cursor to after moving the J/10 onto the Q and then pressing "up" until the selection stopped.
This shouldn't be possible AFTER you moved a card!
(selecedCard.selected had to be set to false after a valid move, will check on this)
My intention was to FIRST select the bottom card in a column the very normal way (move the hand-cursor left/right or by pressing the digit-key) and then move the selection up to select a series of card.
After that select the target-column again the normal way.
Movment up is limited to 5 cards, as this is the maximum number of cards to be moved at once with all free-cells empty.
There are no further checks, as your code will reject any illegal move.
Regards
Mark

[EDIT 2011.03.21]
Attachment removed, newest version in post #193
[/EDIT]

Last edited by Mark Nord; 03-22-2011 at 02:09 PM. Reason: Removed attachment, newest version in post #193
Mark Nord is offline   Reply With Quote