Project

General

Profile

SO3Engine
SCOLWidget.cpp File Reference

Go to the source code of this file.

Functions

int ZooConvertvirtcode (int c)
 
int getWidgetCallbackOnScriptCallback (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param)
 C function that prepares the VM for the execution of script function callback.
 
int getWidgetCallbackOnEnterEvent (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param)
 C function that prepares the VM for the execution of the callback when mouse enters inside a widget (one event)
 
int getWidgetCallbackOnExitEvent (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param)
 C function that prepares the VM for the execution of the callback when mouse gets outside a widget (single event)
 
int getWidgetCallbackMouseMoveEvent (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param)
 C function that prepares the VM for the execution of the callback when a mouse move event occurs on a widget.
 
int getWidgetCallbackMouseDownEvent (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param)
 C function that prepares the VM for the execution of the callback when a mouse down event occurs on a widget.
 
int getWidgetCallbackMouseUpEvent (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param)
 C function that prepares the VM for the execution of the callback when a mouse up event occurs on a widget.
 
int getWidgetCallbackMouseWheelEvent (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param)
 C function that prepares the VM for the execution of the callback when a mouse wheel event occurs on a widget.
 
int getWidgetCallbackTouchAddEvent (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param)
 C function that prepares the VM for the execution of the callback when a touch point added event occurs on a widget.
 
int getWidgetCallbackTouchRemoveEvent (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param)
 C function that prepares the VM for the execution of the callback when a touch point removed event occurs on a widget.
 
int getWidgetCallbackTouchUpdateEvent (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param)
 C function that prepares the VM for the execution of the callback when a touch update event occurs on a widget.
 
int getWidgetCallbackInputDownEvent (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param)
 C function that prepares the VM for the execution of the callback when an inpur down event occurs on a widget.
 
int getWidgetCallbackInputUpEvent (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param)
 C function that prepares the VM for the execution of the callback when an input up event occurs on a widget.
 
int getWidgetCallbackInputUpdateEvent (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param)
 C function that prepares the VM for the execution of the callback when an input update event occurs on a widget.
 
int getWidgetCallbackInputWheelEvent (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param)
 C function that prepares the VM for the execution of the callback when an input wheel event occurs on a widget.
 
int getWidgetCallbackKeyDownEvent (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param)
 C function that prepares the VM for the execution of the callback when a key down event occurs on a widget.
 
int getWidgetCallbackKeyUpEvent (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param)
 C function that prepares the VM for the execution of the callback when a key up event occurs on a widget.
 
int getWidgetCallbackKeyEvent (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param)
 C function that prepares the VM for the execution of the callback when a key event occurs on a widget.
 
int getWidgetCallbackFocusEvent (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param)
 C function that prepares the VM for the execution of the callback when a focus event occurs on a widget.
 
int getWidgetCallbackOnLoadStartEvent (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param)
 C function that prepares the VM for the execution of the callback when a load start event occurs on a widget.
 
int getWidgetCallbackOnLoadEndEvent (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param)
 C function that prepares the VM for the execution of the callback when a load end event occurs on a widget.
 
int getWidgetCallbackOnLoadErrorEvent (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param)
 C function that prepares the VM for the execution of the callback when a load error event occurs on a widget.
 
int SO3WidgetLoadFile (mmachine m)
 SO3WidgetLoadFile : Load a File/movie on a widget.
 
int SO3WidgetLoadUrl (mmachine m)
 SO3WidgetLoadUrl : Load an Url in a widget.
 
int SO3WidgetDestroy (mmachine m)
 SO3WidgetDestroy : Destroy a widget.
 
int SO3WidgetSetZOrder (mmachine m)
 SO3WidgetSetZOrder : defines Z order of a widget.
 
int SO3WidgetSetForeground (mmachine m)
 SO3WidgetSetForeground : defines foreground state of a widget.
 
int SO3WidgetGetForeground (mmachine m)
 SO3WidgetGetForeground : Get the foreground state of a widget.
 
int SO3WidgetSetTopOnFocus (mmachine m)
 SO3WidgetSetTopOnFocus : defines top On focus state a widget.
 
int SO3WidgetGetTopOnFocus (mmachine m)
 SO3WidgetGetTopOnFocus : Get the top On focus state of a widget.
 
