![]() |
#421 |
Enthusiast
![]() ![]() Posts: 44
Karma: 198
Join Date: Mar 2011
Location: Russia, Saratov
Device: Sony PRS-350
|
BenChen Last (from repo) calendar work fine.
I want more icons for event (birthday, marry, rip) and medium font for event (current fof my eyes too small) I manually edit calendar.dat |
![]() |
![]() |
![]() |
#422 | |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
Quote:
As for the font size, I really don't know. The multi-line textbox is one of the built-in widgets. I don't know if the font size can be changed. Do you know, Mark? Sincerely, Ben. |
|
![]() |
![]() |
Advert | |
|
![]() |
#423 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,888
Karma: 5875940
Join Date: Dec 2007
Device: PRS505, 600, 350, 650, Nexus 7, Note III, iPad 4 etc
|
RIP = Rest in Peace probably for a death/anniversary of a death...
|
![]() |
![]() |
![]() |
#424 |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
|
![]() |
![]() |
![]() |
#425 | |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
Quote:
<text>is build in, but fully customizable. Your are defining Code:
<skin id="eventText" cutouts="htext-lt,htext-ct,htext-rt,htext-lm,htext-cm,htext-rm,htext-lb,htext-cb,htext-rb" styles="htext-e,htext-e,htext-p,htext-s"/> Spoiler:
so the new style "eventText" will be the same as "helpText" from AppAssets. Just replace the second line of your definitions with some other text-styles to meet your requirements. The four text-styles (indicated by the trailing char d,e,p,s) stands for the four (4) possible states of the element: d-isabled The order may vary from element to element, but you can always check with the defsked sources of fskin.e-nable p-ressed s-elected Regards Mark |
|
![]() |
![]() |
Advert | |
|
![]() |
#426 |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
Hi Mark,
Excellent. I was just checking out AppAssests and realised that the font was customisable, but I didn't know what the "d", "e", "p" and "s" stood for. I will do the changes tomorrow (Sunday). Sincerely, Ben. |
![]() |
![]() |
![]() |
#427 |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
Ben,
A question to Calendar: Are the floating holidays, tied to the easter-date also supported? (e.g. Pentecost) Regards Mark |
![]() |
![]() |
![]() |
#428 |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
Hi Mark,
Excellent. I was just checking out AppAssests and realised that the font was customisable, but I didn't know what the "d", "e", "p" and "s" stood for. I will do the changes tomorrow (Sunday). Sincerely, Ben. |
![]() |
![]() |
![]() |
#429 | |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
Quote:
All the special events have a code: "C" for Christmas, "B" for birthday, "E" for easter, "V" for Valentine's Day, etc. Repeating yearly events are coded with "Y", monthly events with "M" and weekly events with "W". There is also "F" for floating (which can handle things like Thanksgiving.) I have already been asked to add "Wedding/Anniversary" and "RIP". There is a limit to how much we can add without needing to change the event data-structure completely. (I guess that isn't out of the question, but I think I was hoping to avoid it!) Actually, I should probably add Thanksgiving to the default set of events so as to model a Floating holiday... Something for tomorrow... Sincerely, Ben. |
|
![]() |
![]() |
![]() |
#430 |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
Ben,
Thanksgiving is already there! Furthermore there is no "E"aster, but "F" with param 3,0,0 And if you are interested, there is a way to avoid reading the dat-file twice: Spoiler:
Regards Mark PS: Maybe editing (of the dat-file) would be easier if one event per row would be stored. Using something like a CSV-format, allowing events.push(lines[i].split(";")) Last edited by Mark Nord; 07-16-2011 at 04:52 PM. |
![]() |
![]() |
![]() |
#431 |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
Hi Mark,
Thanks for the code for reading in the file once. I had tried to do something similar, but hadn't managed to get it to work. (I had used Code:
lines = tempfile.split("\n"); I like the idea of events all on one line. I will see how it goes. Sincerely, Ben. |
![]() |
![]() |
![]() |
#432 |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
Hi everyone,
Calendar updates pushed to apps repository. This has been tested on my 600 and it looks good. Changes are: Improved layout and event icons; added "Anniversary"; increased event font size; changed event file-format; non-Touch cursor now moves. Note, in particular, that the save file format has been changed. If you have a save file already, you need to edit it so that it looks like the following: Code:
Y;1;1;2006;New Year's Day V;2;14;2005;Valentine's Day F;3;0;0;Easter Sunday Y;3;17;2005;St. Patrick's Day F;11;4;5;Thanksgiving C;12;25;2005;Christmas Sincerely, Ben. |
![]() |
![]() |
![]() |
#433 |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
Hi everyone,
Another calendar update pushed to the apps repository. Changes are: Added settings popup panel; 'Week starts with' option (Sunday or Monday). It should work with touch and non-touch (with panel open, press up/down to move between option and buttons, press left/right when option is enabled to change). Sincerely, Ben. |
![]() |
![]() |
![]() |
#434 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
|
I like the calendar! Good job!
Thanks Ben In the 505 works fine but crashes when I push the enter when OK is selected to change the starting day of the week. Nor do I know how to add events on the calendar. I don´t see any option. |
![]() |
![]() |
![]() |
#435 |
Enthusiast
![]() ![]() Posts: 44
Karma: 198
Join Date: Mar 2011
Location: Russia, Saratov
Device: Sony PRS-350
|
surquizu
For add/delete events manually edit file calendar.dat in /data/databook/system/prsplus/gamesave/calendar |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |