annotate data/conf/guiDemo.mtt @ 146:783969f4665c

Simple, inefficient context menus (displaying content description).
author Diggory Hardy <diggory.hardy@gmail.com>
date Wed, 11 Feb 2009 12:00:12 +0000
parents 1048b5c7cab1
children 075705ad664a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
27
0aa621b3e070 Some GUI work, plus a small fix in the paths module.
Diggory Hardy <diggory.hardy@gmail.com>
parents:
diff changeset
1 {MT01}
75
25cb7420dc91 A massive overhaul/rewrite for the gui's data management and setup code. Currently much that was working is broken.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 72
diff changeset
2 <char[]|Renderer="Simple">
77
3dfd934100f7 Continuing widget data changes started in last commit: all previous widgets work again now (but lacking saving).
Diggory Hardy <diggory.hardy@gmail.com>
parents: 75
diff changeset
3 <char[]|Design="Working">
3dfd934100f7 Continuing widget data changes started in last commit: all previous widgets work again now (but lacking saving).
Diggory Hardy <diggory.hardy@gmail.com>
parents: 75
diff changeset
4 {Working}
132
264028f4115a Cleaned up mde.imde and a couple of widget functions.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 128
diff changeset
5 <WidgetData|root={0:[0x4100,0,2,1],1:["bar","float"]}>
144
66c58e5b0062 Added a BoolContent-based collapsible widget.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 143
diff changeset
6 <WidgetData|float={0:[0x4200,14,14],1:["options","sliderCB"]}>
139
29a524e7c858 Fixed a resizing issue and added a popup menu for all content.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 138
diff changeset
7 <WidgetData|bar={0:[0x4100,14,1,3],1:["menuContent","blank","allContent"]}>
128
41582439a42b Added support for dynamic EnumContent loading and saving, with translation loading.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 126
diff changeset
8 <WidgetData|blank={0:[0x2]}>
41582439a42b Added support for dynamic EnumContent loading and saving, with translation loading.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 126
diff changeset
9
137
9f035cd139c6 BIG commit. Major change: old Options class is gone, all content values are loaded and saved automatically. All options updated to reflect this, some changed.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 133
diff changeset
10 <WidgetData|menuContent={0:[0x2031],1:["menus","menus"]}>
133
9fd705793568 Fixed menu popup bug, improved recursion detection.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 132
diff changeset
11 <WidgetData|menus={0:[0x4110,12] ,1:["menuPopup"]}>
138
3468e9bfded1 Popup widgets: are simpler to use and can show content fields like DisplayContentWidget.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 137
diff changeset
12 <WidgetData|menuPopup={0:[0x6033,0,1],1:["menuPopup"]}>
128
41582439a42b Added support for dynamic EnumContent loading and saving, with translation loading.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 126
diff changeset
13
139
29a524e7c858 Fixed a resizing issue and added a popup menu for all content.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 138
diff changeset
14 <WidgetData|allContent={0:[0x2031],1:["","allPU"]}>
29a524e7c858 Fixed a resizing issue and added a popup menu for all content.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 138
diff changeset
15 <WidgetData|allPU={0:[0x6033,0,1],1:["allPU"]}>
29a524e7c858 Fixed a resizing issue and added a popup menu for all content.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 138
diff changeset
16
137
9f035cd139c6 BIG commit. Major change: old Options class is gone, all content values are loaded and saved automatically. All options updated to reflect this, some changed.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 133
diff changeset
17 <EnumContent|gui.switch=["misc","video","font"]>
9f035cd139c6 BIG commit. Major change: old Options class is gone, all content values are loaded and saved automatically. All options updated to reflect this, some changed.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 133
diff changeset
18 <WidgetData|options={0:[0x2031],1:["gui.switch","switchL"]}>
128
41582439a42b Added support for dynamic EnumContent loading and saving, with translation loading.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 126
diff changeset
19 <WidgetData|switchL={0:[0x4100,4,2,1],1:["switchVal","switchT"]}>
41582439a42b Added support for dynamic EnumContent loading and saving, with translation loading.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 126
diff changeset
20 <WidgetData|switchVal={0:[0x4100,4,1,2],1:["optName","optVal"]}>
41582439a42b Added support for dynamic EnumContent loading and saving, with translation loading.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 126
diff changeset
21 <WidgetData|switchT={0:[0x4210],1:["optMisc","optVideo","optFont"]}>
41582439a42b Added support for dynamic EnumContent loading and saving, with translation loading.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 126
diff changeset
22
137
9f035cd139c6 BIG commit. Major change: old Options class is gone, all content values are loaded and saved automatically. All options updated to reflect this, some changed.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 133
diff changeset
23 <WidgetData|optMisc={0:[0x2031],1:["MiscOptions","optSec"]}>
9f035cd139c6 BIG commit. Major change: old Options class is gone, all content values are loaded and saved automatically. All options updated to reflect this, some changed.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 133
diff changeset
24 <WidgetData|optVideo={0:[0x2031],1:["Screen","optSec"]}>
9f035cd139c6 BIG commit. Major change: old Options class is gone, all content values are loaded and saved automatically. All options updated to reflect this, some changed.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 133
diff changeset
25 <WidgetData|optFont={0:[0x2031],1:["Font","optSec"]}>
128
41582439a42b Added support for dynamic EnumContent loading and saving, with translation loading.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 126
diff changeset
26
123
d3b2cefd46c9 minSizeChange() allows run-time changes to widgets' minimal size (except for shrinking in a GridLayoutWidget).
Diggory Hardy <diggory.hardy@gmail.com>
parents: 121
diff changeset
27 !{use optBox for no description, optDBox for descriptions under entries}
146
783969f4665c Simple, inefficient context menus (displaying content description).
Diggory Hardy <diggory.hardy@gmail.com>
parents: 145
diff changeset
28 <WidgetData|optSec={0:[0x4110,0],1:["optBox"]}>
116
5ee69b3ed9c9 Partial implementation of infinite widget recursion protection; some cleanup.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 115
diff changeset
29 <WidgetData|optDBox={0:[0x4100,1,2,1],1:["optBox","optDesc"]}>
5ee69b3ed9c9 Partial implementation of infinite widget recursion protection; some cleanup.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 115
diff changeset
30 <WidgetData|optBox={0:[0x4100,1,1,3],1:["optName","optSep","optVal"]}>
138
3468e9bfded1 Popup widgets: are simpler to use and can show content fields like DisplayContentWidget.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 137
diff changeset
31 <WidgetData|optName={0:[0x4040, 0,1]}>
3468e9bfded1 Popup widgets: are simpler to use and can show content fields like DisplayContentWidget.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 137
diff changeset
32 <WidgetData|optDesc={0:[0x4040, 0,2]}>
139
29a524e7c858 Fixed a resizing issue and added a popup menu for all content.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 138
diff changeset
33 <WidgetData|optVal={0:[0x6030,4,0],1:["optEnum"]}>
142
9dabcc44f515 Tightened rules for alignment sharing of grid layouts (avoids a bug and generally preferable).
Diggory Hardy <diggory.hardy@gmail.com>
parents: 141
diff changeset
34 <WidgetData|optEnum={0:[0x4100,1,1,2],1:["optName","optVal"]}>
108
c9fc2d303178 Added capability for border-less pop-up widgets. Simple pop-up menu.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 107
diff changeset
35 <WidgetData|optSep={0:[0x21, 0xff],1:[" = "]}>
143
2ac3e0012788 Added a simple Slider widget.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 142
diff changeset
36
144
66c58e5b0062 Added a BoolContent-based collapsible widget.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 143
diff changeset
37 <BoolContent|gui.collapse=>
66c58e5b0062 Added a BoolContent-based collapsible widget.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 143
diff changeset
38 <WidgetData|sliderCB={0:[0x2031],1:["gui.collapse","sliderC"]}>
145
1048b5c7cab1 Allow EventContent creation for translatable labels.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 144
diff changeset
39 <WidgetData|sliderC={0:[0x4214],1:["sliderL"]}>
1048b5c7cab1 Allow EventContent creation for translatable labels.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 144
diff changeset
40 <WidgetData|sliderL={0:[0x4100,0,1,2],1:["slider labelC","slider"]}>
1048b5c7cab1 Allow EventContent creation for translatable labels.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 144
diff changeset
41 <WidgetData|slider labelC={0:[0x2031],1:["gui.collapse","slider label"]}>
1048b5c7cab1 Allow EventContent creation for translatable labels.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 144
diff changeset
42 <WidgetData|slider label={0:[0x4040,0,1]}>
143
2ac3e0012788 Added a simple Slider widget.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 142
diff changeset
43 <WidgetData|slider={0:[0x2031],1:["MiscOptions.pollInterval","sliderW"]}>
2ac3e0012788 Added a simple Slider widget.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 142
diff changeset
44 <WidgetData|sliderW={0:[0x4044]}>
146
783969f4665c Simple, inefficient context menus (displaying content description).
Diggory Hardy <diggory.hardy@gmail.com>
parents: 145
diff changeset
45
783969f4665c Simple, inefficient context menus (displaying content description).
Diggory Hardy <diggory.hardy@gmail.com>
parents: 145
diff changeset
46 <WidgetData|context={0:[0x4040, 0,2]}>
75
25cb7420dc91 A massive overhaul/rewrite for the gui's data management and setup code. Currently much that was working is broken.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 72
diff changeset
47 {Basic}
117
aba2dd815a1f Some tweaks to popup events and widgets.
Diggory Hardy <diggory.hardy@gmail.com>
parents: 116
diff changeset
48 <WidgetData|root={0:[0x21,0x90D970],1:["A string!"]}>