int SO3WidgetSetIgnoreTransparentPixels (mmachine m)
 SO3WidgetSetIgnoreTransparentPixels : defines ignore transparent pixels state on a widget.
 
int SO3WidgetGetIgnoreTransparentPixels (mmachine m)
 SO3WidgetGetIgnoreTransparentPixels : Get the ignore transparent pixels state on a widget.
 
int SO3WidgetSetFocus (mmachine m)
 SO3WidgetSetFocus : Force a widget to take focus.
 
int SO3WidgetUnFocus (mmachine m)
 SO3WidgetUnFocus : Force a widget to release focus.
 
int SO3WidgetGetZOrder (mmachine m)
 SO3WidgetGetZOrder : Get the Z order of a widget.
 
int SO3WidgetSetPosition (mmachine m)
 SO3WidgetSetPosition : defines position of a widget, in a viewport.
 
int SO3WidgetGetPosition (mmachine m)
 SO3WidgetGetPosition : Return the position of a widget, in the current viewport.
 
int SO3WidgetSetTextureRatio (mmachine m)
 SO3WidgetSetTextureRatio : defines the texture ratio of a widget, ie how the texture size will be scaled compare to the widget size.
 
int SO3WidgetGetTextureRatio (mmachine m)
 SO3WidgetGetTextureRatio : Return the texture ratio of a widget, ie how the texture size will be scaled compare to the widget size.
 
int SO3WidgetGetSize (mmachine m)
 SO3WidgetGetSize : Return the size of a widget.
 
int SO3WidgetSetSize (mmachine m)
 SO3WidgetSetSize : defines size of a widget.
 
int SO3WidgetGetName (mmachine m)
 SO3WidgetGetName : Return the name of a widget.
 
int SO3WidgetGetType (mmachine m)
 SO3WidgetGetType : Return the type of a widget.
 
int SO3WidgetGetMode (mmachine m)
 SO3WidgetGetMode : Return the mode of a widget.
 
int SO3WidgetSetStereo (mmachine m)
 SO3WidgetSetStereo : Set the widget stereo mode.
 
int SO3WidgetGetStereo (mmachine m)
 SO3WidgetGetStereo : Return the stereo mode of a widget.
 
int SO3WidgetSetStereoEye (mmachine m)
 SO3WidgetSetStereoEye : Set the current visible eye of a stereo widget.
 
int SO3WidgetSetVisibility (mmachine m)
 SO3WidgetSetVisibility : show or hide a widget.
 
int SO3WidgetGetVisibility (mmachine m)
 SO3WidgetGetVisibility : Retrieves if a widget is visible or not.
 
int SO3WidgetSetKeyboardEnable (mmachine m)
 SO3WidgetSetKeyboardEnable : enable or disable keyboard input on a widget.
 
int SO3WidgetGetKeyboardEnable (mmachine m)
 SO3WidgetGetKeyboardEnable : Retrieves if a widget take keyboard events or not.
 
int SO3WidgetSetMouseEnable (mmachine m)
 SO3WidgetSetMouseEnable : enable or disable mouse input on a widget.
 
int SO3WidgetGetMouseEnable (mmachine m)
 SO3WidgetGetMouseEnable : Retrieves if a widget take mouse events or not.
 
int SO3WidgetIsMouseOver (mmachine m)
 SO3WidgetIsMouseOver : Retrieves if the mouse is over a widget.
 
int SO3WidgetSetTransparency (mmachine m)
 SO3WidgetSetTransparency : Set transparency state of a widget (enable or not)
 
int SO3WidgetGetTransparency (mmachine m)
 SO3WidgetGetTransparency : Get transparency state of a widget.
 
int SO3WidgetSetOpacity (mmachine m)
 SO3WidgetSetOpacity : defines opacity coefficient of a widget.
 
int SO3WidgetGetOpacity (mmachine m)
 SO3WidgetGetOpacity : Get the opacity coefficient of a widget.
 
int SO3WidgetHasFocus (mmachine m)
 SO3WidgetHasFocus : Retrieves if a widget has the focus.
 
int SO3WidgetCallFunction (mmachine m)
 SO3WidgetCallFunction : Call script function of a widgets. Script type may depend of widget type, ActionScript for Flash widgets, JavaScript for WebNavigator widgets.
 
