OpenSpace3D libs
OpenSpace 3D libraries for plugITs and OS3D developer
Functions

Functions

 getEdCtrlLabelValue (ctrlstr)
 Get a label control value.
 
 setEdCtrlLabelValue (ctrlstr, val)
 Set a label control text value.
 
 setEdCtrlLabelEnable (ctrlstr, state)
 Enable or disable a label control.
 
 crEdCtrlLabel (winstr, x, y, w, h, value, resize)
 Create a label control.
 
 crEdCtrlLabelEx (winstr, x, y, w, h, value, flags, resize)
 Create a label control.
 
 dsEdCtrlLabel (ctrlstr)
 Destroy a label control.
 
 getEdCtrlColorLabelValue (ctrlstr)
 Get a color label control value.
 
 setEdCtrlColorLabelValue (ctrlstr, val)
 Set a color label control text value.
 
 setEdCtrlColorLabelEnable (ctrlstr, state)
 Enable or disable a color label control.
 
 crEdCtrlColorLabel (winstr, x, y, w, h, value, resize, bgcolor, themestr)
 Create a color label control.
 
 dsEdCtrlColorLabel (ctrlstr)
 Destroy a color label control.
 

Detailed Description

Text label control

Function Documentation

◆ getEdCtrlLabelValue()

getEdCtrlLabelValue ( ctrlstr  )

Get a label control value.

Prototype: fun [EdControl] S

Parameters
EdControl: label control structure
Returns
S : the label control text value

◆ setEdCtrlLabelValue()

setEdCtrlLabelValue ( ctrlstr  ,
val   
)

Set a label control text value.

Prototype: fun [EdControl S] I

Parameters
EdControl: label control structure
S: text value
Returns
I : 0

◆ setEdCtrlLabelEnable()

setEdCtrlLabelEnable ( ctrlstr  ,
state   
)

Enable or disable a label control.

Prototype: fun [EdControl I] I

Parameters
EdControl: label control structure
I: state, 0 to disable, 1 to enable
Returns
I : 0

◆ crEdCtrlLabel()

crEdCtrlLabel ( winstr  ,
,
,
,
,
value  ,
resize   
)

Create a label control.

Prototype: fun [EdWindow I I I I S I] EdControl

Parameters
EdWindow: mother window structure
I: X position
I: Y position
I: width
I: height
S: text value
I: resize flags
Returns
EdControl : new label control

◆ crEdCtrlLabelEx()

crEdCtrlLabelEx ( winstr  ,
,
,
,
,
value  ,
flags  ,
resize   
)

Create a label control.

Prototype: fun [EdWindow I I I I S I I] EdControl

Parameters
EdWindow: mother window structure
I: X position
I: Y position
I: width
I: height
S: text value
I: text flags
I: resize flags
Returns
EdControl : new label control

◆ dsEdCtrlLabel()

dsEdCtrlLabel ( ctrlstr  )

Destroy a label control.

Prototype: fun [EdControl] I

Parameters
EdControl: label control structure
Returns
I : 0

◆ getEdCtrlColorLabelValue()

getEdCtrlColorLabelValue ( ctrlstr  )

Get a color label control value.

Prototype: fun [EdControl] S

Parameters
EdControl: label control structure
Returns
S : the label control text value

◆ setEdCtrlColorLabelValue()

setEdCtrlColorLabelValue ( ctrlstr  ,
val   
)

Set a color label control text value.

Prototype: fun [EdControl S] I

Parameters
EdControl: label control structure
S: text value
Returns
I : 0

◆ setEdCtrlColorLabelEnable()

setEdCtrlColorLabelEnable ( ctrlstr  ,
state   
)

Enable or disable a color label control.

Prototype: fun [EdControl I] I

Parameters
EdControl: label control structure
I: state, 0 to disable, 1 to enable
Returns
I : 0

◆ crEdCtrlColorLabel()

crEdCtrlColorLabel ( winstr  ,
,
,
,
,
value  ,
resize  ,
bgcolor  ,
themestr   
)

Create a color label control.

Prototype: fun [EdWindow I I I I S I I EdTheme] EdControl

Parameters
EdWindow: mother window structure
I: X position
I: Y position
I: width
I: height
S: text value
I: resize flags
I: background color
EdTheme: theme structure to use
Returns
EdControl : new label control

◆ dsEdCtrlColorLabel()

dsEdCtrlColorLabel ( ctrlstr  )

Destroy a color label control.

Prototype: fun [EdControl] I

Parameters
EdControl: label control structure
Returns
I : 0