Ok, here is my preliminary codes to scroll events in agenda page in Hammerskin1.04 a.
1) Add up/down arrows to scroll the events up/down.
2) The entries will move up or down.
3) Tap on any date will reset the events display jsut like before.
Things need to be improved.
1) As you can see the events scroll up and hide under the top bar. Need a bigger cover area.
2) It will not show the past events. ie if you start at today, it can not show the events yesterday. But if you want to see it, just tap date on clandar.
3) When you scorll down, it stop showing more events after certain number. I need more time to figure it out.
4) The same idea can be used in main page, but will be very trick to add some codes to work with the other regions.
Any comments and suggestion are wellcome.
Here are he codes.
1)First add these at the top skin where the variables are initialized
// Agenda Scrolling
initvar,var11,20
initvar,var12,228
initvar,var8,133
2) Here are the codes in region 9. The red ones are the new codes.
////////////////////////////////////////////////////////////////////////
// REGION 9,0 CALENDAR
////////////////////////////////////////////////////////////////////////
region,9,0,30
defregion,9,0,0,210,267,1
cleararea,0,0,211,267
deactivatebuttons,2
deactivatebuttons,3
deactivatebuttons,5
deactivatebuttons,4
deactivatebuttons,6
deactivatebuttons,7
deactivatebuttons,8
deactivatebuttons,10
deactivatebuttons,11
deactivatebuttons,12
deactivatebuttons,15
deactivatebuttons,16
deactivatebuttons,17
deactivatebuttons,18
activatebuttons,9
//===========================================
// HEADING
//===========================================
image,4,3,headline_breit_gelb_verlauf.png
changefont,tahoma,12,b
text,105,3,APPOINTMENTS,c
changefont,tahoma,12
//===========================================
// CALENDAR - CURRENT MONTH
//===========================================
image,5,155,Kalender_header_poom.png
image,5,170,kalender_header_main.png
image,71,170,kalender_header_senkrecht_main_grau.png
image,84,170,kalender_header_senkrecht_main_rot.png
calendarheader,6,170,13
calendar,0,0,6,183,13,10,l
button,6,183,91,60,-1,5,0-highlight,9
button,6,183,91,60,-1,23,0,9
button,6,183,91,60,-1,23,1,9
button,6,183,91,60,-1,23,2,9
button,6,183,91,60,-1,23,3,9
button,6,183,91,60,-1,11,0,9
//// reset var11,var12 and var 8
button,6,183,91,60,-1,6,var11=20
button,6,183,91,60,-1,6,var12=228
button,6,183,91,60,-1,6,var8=133
text,52,155,[caldate],0,c,"MMMM, yy"
imagebutton,3,250,kalenderpfeil_links.png,t,-1,9,0,9
button,3,250,70,12,-1,9,1,9
//===========================================
// CALENDAR - NEXT MONTH
//===========================================
image,115,155,kalender_header_poom.png
image,115,170,kalender_header_main.png
image,181,170,kalender_header_senkrecht_main_grau.png
image,194,170,kalender_header_senkrecht_main_rot.png
calendarheader,116,170,13
calendar,1,1,116,183,13,10,l
button,116,183,91,60,-1,5,1-highlight,9
button,116,183,91,60,-1,23,0,9
button,116,183,91,60,-1,23,1,9
button,116,183,91,60,-1,23,2,9
button,116,183,91,60,-1,23,3,9
button,116,183,91,60,-1,11,1,9
//// reset var11,var12 and var 8
button,116,183,91,60,-1,6,var11=20
button,116,183,91,60,-1,6,var12=228
button,116,183,91,60,-1,6,var8=133
text,160,155,[caldate],1,c,"MMMM, yy"
imagebutton,139,250,kalenderpfeil_rechts.png,t,-1,8,1,9
button,139,250,70,12,-1,8,0,9
//===========================================
// RESET CALENDAR
//===========================================
imagebutton,75,250,kalender_reset.png,t,-1,10,0,9
button,75,255,62,12,-1,10,1,9
button,75,255,62,12,-1,22,0,9
button,75,255,62,12,-1,23,0,9
time,106,250,-1,5,c,dd/MM ,HH:mm,
//===========================================
// FILTER
//===========================================
options,calendarfilter,0
options,calendarfilter,1
options,calendarfilter,2
options,calendarfilter,3
options,dateformat,1,15,15,%changefont,tahoma,11,%%line,202,10,-1_6_-1%%bold%%date,l%%regularfont%
options,today-text,'Today', dd. MMMM yyyy
options,tomorrow-text,'Tomorrow', dd. MMMM yyyy
options,apptformat,0,11,11,%iconstart,52%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,%%image,0,2,small_arrow_right.png,t%%tab,7%%starttime,HH:mmt%%tab,61%%//bold%%subject%%regularfont%
options,apptallday,0,11,11,%iconstart,63%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,%%textcolor,0_128_0%%image,0,2,small_arrow_right.png,t%%tab,7%All Day%tab,72%%//bold%%subject%%regularfont%%textcolor,0_0_0%
options,blanktext,-1,11,11,
// outlook,4,20,203,133,1,0,228,,,9
outlook,4,%var11%,185,%var8%,1,0,%var12%,,,9
image,4,3,headline_breit_gelb_verlauf.png
changefont,tahoma,12,b
text,105,3,APPOINTMENTS,c
changefont,tahoma,12
imagebutton,200,30,scrollup.png,t,-1,13,var11_-13
button,200,30,12,12,-1,13,var12_13
button,200,30,12,12,-1,13,var8_13
button,200,30,12,12,-1,24,0,9
imagebutton,200,145,scrolldown.png,t,-1,13,var11_13
button,200,145,12,12,-1,13,var12_-13
button,200,145,12,12,-1,13,var8_-13
button,200,145,12,12,-1,24,0,9
changefont,tahoma,12,
endregion,9,0