int SO3WidgetGetUpdateOnFocusOnly (mmachine m)
 SO3WidgetGetUpdateOnFocusOnly : Return if the widget is updated only when he have focus.
 
int SO3WidgetSetUpdateOnFocusOnly (mmachine m)
 SO3WidgetSetUpdateOnFocusOnly : Set if the widget will be updated only when he have focus.
 
int SO3WidgetEnterEventCb (mmachine m)
 SO3WidgetEnterEventCb : Define the scol callback to call when the mouse enter a widget.
 
int SO3WidgetExitEventCb (mmachine m)
 SO3WidgetExitEventCb : Define the scol callback to call when the mouse exit a widget.
 
int SO3WidgetMouseMoveEventCb (mmachine m)
 SO3WidgetMouseMoveEventCb : Define the scol callback to call when a mouse button is "downed" on a widget.
 
int SO3WidgetMouseDownEventCb (mmachine m)
 SO3WidgetMouseDownEventCb : Define the scol callback to call when a mouse button is "downed" on a widget.
 
int SO3WidgetMouseUpEventCb (mmachine m)
 SO3WidgetMouseUpEventCb : Define the scol callback to call when a mouse button is "released" over a widget.
 
int SO3WidgetMouseWheelEventCb (mmachine m)
 SO3WidgetMouseWheelEventCb : Define the scol callback to call when the mouse wheel is moved (scrolling event) over a widget.
 
int SO3WidgetTouchAddEventCb (mmachine m)
 SO3WidgetTouchAddEventCb : Define the scol callback to call when a touch point is added on a widget.
 
int SO3WidgetTouchRemoveEventCb (mmachine m)
 SO3WidgetTouchRemoveEventCb : Define the scol callback to call when a touch point is removed on a widget.
 
int SO3WidgetTouchUpdateEventCb (mmachine m)
 SO3WidgetTouchUpdateEventCb : Define the scol callback to call when a touch point is updated over a widget.
 
int SO3WidgetInputDownEventCb (mmachine m)
 SO3WidgetInputDownEventCb : Define the scol callback to call when an input down button occure on a widget.
 
int SO3WidgetInputUpEventCb (mmachine m)
 SO3WidgetInputUpEventCb : Define the scol callback to call when an input up button occure on a widget.
 
int SO3WidgetInputUpdateEventCb (mmachine m)
 SO3WidgetInputUpdateEventCb : Define the scol callback to call when an input is updated over a widget.
 
int SO3WidgetInputWheelEventCb (mmachine m)
 SO3WidgetInputWheelEventCb : Define the scol callback to call when an input wheel is updated over a widget.
 
int SO3WidgetKeyDownEventCb (mmachine m)
 SO3WidgetKeyDownEventCb : Define the scol callback to call when a key is "downed" on a widget.
 
int SO3WidgetKeyUpEventCb (mmachine m)
 SO3WidgetKeyUpEventCb : Define the scol callback to call when a key is "up" on a widget.
 
int SO3WidgetKeyEventCb (mmachine m)
 SO3WidgetKeyEventCb : Define the scol callback to call when a key event is thow on a widget.
 
int SO3WidgetFocusEventCb (mmachine m)
 SO3WidgetFocusEventCb : Define the scol callback to call when a widget take or loose focus.
 
int SO3WidgetOnScriptEventCb (mmachine m)
 SO3WidgetOnScriptEventCb : Define the callback scol had to call when there is a script event on a widget. Script event are defined by widget type, for example, it's action script event for Flash widget and javascript functions for Web Navigator widget.
 
int SO3WidgetOnLoadStartEventCb (mmachine m)
 SO3WidgetOnLoadStartEventCb : Define the scol callback to call when a widget start to load content.
 
int SO3WidgetOnLoadEndEventCb (mmachine m)
 SO3WidgetOnLoadEndEventCb : Define the scol callback to call when a widget has finished to load content.
 
int SO3WidgetOnLoadErrorEventCb (mmachine m)
 SO3WidgetOnLoadErrorEventCb : Define the scol callback to call when a widget throw an error while loading content.
 
int SCOLloadWidget (mmachine m, cbmachine w)
 Load the SO3Engine Widgets function.
 
int SCOLfreeWidget ()
 free the SO3Engine Viewport function
 

Variables

int WIDGET_ENTER_EVENT
 main include
 
int WIDGET_EXIT_EVENT
 
