OpenSpace3D libs
OpenSpace 3D libraries for plugITs and OS3D developer
|
Loading...
Searching...
No Matches
Bitmap control
Functions | |
setEdCtrlBitmapCbClick (ctrlstr, cbfun) | |
Define the bitmap control cursor click callback. | |
setEdCtrlBitmapCbCursorMove (ctrlstr, cbfun) | |
Define the bitmap control cursor move callback. | |
setEdCtrlBitmap (ctrlstr, bmppath) | |
Set a bitmap control bitmap path. | |
setEdCtrlBitmap2 (ctrlstr, bmpbase) | |
Set a bitmap control bitmap. | |
getEdCtrlBitmapBuffer (ctrlstr) | |
Get a bitmap control buffer. | |
setEdCtrlBitmapColor (ctrlstr, bgcolor) | |
Set a bitmap control background color. | |
paintEdCtrlBitmap (ctrlstr) | |
Paint a bitmap control. | |
crEdCtrlBitmap (winstr, x, y, w, h, bmppath, bgcolor, resize) | |
Create a bitmap control. | |
crEdCtrlBitmapExt (winstr, x, y, w, h, bmppath, bgcolor, resize, split) | |
Create a bitmap control. | |
crEdCtrlBitmap2 (winstr, x, y, w, h, bmpbase, bgcolor, resize) | |
Create a bitmap control. | |
cbEdCtrlBitmapResizeGridResource (cmpbmp, p, w, h, oldval) | |
Create a bitmap control. | |
crEdCtrlGrid (winstr, x, y, w, h, bgcolor, dotcolor, dotspace, resize) | |
Create a bitmap control to display a grid. | |
dsEdCtrlBitmap (ctrlstr) | |
Destroy a bitmap control. | |
Detailed Description
Bitmap control
Function Documentation
◆ setEdCtrlBitmapCbClick()
setEdCtrlBitmapCbClick | ( | ctrlstr | , |
cbfun | |||
) |
Define the bitmap control cursor click callback.
Prototype: fun [EdControl fun [EdControl I I I I] u0] I
- Parameters
-
EdControl : bitmap control structure fun [EdControl I I I I] u0 : validation callback - EdControl : the same bitmap control structure - I : X coordinate in the bitmap - I : Y coordinate in the bitmap - I : Mouse button clicked. Can be any of LBUTTON, MBUTTON or RBUTTON - I : Mask. Can be a combination of any of MK_LBUTTON, MK_MBUTTON, MK_RBUTTON, MK_CONTROL and MK_SHIFT
- Returns
- 0
◆ setEdCtrlBitmapCbCursorMove()
setEdCtrlBitmapCbCursorMove | ( | ctrlstr | , |
cbfun | |||
) |
Define the bitmap control cursor move callback.
Prototype: fun [EdControl fun [EdControl I I I] u0] I
- Parameters
-
EdControl : bitmap control structure fun [EdControl I I I] u0 : validation callback - EdControl : the same bitmap control structure - I : X coordinate in the bitmap - I : Y coordinate in the bitmap - I : Mask. Can be a combination of any of MK_LBUTTON, MK_MBUTTON, MK_RBUTTON, MK_CONTROL and MK_SHIFT
- Returns
- 0
◆ setEdCtrlBitmap()
setEdCtrlBitmap | ( | ctrlstr | , |
bmppath | |||
) |
◆ setEdCtrlBitmap2()
setEdCtrlBitmap2 | ( | ctrlstr | , |
bmpbase | |||
) |
◆ getEdCtrlBitmapBuffer()
getEdCtrlBitmapBuffer | ( | ctrlstr | ) |
◆ setEdCtrlBitmapColor()
setEdCtrlBitmapColor | ( | ctrlstr | , |
bgcolor | |||
) |
◆ paintEdCtrlBitmap()
paintEdCtrlBitmap | ( | ctrlstr | ) |
◆ crEdCtrlBitmap()
crEdCtrlBitmap | ( | winstr | , |
x | , | ||
y | , | ||
w | , | ||
h | , | ||
bmppath | , | ||
bgcolor | , | ||
resize | |||
) |
◆ crEdCtrlBitmapExt()
crEdCtrlBitmapExt | ( | winstr | , |
x | , | ||
y | , | ||
w | , | ||
h | , | ||
bmppath | , | ||
bgcolor | , | ||
resize | , | ||
split | |||
) |
Create a bitmap control.
Prototype: fun [EdWindow I I I I S I 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 I : strech mode, 0 streched, 1 splited, 2 fit
- Returns
- EdControl
◆ crEdCtrlBitmap2()
crEdCtrlBitmap2 | ( | winstr | , |
x | , | ||
y | , | ||
w | , | ||
h | , | ||
bmpbase | , | ||
bgcolor | , | ||
resize | |||
) |
◆ cbEdCtrlBitmapResizeGridResource()
cbEdCtrlBitmapResizeGridResource | ( | cmpbmp | , |
p | , | ||
w | , | ||
h | , | ||
oldval | |||
) |
Create a bitmap control.
Prototype: fun [EdWindow I I I I S I I] EdControl
- Parameters
-
EdWindow : parent control window ObjContainer : container to create the bitmap in I : X position in the container I : Y position int the container I : width I : height S : the bitmap path, use nil for plain color I : RGB background color I : resize flags
- Returns
- EdControl
Callback on a bitmap control resource resize to paint a grid
Private
Prototype: fun [CompBitmap [EdControl I] I I [I I I I]] I
- Returns
- 0
◆ crEdCtrlGrid()
crEdCtrlGrid | ( | winstr | , |
x | , | ||
y | , | ||
w | , | ||
h | , | ||
bgcolor | , | ||
dotcolor | , | ||
dotspace | , | ||
resize | |||
) |
◆ dsEdCtrlBitmap()
Generated by 1.9.8