| 1 |
/* sample.dlg |
| 2 |
|
| 3 |
Dialog template file. |
| 4 |
|
| 5 |
*/ |
| 6 |
|
| 7 |
bitmap (1) { |
| 8 |
file ("mybitmap.pnm") |
| 9 |
} |
| 10 |
|
| 11 |
menu (1) { |
| 12 |
item (1) { title ("open") } |
| 13 |
item (2) { title ("close") } |
| 14 |
} |
| 15 |
|
| 16 |
dialog (1) { |
| 17 |
origin (100, 100) |
| 18 |
extent (26, 4.5) |
| 19 |
title ("Sample Dialog") |
| 20 |
pushbutton (1) { |
| 21 |
title ("Quit") |
| 22 |
origin (1, 0.5) |
| 23 |
extent (7, 1.5) |
| 24 |
highlight |
| 25 |
} |
| 26 |
pushbutton (2) { |
| 27 |
title ("Don't Press") |
| 28 |
origin (12, 0.5) |
| 29 |
extent (13, 1.5) |
| 30 |
} |
| 31 |
textedit (3) { |
| 32 |
origin (1, 2.5) |
| 33 |
extent (24, 1.5) |
| 34 |
text ("There's nothing like the real thing") |
| 35 |
} |
| 36 |
} |
| 37 |
|
| 38 |
dialog (2) { |
| 39 |
title ("File Open") |
| 40 |
pushbutton (1) { |
| 41 |
title ("Open") |
| 42 |
origin (2, 2) |
| 43 |
extent (8, 1.5) |
| 44 |
highlight |
| 45 |
} |
| 46 |
pushbutton (2) { |
| 47 |
title ("Cancel") |
| 48 |
origin (12, 2) |
| 49 |
extent (15, 1.5) |
| 50 |
} |
| 51 |
} |
| 52 |
|