Project

General

Profile

OpenSpace3D libs
OpenSpace 3D libraries for plugITs and OS3D developer

Functions

 setEdCtrlBitmap (ctrlstr, bmppath)
 Set a bitmap control bitmap path. More...
 
 getEdCtrlBitmapBuffer (ctrlstr)
 Get a bitmap control buffer. More...
 
 setEdCtrlBitmapColor (ctrlstr, bgcolor)
 Set a bitmap control background color. More...
 
 paintEdCtrlBitmap (ctrlstr)
 Paint a bitmap control. More...
 
 crEdCtrlBitmap (winstr, x, y, w, h, bmppath, bgcolor, resize)
 Create a bitmap control. More...
 
 crEdCtrlBitmap2 (winstr, x, y, w, h, bmpbase, bgcolor, resize)
 Create a bitmap control. More...
 
 crEdCtrlGrid (winstr, x, y, w, h, bgcolor, dotcolor, dotspace, resize)
 Create a bitmap control to display a grid. More...
 
 dsEdCtrlBitmap (ctrlstr)
 Destroy a bitmap control. More...
 

Detailed Description

Bitmap control

Function Documentation

◆ setEdCtrlBitmap()

setEdCtrlBitmap ( ctrlstr  ,
bmppath   
)

Set a bitmap control bitmap path.

Prototype: fun [EdControl S] I

Parameters
EdControl: bitmap control structure
S: the new bitmap path
Returns
0

◆ getEdCtrlBitmapBuffer()

getEdCtrlBitmapBuffer ( ctrlstr  )

Get a bitmap control buffer.

Prototype: fun [EdControl] ObjBitmap

Parameters
EdControl: bitmap control structure
Returns
ObjBitmap : the bitmap buffer

◆ setEdCtrlBitmapColor()

setEdCtrlBitmapColor ( ctrlstr  ,
bgcolor   
)

Set a bitmap control background color.

Prototype: fun [EdControl I] I

Parameters
EdControl: bitmap control structure
I: the RGB background color
Returns
0

◆ paintEdCtrlBitmap()

paintEdCtrlBitmap ( ctrlstr  )

Paint a bitmap control.

Prototype: fun [EdControl] I

Parameters
EdControl: bitmap control structure
Returns
0

◆ crEdCtrlBitmap()

crEdCtrlBitmap ( winstr  ,
,
,
,
,
bmppath  ,
bgcolor  ,
resize   
)

Create a bitmap control.

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

Parameters
EdWindow: parent control window
I: X position
I: Y position
I: width
I: height
S: the bitmap path, use nil for plain color
I: RGB background color
I: resize flags
Returns
EdControl

◆ crEdCtrlBitmap2()

crEdCtrlBitmap2 ( winstr  ,
,
,
,
,
bmpbase  ,
bgcolor  ,
resize   
)

Create a bitmap control.

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

Parameters
EdWindow: parent control window
I: X position
I: Y position
I: width
I: height
ObjBitmap: bitmap to use
I: RGB background color
I: resize flags
Returns
EdControl

◆ crEdCtrlGrid()

crEdCtrlGrid ( winstr  ,
,
,
,
,
bgcolor  ,
dotcolor  ,
dotspace  ,
resize   
)

Create a bitmap control to display a grid.

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

Parameters
EdWindow: parent control window
I: X position
I: Y position
I: width
I: height
I: RGB background color
I: RGB grid dot color
I: dot space in pixel
I: resize flags
Returns
EdControl

◆ dsEdCtrlBitmap()

dsEdCtrlBitmap ( ctrlstr  )

Destroy a bitmap control.

Prototype: fun [EdControl] I

Parameters
EdControl: bitmap control structure
Returns
0