comparison mde/gui/WidgetManager.d @ 125:3e648bc53bde

Added a simple switch/tab widget (depends on existing EnumContent).
author Diggory Hardy <diggory.hardy@gmail.com>
date Tue, 06 Jan 2009 16:54:04 +0000
parents d3b2cefd46c9
children c9843fbaac88
comparison
equal deleted inserted replaced
124:a2ef6b549101 125:3e648bc53bde
405 405
406 GridLayout = TAKES_CONTENT | 0x100, 406 GridLayout = TAKES_CONTENT | 0x100,
407 ContentList = TAKES_CONTENT | SAFE_RECURSION | 0x110, 407 ContentList = TAKES_CONTENT | SAFE_RECURSION | 0x110,
408 408
409 FloatingArea = TAKES_CONTENT | 0x200, 409 FloatingArea = TAKES_CONTENT | 0x200,
410 Switch = TAKES_CONTENT | 0x210,
410 } 411 }
411 412
412 // Only used for binarySearch algorithm generation; must be ordered by numerical values. 413 // Only used for binarySearch algorithm generation; must be ordered by numerical values.
413 const char[][] WIDGETS = [ 414 const char[][] WIDGETS = [
414 "FixedBlank", 415 "FixedBlank",
424 "AStringContent", 425 "AStringContent",
425 "ButtonContent", 426 "ButtonContent",
426 "MenuButtonContent", 427 "MenuButtonContent",
427 "GridLayout", 428 "GridLayout",
428 "FloatingArea", 429 "FloatingArea",
430 "Switch",
429 "subMenuContent", 431 "subMenuContent",
430 "ContentList", 432 "ContentList",
431 "editContent", 433 "editContent",
432 "flatMenuContent"]; 434 "flatMenuContent"];
433 435