Project

General

Profile

OpenSpace3D libs
OpenSpace 3D libraries for plugITs and OS3D developer
Loading...
Searching...
No Matches

Functions

 getEdCtrlColorButtonColor (ctrlstr)
 Get a Color button control color.
 
 setEdCtrlColorButtonColor (ctrlstr, color)
 Set a Color button control color.
 
 setEdCtrlColorButtonEnable (ctrlstr, state)
 Set a Color button control state.
 
 setEdCtrlColorButtonCb (ctrlstr, cbfun)
 Define a Color button control, color selection callback.
 
 crEdCtrlColorButton (winstr, x, y, w, h, color, mode, resize, themestr)
 Create a Color button control.
 
 dsEdCtrlColorButton (ctrlstr)
 Destroy a Color button control.
 

Detailed Description

Color button control

Function Documentation

◆ getEdCtrlColorButtonColor()

getEdCtrlColorButtonColor ( ctrlstr  )

Get a Color button control color.

Prototype: fun [EdControl] I

Parameters
EdControl: Color button control structure
Returns
I : the button color

◆ setEdCtrlColorButtonColor()

setEdCtrlColorButtonColor ( ctrlstr  ,
color   
)

Set a Color button control color.

Prototype: fun [EdControl I] EdControl

Parameters
EdControl: Color button control structure
I: new Color
Returns
EdControl : the button

◆ setEdCtrlColorButtonEnable()

setEdCtrlColorButtonEnable ( ctrlstr  ,
state   
)

Set a Color button control state.

Prototype: fun [EdControl I] EdControl

Parameters
EdControl: Color button control structure
I: new state
Returns
EdControl : the button

◆ setEdCtrlColorButtonCb()

setEdCtrlColorButtonCb ( ctrlstr  ,
cbfun   
)

Define a Color button control, color selection callback.

Prototype: fun [EdControl fun [EdControl I] u0] I

Parameters
EdControl: Color button control structure
fun[EdControl I] u0 : selection callback
-EdControl : the same Color button control structure
-I : the selected color
Returns
0

◆ crEdCtrlColorButton()

crEdCtrlColorButton ( winstr  ,
,
,
,
,
color  ,
mode  ,
resize  ,
themestr   
)

Create a Color button control.

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

Parameters
EdWindow: parent control window
I: X position
I: Y position
I: width
I: height
I: default color
I: 1 for RGBA colors, 0 for RGB
I: resize flags
EdTheme: theme structure to use
Returns
EdControl

◆ dsEdCtrlColorButton()

dsEdCtrlColorButton ( ctrlstr  )

Destroy a Color button control.

Prototype: fun [EdControl] I

Parameters
EdControl: Color button control structure
Returns
0