Postby schtruck » Sun Feb 13, 2011 3:37 pm
in the meantime a present from LeSScro, it's first external pad which will let you understand how to make your own pad.
this one is designed for WVGA screen device, and this is my prefered.
pad.ini contain references for up to 16 buttons.
Each button contain a text which is printed into Touchescreen menu when you want to set or unset buttons.
and then each button contain a position x and y. x are y are counted in percent of the screen size minus the size of the button.
Image a button with 32pixels high and 32 pixels height, you want to place this button to the left bottom side. you have to set x=0 and y=100, in this case y is the max position in Y, so the bottom, and x=0, is the left. For the right side it will be 100,100.
And if you want to put into the middle of the screen , just put 50,50.
it will be adapted to all screen resolution.
-
Attachments
-
- pad.zip
- (94.42 KiB) Downloaded 4028 times