gui Class Reference

file : ../lugre/lua/lib.gui.lua (this is just a pseudo class used for grouping global functions) More...

List of all members.

Static Public Member Functions

static mixed GetPlainTextureGUIMat (mixed texname)
static mixed GetPlainTextureGUIMatCol (mixed texname, mixed r, mixed g, mixed b)
static mixed SetFocusWidget (mixed widget)
static mixed SetGuiHidden (mixed bHidden)
static mixed GUI_GetWidgetDebugInfo (mixed w)
static mixed GUI_TriggerWidgetEventCallback (mixed widget, mixed sEventName)
static mixed GUI_TriggerWidgetCallback_BackwardComp (mixed widget, mixed callback_name, mixed dialogparam, mixed...)
static mixed GUIMouseEvent (mixed sEventName, mixed widget)
static mixed PollNextKey (mixed callback)
 calls callback(key,char) on next keystroke, which is then marked as consumed
static mixed GuiKeyDown (mixed key, mixed char)
 returns true if the event was consumed/handled
static mixed StartMoveDialog (mixed widget)


Detailed Description

file : ../lugre/lua/lib.gui.lua (this is just a pseudo class used for grouping global functions)

Definition at line 4569 of file lua_pseudo_code.cpp.


Member Function Documentation

static mixed gui::GetPlainTextureGUIMat ( mixed  texname  )  [inline, static]

Definition at line 4571 of file lua_pseudo_code.cpp.

static mixed gui::GetPlainTextureGUIMatCol ( mixed  texname,
mixed  r,
mixed  g,
mixed  b 
) [inline, static]

Definition at line 4573 of file lua_pseudo_code.cpp.

static mixed gui::SetFocusWidget ( mixed  widget  )  [inline, static]

Definition at line 4575 of file lua_pseudo_code.cpp.

static mixed gui::SetGuiHidden ( mixed  bHidden  )  [inline, static]

Definition at line 4577 of file lua_pseudo_code.cpp.

static mixed gui::GUI_GetWidgetDebugInfo ( mixed  w  )  [inline, static]

Definition at line 4579 of file lua_pseudo_code.cpp.

static mixed gui::GUI_TriggerWidgetEventCallback ( mixed  widget,
mixed  sEventName 
) [inline, static]

Definition at line 4581 of file lua_pseudo_code.cpp.

static mixed gui::GUI_TriggerWidgetCallback_BackwardComp ( mixed  widget,
mixed  callback_name,
mixed  dialogparam,
mixed...   
) [inline, static]

Definition at line 4583 of file lua_pseudo_code.cpp.

static mixed gui::GUIMouseEvent ( mixed  sEventName,
mixed  widget 
) [inline, static]

if the parameter widget is nil, the gLastMouseDownWidget is used called from lib.input.lua, eventname is one of mouse_left_down,mouse_left_up mouse_right_down,mouse_right_up mouse_middle_down,mouse_middle_up mouse_left_click,mouse_left_click_double,mouse_left_click_single, mouse_left_drag_start,mouse_left_drag_step,mouse_left_drag_stop called from GUIStep, eventname is one of mouse_enter,mouse_leave generates button_click event from mouse_left_click when the mouse is still inside gLastMouseDownWidget

Definition at line 4595 of file lua_pseudo_code.cpp.

static mixed gui::PollNextKey ( mixed  callback  )  [inline, static]

calls callback(key,char) on next keystroke, which is then marked as consumed

Definition at line 4598 of file lua_pseudo_code.cpp.

static mixed gui::GuiKeyDown ( mixed  key,
mixed  char 
) [inline, static]

returns true if the event was consumed/handled

Definition at line 4601 of file lua_pseudo_code.cpp.

static mixed gui::StartMoveDialog ( mixed  widget  )  [inline, static]

Definition at line 5043 of file lua_pseudo_code.cpp.


The documentation for this class was generated from the following file:

Generated on Fri Mar 29 05:41:10 2013 for lua by  doxygen 1.5.6