int WIDGET_MOUSEDOWN_EVENT
 
int WIDGET_MOUSEUP_EVENT
 
int WIDGET_MOUSEMOVE_EVENT
 
int WIDGET_MOUSEWHEEL_EVENT
 
int WIDGET_TOUCHADD_EVENT
 
int WIDGET_TOUCHREMOVE_EVENT
 
int WIDGET_TOUCHUPDATE_EVENT
 
int WIDGET_INPUTDOWN_EVENT
 
int WIDGET_INPUTUP_EVENT
 
int WIDGET_INPUTUPDATE_EVENT
 
int WIDGET_INPUTWHEEL_EVENT
 
int WIDGET_KEY_DOWN_EVENT
 
int WIDGET_KEY_UP_EVENT
 
int WIDGET_KEY_EVENT
 
int WIDGET_FOCUS_EVENT
 
int WIDGET_ON_LOAD_START_EVENT
 
int WIDGET_ON_LOAD_END_EVENT
 
int WIDGET_ON_LOAD_ERROR_EVENT
 
int WIDGET_SCRIPT_EVENT
 
int ScolZooTabCodes [160]
 
NativeDefinition natSO3Widget []
 
ScolWidgetEventsListener * scolWidgetEventsListener = 0
 

Function Documentation

◆ getWidgetCallbackFocusEvent()

int getWidgetCallbackFocusEvent ( mmachine  m,
SCOL_PTR_TYPE  id,
SCOL_PTR_TYPE  param 
)

C function that prepares the VM for the execution of the callback when a focus event occurs on a widget.

Parameters
m: current machine
h: main scol window
msg: message
id: pointer of the obj
param: data pointer
ret: user parameter
Returns
res : 0 if success

Definition at line 1073 of file SCOLWidget.cpp.

◆ getWidgetCallbackInputDownEvent()

int getWidgetCallbackInputDownEvent ( mmachine  m,
SCOL_PTR_TYPE  id,
SCOL_PTR_TYPE  param 
)

C function that prepares the VM for the execution of the callback when an inpur down event occurs on a widget.

Parameters
m: current machine
h: main scol window
msg: message
id: pointer of the obj
param: data pointer
ret: user parameter
Returns
res : 0 if success

Definition at line 830 of file SCOLWidget.cpp.

◆ getWidgetCallbackInputUpdateEvent()

int getWidgetCallbackInputUpdateEvent ( mmachine  m,
SCOL_PTR_TYPE  id,
SCOL_PTR_TYPE  param 
)

C function that prepares the VM for the execution of the callback when an input update event occurs on a widget.

Parameters
m: current machine
h: main scol window
msg: message
id: pointer of the obj
param: data pointer
ret: user parameter
Returns
res : 0 if success

Definition at line 902 of file SCOLWidget.cpp.

◆ getWidgetCallbackInputUpEvent()

int getWidgetCallbackInputUpEvent ( mmachine  m,
SCOL_PTR_TYPE  id,
SCOL_PTR_TYPE  param 
)

C function that prepares the VM for the execution of the callback when an input up event occurs on a widget.

Parameters
m: current machine
h: main scol window
msg: message
id: pointer of the obj
param: data pointer
ret: user parameter
Returns
res : 0 if success

Definition at line 866 of file SCOLWidget.cpp.

◆ getWidgetCallbackInputWheelEvent()

int getWidgetCallbackInputWheelEvent ( mmachine  m,
SCOL_PTR_TYPE  id,
SCOL_PTR_TYPE  param 
)

C function that prepares the VM for the execution of the callback when an input wheel event occurs on a widget.

Parameters
m: current machine
h: main scol window
msg: message
id: pointer of the obj
param: data pointer
ret: user parameter
Returns
res : 0 if success

Definition at line 938 of file SCOLWidget.cpp.

◆ getWidgetCallbackKeyDownEvent()

int getWidgetCallbackKeyDownEvent ( mmachine  m,
SCOL_PTR_TYPE  id,
SCOL_PTR_TYPE  param 
)

C function that prepares the VM for the execution of the callback when a key down event occurs on a widget.

Parameters
m: current machine
h: main scol window
msg: message
id: pointer of the obj
param: data pointer
ret: user parameter
Returns
res : 0 if success

Definition at line 974 of file SCOLWidget.cpp.

