Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

gui Struct Reference
[Graphic User Interface]


Detailed Description

gui application.


Public Types

enum  flag_enum { modal, inactive }
 gui flags enumeration. More...


Data Fields

number box [4]
 the item box { x1, y1, x2, y2 } used for focusing.

display_list dl
 Default display list used to draw inside.

number z
 Z position of the item for reference to draw upon it.

event_handler event_table [event_key]
 Table of function(app, evt) indexed by event key.

boolean flags [flag_enum]
 Table whose entry describe some functionalities.

menudef mainmenu_def
 Optional menu definition opened by the application switcher .


Member Enumeration Documentation

enum gui::flag_enum
 

gui flags enumeration.

Warning:
This documentation show tou this as "C" enumeration, in lua implementation is value are strings.
Enumeration values:
modal  The item (usually a dialog box) eats all events except shutdown (can be dangerous !).
inactive  The item cannot be focused.

Deprecated:
Seems not to be implemented.


Field Documentation

number gui::box[4]
 

the item box { x1, y1, x2, y2 } used for focusing.

As table are referenced, changing it will affect the focus in both way : display and layout.

number gui::z
 

Z position of the item for reference to draw upon it.

Warning:
z position should be handle with care. Have a look to the Z space organization in the gui documentation .
See also:
gui_child_autoplacement()

gui_dialog_basic_handle()

event_handler gui::event_table[event_key]
 

Table of function(app, evt) indexed by event key.

See also:
dcplaya_lua_event


The documentation for this struct was generated from the following file:
dcplaya documentation version 2.0 Generated on November 2004 by doxygen 1.3.6