Mercurial > projects > mde
view data/conf/gui.mtt @ 116:5ee69b3ed9c9
Partial implementation of infinite widget recursion protection; some cleanup.
Implemented recursion protection which only allowed unsafe widgets to be instantiated once; realised this was far too restrictive (multiple sibling instances are needed) and a check against parent widgets would be needed. Could be implemented by passing widgets a reference to parents.
Removed ButtonWidget aka First interactible widget.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Sun, 21 Dec 2008 12:03:50 +0000 |
parents | 1b1e2297e2fc |
children |
line wrap: on
line source
{MT01} <char[]|Renderer="Simple"> <char[]|Design="Working"> {Working} <WidgetData|root={0:[0x4100,0,3,1],1:["bar","opts","bar"]}> <WidgetData|bar={0:[0x4100,0,1,3],1:["menu","blank","menu"]}> <WidgetData|menu={0:[0x2031,0x4011,0],1:["imde.menu"]}> <WidgetData|blank={0:[0x2]}> <WidgetData|opts={0:[0x2031,0x4100,4,2,1],1:["Options","optName","optSecs"]}> <WidgetData|optSecs={0:[0xE030,4],1:["optSec"]}> <WidgetData|optSec={0:[0x4100,0,2,1],1:["optName","optVars"]}> <WidgetData|optVars={0:[0xE030,0],1:["optDBox"]}> <WidgetData|optDBox={0:[0x4100,1,2,1],1:["optBox","optDesc"]}> <WidgetData|optBox={0:[0x4100,1,1,3],1:["optName","optSep","optVal"]}> <WidgetData|optName={0:[0x4020, 1, 0xfe8c00]}> <WidgetData|optDesc={0:[0x4020, 2, 0xaf6000]}> <WidgetData|optVal={0:[0xE030,12],1:["optEnum"]}> <WidgetData|optEnum={0:[0x4100,0,1,2],1:["optVal","optName"]}> <WidgetData|optSep={0:[0x21, 0xff],1:[" = "]}> {Basic} <WidgetData|root={0:[0x4100,0,2,1],1:["bar","msg"]}> <WidgetData|bar={0:[0x4100,0,1,2],1:["menu","blank"]}> <WidgetData|menu={0:[0x2031,0x4011,0],1:["imde.menu"]}> <WidgetData|msg={0:[0x21,0x90D970],1:["A string!"]}> <WidgetData|blank={0:[0x2]}>