◆ getWidgetCallbackKeyEvent()

int getWidgetCallbackKeyEvent ( mmachine  m,
SCOL_PTR_TYPE  id,
SCOL_PTR_TYPE  param 
)

C function that prepares the VM for the execution of the callback when a key event occurs on a widget.

Parameters
m: current machine
h: main scol window
msg: message
id: pointer of the obj
param: data pointer
ret: user parameter
Returns
res : 0 if success

Definition at line 1039 of file SCOLWidget.cpp.

◆ getWidgetCallbackKeyUpEvent()

int getWidgetCallbackKeyUpEvent ( mmachine  m,
SCOL_PTR_TYPE  id,
SCOL_PTR_TYPE  param 
)

C function that prepares the VM for the execution of the callback when a key up event occurs on a widget.

Parameters
m: current machine
h: main scol window
msg: message
id: pointer of the obj
param: data pointer
ret: user parameter
Returns
res : 0 if success

Definition at line 1007 of file SCOLWidget.cpp.

◆ getWidgetCallbackMouseDownEvent()

int getWidgetCallbackMouseDownEvent ( mmachine  m,
SCOL_PTR_TYPE  id,
SCOL_PTR_TYPE  param 
)

C function that prepares the VM for the execution of the callback when a mouse down event occurs on a widget.

Parameters
m: current machine
h: main scol window
msg: message
id: pointer of the obj
param: data pointer
ret: user parameter
Returns
res : 0 if success

Definition at line 618 of file SCOLWidget.cpp.

◆ getWidgetCallbackMouseMoveEvent()

int getWidgetCallbackMouseMoveEvent ( mmachine  m,
SCOL_PTR_TYPE  id,
SCOL_PTR_TYPE  param 
)

C function that prepares the VM for the execution of the callback when a mouse move event occurs on a widget.

Parameters
m: current machine
h: main scol window
msg: message
id: pointer of the obj
param: data pointer
ret: user parameter
Returns
res : 0 if success

Definition at line 583 of file SCOLWidget.cpp.

◆ getWidgetCallbackMouseUpEvent()

int getWidgetCallbackMouseUpEvent ( mmachine  m,
SCOL_PTR_TYPE  id,
SCOL_PTR_TYPE  param 
)

C function that prepares the VM for the execution of the callback when a mouse up event occurs on a widget.

Parameters
m: current machine
h: main scol window
msg: message
id: pointer of the obj
param: data pointer
ret: user parameter
Returns
res : 0 if success

Definition at line 653 of file SCOLWidget.cpp.

◆ getWidgetCallbackMouseWheelEvent()

int getWidgetCallbackMouseWheelEvent ( mmachine  m,
SCOL_PTR_TYPE  id,
SCOL_PTR_TYPE  param 
)

C function that prepares the VM for the execution of the callback when a mouse wheel event occurs on a widget.

Parameters
m: current machine
h: main scol window
msg: message
id: pointer of the obj
param: data pointer
ret: user parameter
Returns
res : 0 if success

Definition at line 688 of file SCOLWidget.cpp.

◆ getWidgetCallbackOnEnterEvent()

int getWidgetCallbackOnEnterEvent ( mmachine  m,
SCOL_PTR_TYPE  id,
SCOL_PTR_TYPE  param 
)

C function that prepares the VM for the execution of the callback when mouse enters inside a widget (one event)

Parameters
m: current machine
h: main scol window
msg: message
id: pointer of the obj
param: data pointer
ret: user parameter
Returns
res : 0 if success

Definition at line 529 of file SCOLWidget.cpp.

◆ getWidgetCallbackOnExitEvent()

int getWidgetCallbackOnExitEvent ( mmachine  m,
SCOL_PTR_TYPE  id,
SCOL_PTR_TYPE  param 
)

C function that prepares the VM for the execution of the callback when mouse gets outside a widget (single event)

Parameters
m: current machine
h: main scol window
msg: message
id: pointer of the obj
param: data pointer
ret: user parameter
Returns
res : 0 if success

Definition at line 556 of file SCOLWidget.cpp.

◆ getWidgetCallbackOnLoadEndEvent()

int getWidgetCallbackOnLoadEndEvent ( mmachine  m,
SCOL_PTR_TYPE  id,
SCOL_PTR_TYPE  param 
)

