Add background image to library
Create page style using background image
Define a page named "pageName" with style "pageStyle"
After loading show the page named "pageName"
|
LIB(background,"SDHC/bground.png");
LIB(asc_16b,"SDHC/asc_16b.fnt");
STYLE(pageStyle,Page){image=background;}
STYLE(textstyle,Text){font=Ascii16;col=navy;}
STYLE(EKey,key){type=keyio;}
SETUP(keyio){active=\\0000FF;keyb=\\0000FF;}
VAR(Dsc,"0",TXT);
PAGE(pageName, pageStyle)
{
TEXT(t1,Dsc,textstyle,240,136);
KEY(K0K4,[LOAD(Dsc,"K00 K04");TEXT(t1,Dsc);;],K00,K04,EKey);
KEY(K0K4,[LOAD(Dsc,"K00 K05");TEXT(t1,Dsc);;],K00,K05,EKey);
KEY(K0K4,[LOAD(Dsc,"K00 K06");TEXT(t1,Dsc);;],K00,K06,EKey);
KEY(K0K4,[LOAD(Dsc,"K00 K07");TEXT(t1,Dsc);;],K00,K07,EKey);
KEY(K0K4,[LOAD(Dsc,"K01 K04");TEXT(t1,Dsc);;],K01,K04,EKey);
KEY(K0K4,[LOAD(Dsc,"K01 K05");TEXT(t1,Dsc);;],K01,K05,EKey);
KEY(K0K4,[LOAD(Dsc,"K01 K06");TEXT(t1,Dsc);;],K01,K06,EKey);
KEY(K0K4,[LOAD(Dsc,"K01 K07");TEXT(t1,Dsc);;],K01,K07,EKey);
KEY(K0K4,[LOAD(Dsc,"K02 K04");TEXT(t1,Dsc);;],K02,K04,EKey);
KEY(K0K4,[LOAD(Dsc,"K02 K05");TEXT(t1,Dsc);;],K02,K05,EKey);
KEY(K0K4,[LOAD(Dsc,"K02 K06");TEXT(t1,Dsc);;],K02,K06,EKey);
KEY(K0K4,[LOAD(Dsc,"K02 K07");TEXT(t1,Dsc);;],K02,K07,EKey);
KEY(K0K4,[LOAD(Dsc,"K03 K04");TEXT(t1,Dsc);;],K03,K04,EKey);
KEY(K0K4,[LOAD(Dsc,"K03 K05");TEXT(t1,Dsc);;],K03,K05,EKey);
KEY(K0K4,[LOAD(Dsc,"K03 K06");TEXT(t1,Dsc);;],K03,K06,EKey);
KEY(K0K4,[LOAD(Dsc,"K03 K07");TEXT(t1,Dsc);;],K03,K07,EKey);
}
SHOW(pageName);
|