Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 495 | chris | 1 | Menu "TitleMenu" |
| 2 | { |
||
| 3 | |||
| 4 | Image "dialog" |
||
| 5 | { |
||
| 6 | position 240, 200; |
||
| 7 | size 350, 150; |
||
| 8 | align center, center; |
||
| 9 | texture "data/libgdx.png"; |
||
| 10 | } |
||
| 11 | |||
| 12 | Label "justtesting" |
||
| 13 | { |
||
| 14 | position 140, 200; |
||
| 15 | caption "Just some modal dialog!"; |
||
| 16 | align center, center; |
||
| 17 | scale 2.0; |
||
| 18 | color 1, 1, 0, 1; |
||
| 19 | } |
||
| 20 | |||
| 21 | Button "testbutton" |
||
| 22 | { |
||
| 23 | Label |
||
| 24 | { |
||
| 25 | position 150, 75; |
||
| 26 | caption "OK!"; |
||
| 27 | align center, center; |
||
| 28 | scale 2.0; |
||
| 29 | color 1, 1, 1, 1; |
||
| 30 | } |
||
| 31 | position 240, 700; |
||
| 32 | size 300, 150; |
||
| 33 | align center, center; |
||
| 34 | texture "data/textures/landscape.png"; |
||
| 35 | pushedTexture "data/textures/simpleframe.png"; |
||
| 36 | onTouch "DoSomething; switchState EndlessState"; |
||
| 37 | } |
||
| 38 | } |