C function that prepares the VM for the execution of the callback when a load end event occurs on a widget.

Parameters
m: current machine
h: main scol window
msg: message
id: pointer of the obj
param: data pointer
ret: user parameter
Returns
res : 0 if success

Definition at line 1129 of file SCOLWidget.cpp.

◆ getWidgetCallbackOnLoadErrorEvent()

int getWidgetCallbackOnLoadErrorEvent ( mmachine  m,
SCOL_PTR_TYPE  id,
SCOL_PTR_TYPE  param 
)

C function that prepares the VM for the execution of the callback when a load error event occurs on a widget.

Parameters
m: current machine
h: main scol window
msg: message
id: pointer of the obj
param: data pointer
ret: user parameter
Returns
res : 0 if success

Definition at line 1164 of file SCOLWidget.cpp.

◆ getWidgetCallbackOnLoadStartEvent()

int getWidgetCallbackOnLoadStartEvent ( mmachine  m,
SCOL_PTR_TYPE  id,
SCOL_PTR_TYPE  param 
)

C function that prepares the VM for the execution of the callback when a load start event occurs on a widget.

Parameters
m: current machine
h: main scol window
msg: message
id: pointer of the obj
param: data pointer
ret: user parameter
Returns
res : 0 if success

Definition at line 1102 of file SCOLWidget.cpp.

◆ getWidgetCallbackOnScriptCallback()

int getWidgetCallbackOnScriptCallback ( mmachine  m,
SCOL_PTR_TYPE  id,
SCOL_PTR_TYPE  param 
)

C function that prepares the VM for the execution of script function callback.

Parameters
m: current machine
h: main scol window
msg: message
id: pointer of the obj
param: data pointer
ret: user parameter
Returns
res : 0 if success

Definition at line 475 of file SCOLWidget.cpp.

◆ getWidgetCallbackTouchAddEvent()

int getWidgetCallbackTouchAddEvent ( mmachine  m,
SCOL_PTR_TYPE  id,
SCOL_PTR_TYPE  param 
)

C function that prepares the VM for the execution of the callback when a touch point added event occurs on a widget.

Parameters
m: current machine
h: main scol window
msg: message
id: pointer of the obj
param: data pointer
ret: user parameter
Returns
res : 0 if success

Definition at line 723 of file SCOLWidget.cpp.

◆ getWidgetCallbackTouchRemoveEvent()

int getWidgetCallbackTouchRemoveEvent ( mmachine  m,
SCOL_PTR_TYPE  id,
SCOL_PTR_TYPE  param 
)

C function that prepares the VM for the execution of the callback when a touch point removed event occurs on a widget.

Parameters
m: current machine
h: main scol window
msg: message
id: pointer of the obj
param: data pointer
ret: user parameter
Returns
res : 0 if success

Definition at line 758 of file SCOLWidget.cpp.

◆ getWidgetCallbackTouchUpdateEvent()

int getWidgetCallbackTouchUpdateEvent ( mmachine  m,
SCOL_PTR_TYPE  id,
SCOL_PTR_TYPE  param 
)

C function that prepares the VM for the execution of the callback when a touch update event occurs on a widget.

Parameters
m: current machine
h: main scol window
msg: message
id: pointer of the obj
param: data pointer
ret: user parameter
Returns
res : 0 if success

Definition at line 793 of file SCOLWidget.cpp.

◆ SCOLfreeWidget()

int SCOLfreeWidget ( )

free the SO3Engine Viewport function

Parameters
m: The VM

Definition at line 3453 of file SCOLWidget.cpp.

◆ SCOLloadWidget()

int SCOLloadWidget ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Widgets function.

Parameters
m: The VM
w: The Callback VM

Definition at line 3375 of file SCOLWidget.cpp.

◆ ZooConvertvirtcode()

int ZooConvertvirtcode ( int  c)

Definition at line 256 of file SCOLWidget.cpp.

Variable Documentation

◆ natSO3Widget

NativeDefinition natSO3Widget[]

Definition at line 3299 of file SCOLWidget.cpp.

◆ scolWidgetEventsListener

ScolWidgetEventsListener* scolWidgetEventsListener = 0

Global instance.

Definition at line 3367 of file SCOLWidget.cpp.

◆ ScolZooTabCodes

