Project

General

Profile

SO3Engine
ObjWindow Widget

Functions

int SO3ObjWindowWidgetCreate (mmachine m)
 main include More...
 
int SO3ObjWindowWidgetCreateBackground (mmachine m)
 SO3ObjWindowWidgetCreateBackground : Create a new ObjWindow widget on background. More...
 
int SO3ObjWindowWidgetCreateOnMaterial (mmachine m)
 SO3ObjWindowWidgetCreateOnMaterial : Set a texture objWindow on a material. More...
 
int SO3ObjWindowWidgetBlit (mmachine m)
 SO3ObjWindowWidgetBlit : Blit a scol objWindow on a "ObjWindow Widget". More...
 

Detailed Description

Scol functions definition

Function Documentation

◆ SO3ObjWindowWidgetBlit()

int SO3ObjWindowWidgetBlit ( mmachine  m)

SO3ObjWindowWidgetBlit : Blit a scol objWindow on a "ObjWindow Widget".

Prototype: fun [SO3_WIDGET ObjWin] I

Parameters
SO3_WIDGET: targeted widget, must be a "ObjWindowWidget" widget.
ObjWin: scol window that we want to blit on the widget
Returns
I : 1 if success, NIL otherwise

Definition at line 415 of file SCOLObjWindowWidget.cpp.

◆ SO3ObjWindowWidgetCreate()

int SO3ObjWindowWidgetCreate ( mmachine  m)

main include

SO3ObjWindowWidgetCreate : Create a new obj window widget

Prototype: fun [SO3_SCENE SO3_VIEWPORT S I I I I I ObjWin] SO3_WIDGET

Parameters
SO3_SCENE: current scene
SO3_VIEWPORT: viewport
S: given name for the new objWindow Control
I: top Position
I: left position
I: width
I: height
I: Z order
ObjWin: Window to render in the widget
Returns
SO3_WIDGET : Created objWindow widget if success , NIL otherwise

Definition at line 62 of file SCOLObjWindowWidget.cpp.

◆ SO3ObjWindowWidgetCreateBackground()

int SO3ObjWindowWidgetCreateBackground ( mmachine  m)

SO3ObjWindowWidgetCreateBackground : Create a new ObjWindow widget on background.

Prototype: fun [SO3_SCENE SO3_VIEWPORT S I I I I ObjWin] SO3_WIDGET

Parameters
SO3_SCENE: current scene
SO3_VIEWPORT: viewport
S: given name for the new objWindow Control
I: top Position
I: left position
I: width
I: height
ObjWin: Window to render in the widget
Returns
SO3_WIDGET : Created objWindow if success , NIL otherwise

Definition at line 170 of file SCOLObjWindowWidget.cpp.

◆ SO3ObjWindowWidgetCreateOnMaterial()

int SO3ObjWindowWidgetCreateOnMaterial ( mmachine  m)

SO3ObjWindowWidgetCreateOnMaterial : Set a texture objWindow on a material.

Prototype: fun [SO3_SCENE SO3_MATERIAL S I I I I I ObjWin] SO3_WIDGET

Parameters
SO3_SCENE: current scene
SO3_MATERIAL: current material
S: new Name
I: width
I: height
I: given technique
I: given pass
I: index of the texture
ObjWin: Window to render in the widget
Returns
SO3_WIDGET : The objWindow widget if success , NIL otherwise

Definition at line 278 of file SCOLObjWindowWidget.cpp.