![]() |
#241 |
PRS+ author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
Ben, there is already popup message functionality in PRS+. In 2.0.11 it is slightly improved, with reliable delay. (Core.ui.showMsg)
Last edited by kartu; 03-25-2011 at 10:47 AM. |
![]() |
![]() |
![]() |
#242 | |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
Quote:
Without checking your code a "first shot into the blue". Sprites didn't adapt to their bounding-box, they tile. Basically: Buttons, Panels and text-controls will do. So puting your label onto a panel, should work. See "CalculatorLabel" in Calc as example. HTH Mark [EDIT] Define the popup like this: Code:
<cutout id="popup-tl" x="728" y="51" width="5" heiht="3"/> <cutout id="popup-tc" x="733" y="51" width="42" height="5"/> <cutout id="popup-tr" x="775" y="51" width="5" height="5"/> <cutout id="popup-ml" x="728" y="55" width="5" height="25"/> <cutout id="popup-mc" x="733" y="55" width="42" height="25"/> <cutout id="popup-mr" x="775" y="55" width="5" height="25"/> <cutout id="popup-bl" x="728" y="81" width="5" height="5"/> <cutout id="popup-bc" x="733" y="81" width="42" height="5"/> <cutout id="popup-br" x="775" y="81" width="5" height="5"/> <skin id="popup" cutouts="popup-tl,popup-tc,popup-tr,popup-ml,popup-mc,popup-mr,popup-bl,popup-bc,popup-br"/> Code:
<panel id='jumpTextBox' skin='popup' left='130' width='350' top='24' height='35' active="false" canFocus="false"/> <label id='jumpText' skin='touchText' left='130' width='350' top='30' height='20' align='center' text='Keep jumping, or click piece to end your turn.'/> Last edited by Mark Nord; 03-25-2011 at 05:39 PM. Reason: After looking at your code |
|
![]() |
![]() |
Advert | |
|
![]() |
#243 |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
Thanks, Mark.
![]() Sincerely, Ben. |
![]() |
![]() |
![]() |
#244 |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
AppAssets (cont.)
Hello Ben,
here is my bunch of apps: Sudoku without SkinMain, should also look good on PRS-950 Still work in progress. Not for use with real devices!
Fiveballs with reduced SkinMain MahJong, with text-based-help and still with the background-image but reduced to the max. (Could be removed and repalced with AppMainSkin if necessary) Draughts with panel-fix |
![]() |
![]() |
![]() |
#245 |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
PRS+ Games & Calc (shared assets versions)
Hi everyone,
Mark and I have been busy stripping these apps back to their barest essentials, and here are the results of our labours: AppAssets - contains the shared graphics and definitions Calc Chess Draughts FiveBalls FiveRow FreeCell MahJong Sudoku I have tested these on my 600 (using a custom-built PRS+) and they all work fine. It is possible that further tweaking may be needed, so I have kept the apps separate, in order to make it easy to update one of them at a time. If you find a problem, let us know! Sincerely, Ben. P.S. I have left the older versions in post #193 for archival reasons. UPDATE 1: Sudoku updated (quit by Home button restored) UPDATE 2: AppAssets, Chess, Draughts, FreeCell updated (to remove selection definition conflict) UPDATE 3: Mahjong now has congratulations upon completion (thanks to AppAssets!) UPDATE 4: Chess, Draughts, FiveBalls, Sudoku updated (fixed for PRS-950) UPDATE 5: AppAssets updated IMPORTANT NOTE: ALL FUTURE UPDATES WILL ONLY BE UPLOADED TO THE GOOGLE CODE SITE (HERE). Last edited by BenChen; 03-27-2011 at 12:46 PM. Reason: UPDATE 5: AppAssets updated |
![]() |
![]() |
Advert | |
|
![]() |
#246 |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
Hi,
First of all, thank you Ben for compiling this. But there are some glitches with my bunch of apps: Sudoku lost the ability to quit via Home-button Fiveballs MainSkin will extend to full-screen on PRS-950 Solution: add a "allBlack" cutout and skin, fill the background with this and set up a additional panel with skin="FiveBSkin", with top, left, right anchors and set height="800" Will post fixes to post #244 later today.Also slightly updated version of Sim with surquizu's awesome new icon-set is to come. Last edited by Mark Nord; 03-26-2011 at 04:53 AM. |
![]() |
![]() |
![]() |
#247 | |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
Quote:
Regarding Sudoku, I added back the ability to quit via Home-button. Does it not work for some reason? Sincerely, Ben. |
|
![]() |
![]() |
![]() |
#248 |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
Ben,
just re-downloades the archive in post#245 and the doRoot-functionality is missing. Clicking the Home-button in the Sim with touch-skin didn't close the app. Spoiler:
Last edited by Mark Nord; 03-26-2011 at 05:18 AM. |
![]() |
![]() |
![]() |
#249 |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
Oops, yes, I missed the xml file. Sorry! I will make the change, and update the zip file in the earlier post.
|
![]() |
![]() |
![]() |
#250 |
PRS+ author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
Mark,
I think it's about time to start using repositories for FSkTestEnvironment. You could use existing repositories on PRS+ project, the only (ugly as hell) problem being that repositories cannot be renamed and neither new could be created (10 max), so the choice is: default - where prs+ now is. not really an option firmware - used up to 1.1.3, obsolete installer - used up to 1.1.3, obsolete build - used up to 1.1.3, obsolete 600-code - empty 600-firmware - empty 600-build - empty 300-firmware - empty 300-code - empty Or create a new project, shouldn't take more than about 15 mins to setup. |
![]() |
![]() |
![]() |
#251 |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
Hi everyone,
UPDATE 2: AddAssets, Chess, Draughts, FreeCell updated (to remove selection definition conflict) See post #245. Sincerely, Ben. P.S. I guess a repository would make this updating process easier, assuming that it is as easy to push as it is to pull using hg! |
![]() |
![]() |
![]() |
#253 |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
As I havn't set up a repository by now, one last classic update to the Sim-Environmet in post #59
Version x.06 comes with surquizu's awesome 3D icon-set, a second page of App-Menu and a special skin to simulate the output for PRS-950 *.bat files in the root-folder allow to start the desired resolution. normal for screen-resolution of 1024+ lines for any 4:3 reader @ Ben:800px for laptop-user, again 4:3 PRS-950 requires a screen-res equal or better then 1024 lines and works with a output-window of 600x1024 according the screen of a Sony PRS-950 Sudoku and Fiveballs (and AppAssets) are included with the latest code. So you may copy this over to post #245 Will you please also check your games with the PRS-950 resolution? For some apps the "button-hint-texts" are not anchord to bottom. Enjoy Mark Last edited by Mark Nord; 03-27-2011 at 06:29 AM. |
![]() |
![]() |
![]() |
#254 |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
Code for FSK Test-Environment for Autorun Applications under MS-Windows is moved to repository apps, kindly provided by kartu, at his prs+ goolgecode project page.
A, very basic, Wiki-page was created, too. Last edited by Mark Nord; 05-10-2011 at 02:54 PM. |
![]() |
![]() |
![]() |
#255 |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
Hi everyone,
UPDATE 4: Chess, Draughts, FiveBalls, Sudoku updated (fixed for PRS-950) See post #245. @Mark, if you can update the FSK Test repository, that would be good. Don't forget Mahjong (with the new congratulations upon winning!) Sincerely, Ben. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fsk error, code = -13 | Brian Charles | Sony Reader | 4 | 04-23-2010 04:21 PM |
Fsk error code= -43 | shrktank | Sony Reader | 1 | 12-24-2009 09:32 AM |
Just a silly tweak: AUTORUN.INF for Windows | Rootman | Kindle Developer's Corner | 3 | 12-04-2009 10:17 AM |
Request for test in Windows XP | kovidgoyal | Calibre | 5 | 08-26-2009 01:14 PM |
Windows Develpment Environment issue | itimpi | Calibre | 20 | 01-17-2009 07:15 PM |