Project

General

Profile

SO3Engine
Bitmap Widget

Functions

int SO3BitmapWidgetCreate (mmachine m)
 main include
 
int SO3BitmapWidgetCreateBackground (mmachine m)
 SO3BitmapWidgetCreateBackground : Create a new bitmap widget on background.
 
int SO3BitmapWidgetCreateOnMaterial (mmachine m)
 SO3BitmapWidgetCreateOnMaterial : Set a texture bitmap on a material.
 
int SO3BitmapWidgetBlit (mmachine m)
 SO3BitmapWidgetBlit : Blit a scol objBitmap on a "Bitmap Widget".
 
int SO3BitmapWidgetBlitAlpha (mmachine m)
 SO3BitmapWidgetBlitAlpha : Blit a scol AlphaBitmap on a "Bitmap Widget".
 
int SO3BitmapWidgetBlitBuffer (mmachine m)
 SO3BitmapWidgetBlitBuffer : Blit a scol buffer on a "Bitmap Widget".
 

Detailed Description

Scol functions definition

Function Documentation

◆ SO3BitmapWidgetBlit()

int SO3BitmapWidgetBlit ( mmachine  m)

SO3BitmapWidgetBlit : Blit a scol objBitmap on a "Bitmap Widget".

Prototype: fun [SO3_WIDGET ObjBitmap] I

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

Definition at line 358 of file SCOLBitmapWidget.cpp.

◆ SO3BitmapWidgetBlitAlpha()

int SO3BitmapWidgetBlitAlpha ( mmachine  m)

SO3BitmapWidgetBlitAlpha : Blit a scol AlphaBitmap on a "Bitmap Widget".

Prototype: fun [SO3_WIDGET AlphaBitmap] I

Parameters
SO3_WIDGET: targeted widget, must be a "BitmapWidget" widget.
AlphaBitmap: scol alpha bitmap that we want to blit on the widget
Returns
I : 1 if success, NIL otherwise

Definition at line 419 of file SCOLBitmapWidget.cpp.

◆ SO3BitmapWidgetBlitBuffer()

int SO3BitmapWidgetBlitBuffer ( mmachine  m)

SO3BitmapWidgetBlitBuffer : Blit a scol buffer on a "Bitmap Widget".

Prototype: fun [SO3_WIDGET ObjBuff I I I] I

Parameters
SO3_WIDGET: targeted widget, must be a "BitmapWidget" widget.
ObjBuff: scol buffer that we want to blit on the widget
I: buffer pixel width
I: buffer pixel height
I: number of bits per pixel
Returns
I : 1 if success, NIL otherwise

Definition at line 512 of file SCOLBitmapWidget.cpp.

◆ SO3BitmapWidgetCreate()

int SO3BitmapWidgetCreate ( mmachine  m)

main include

SO3BitmapWidgetCreate : Create a new bitmap widget

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

Parameters
SO3_SCENE: current scene
SO3_VIEWPORT: viewport
S: given name for the new bitmap Control
I: top Position
I: left position
I: width
I: height
I: Z order
Returns
SO3_WIDGET : Created bitmap if success , NIL otherwise

Definition at line 61 of file SCOLBitmapWidget.cpp.

◆ SO3BitmapWidgetCreateBackground()

int SO3BitmapWidgetCreateBackground ( mmachine  m)

SO3BitmapWidgetCreateBackground : Create a new bitmap widget on background.

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

Parameters
SO3_SCENE: current scene
SO3_VIEWPORT: viewport
S: given name for the new bitmap Control
I: top Position
I: left position
I: width
I: height
Returns
SO3_WIDGET : Created bitmap if success , NIL otherwise

Definition at line 150 of file SCOLBitmapWidget.cpp.

◆ SO3BitmapWidgetCreateOnMaterial()

int SO3BitmapWidgetCreateOnMaterial ( mmachine  m)

SO3BitmapWidgetCreateOnMaterial : Set a texture bitmap on a material.

Prototype: fun [SO3_SCENE SO3_MATERIAL S I I I I I] 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
Returns
SO3_WIDGET : The bitmap widget if success , NIL otherwise

Definition at line 236 of file SCOLBitmapWidget.cpp.