int ScolZooTabCodes[160]
Initial value:
=
{
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, XK_Pause, XK_Caps_Lock, 0, 0, 0,
0, 0, 0, XK_Escape, 0, 0, 0, 0,
0, XK_Prior, XK_Next, XK_End, XK_Home, XK_Left, XK_Up, XK_Right,
XK_Down, 0, 0, 0, XK_Sys_Req, XK_Insert, XK_Delete, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
XK_F1, XK_F2, XK_F3, XK_F4, XK_F5, XK_F6, XK_F7, XK_F8,
XK_F9, XK_F10, XK_F11, XK_F12, XK_F13, XK_F14, XK_F15, XK_F16,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
XK_Num_Lock, XK_Scroll_Lock, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0
}

Definition at line 232 of file SCOLWidget.cpp.

◆ WIDGET_ENTER_EVENT

int WIDGET_ENTER_EVENT

main include

global declarations

Definition at line 46 of file SCOLWidget.cpp.

◆ WIDGET_EXIT_EVENT

int WIDGET_EXIT_EVENT

Definition at line 47 of file SCOLWidget.cpp.

◆ WIDGET_FOCUS_EVENT

int WIDGET_FOCUS_EVENT

Definition at line 62 of file SCOLWidget.cpp.

◆ WIDGET_INPUTDOWN_EVENT

int WIDGET_INPUTDOWN_EVENT

Definition at line 55 of file SCOLWidget.cpp.

◆ WIDGET_INPUTUP_EVENT

int WIDGET_INPUTUP_EVENT

Definition at line 56 of file SCOLWidget.cpp.

◆ WIDGET_INPUTUPDATE_EVENT

int WIDGET_INPUTUPDATE_EVENT

Definition at line 57 of file SCOLWidget.cpp.

◆ WIDGET_INPUTWHEEL_EVENT

int WIDGET_INPUTWHEEL_EVENT

Definition at line 58 of file SCOLWidget.cpp.

◆ WIDGET_KEY_DOWN_EVENT

int WIDGET_KEY_DOWN_EVENT

Definition at line 59 of file SCOLWidget.cpp.

◆ WIDGET_KEY_EVENT

int WIDGET_KEY_EVENT

Definition at line 61 of file SCOLWidget.cpp.

◆ WIDGET_KEY_UP_EVENT

int WIDGET_KEY_UP_EVENT

Definition at line 60 of file SCOLWidget.cpp.

◆ WIDGET_MOUSEDOWN_EVENT

int WIDGET_MOUSEDOWN_EVENT

Definition at line 48 of file SCOLWidget.cpp.

◆ WIDGET_MOUSEMOVE_EVENT

int WIDGET_MOUSEMOVE_EVENT

Definition at line 50 of file SCOLWidget.cpp.

◆ WIDGET_MOUSEUP_EVENT

int WIDGET_MOUSEUP_EVENT

Definition at line 49 of file SCOLWidget.cpp.

◆ WIDGET_MOUSEWHEEL_EVENT

int WIDGET_MOUSEWHEEL_EVENT

Definition at line 51 of file SCOLWidget.cpp.

◆ WIDGET_ON_LOAD_END_EVENT

int WIDGET_ON_LOAD_END_EVENT

Definition at line 64 of file SCOLWidget.cpp.

◆ WIDGET_ON_LOAD_ERROR_EVENT

int WIDGET_ON_LOAD_ERROR_EVENT

Definition at line 65 of file SCOLWidget.cpp.

◆ WIDGET_ON_LOAD_START_EVENT

int WIDGET_ON_LOAD_START_EVENT

Definition at line 63 of file SCOLWidget.cpp.

◆ WIDGET_SCRIPT_EVENT

int WIDGET_SCRIPT_EVENT

Definition at line 66 of file SCOLWidget.cpp.

◆ WIDGET_TOUCHADD_EVENT

int WIDGET_TOUCHADD_EVENT

Definition at line 52 of file SCOLWidget.cpp.

◆ WIDGET_TOUCHREMOVE_EVENT

int WIDGET_TOUCHREMOVE_EVENT

Definition at line 53 of file SCOLWidget.cpp.

◆ WIDGET_TOUCHUPDATE_EVENT

int WIDGET_TOUCHUPDATE_EVENT

Definition at line 54 of file SCOLWidget.cpp.