|
OpenSpace3D libs
OpenSpace 3D libraries for plugITs and OS3D developer
|
Loading...
Searching...
No Matches
Toolbar control
Modules | |
| EdToolBar flags | |
Functions | |
| setEdToolBarText (t, cmptxt, val, txtcolor) | |
| Set a toolbar text value. | |
| crEdToolBarText (t, txt, fontname, fontsize, fontflag, txtcolor, flags, align) | |
| Create a toolbar text element. | |
| setEdToolBarCheckState (t, chk, state) | |
| Change the toolbar check element state. | |
| setEdToolBarCheckEnable (t, chk, state) | |
| Enable or disable the toolbar check element. | |
| setEdToolBarCheckCbClick (t, check, cbclick) | |
| Set the toolbar check element click callback. | |
| setEdToolBarCheckToolTip (t, check, bubble) | |
| Set the toolbar check element tooltip content. | |
| crEdToolBarCheck (t, abmp, align, bubble, cbclick) | |
| Create a toolbar check element. | |
| setEdToolBarButtonEnable (t, btn, state) | |
| Enable or disable the toolbar button element. | |
| setEdToolBarButtonCbClick (t, button, cbclick) | |
| Set the toolbar button element click callback. | |
| setEdToolBarButtonToolTip (t, check, bubble) | |
| Set the toolbar button element tooltip content. | |
| crEdToolBarButton (t, abmp, align, bubble, cbclick) | |
| Create a toolbar button element. | |
| setEdToolBarBitmapToolTip (t, check, bubble) | |
| Set the toolbar bitmap element tooltip content. | |
| crEdToolBarBitmap (t, abmp, align, bubble, cbclick) | |
| Create a toolbar bitmap element. | |
| sizeEdToolBar (t, x, y, w, h) | |
| Resize a toolbar. | |
| paintEdToolBar (t) | |
| Paint a toolbar. | |
| setEdToolBarDbClick (t, cbfun) | |
| Set the toolbar double click Callback. | |
| setEdToolBarClick (t, cbfun) | |
| Set the toolbar click Callback. | |
| setEdToolBarVisible (t, mode) | |
| Set the toolbar visibility. | |
Detailed Description
Toolbar control
Function Documentation
◆ setEdToolBarText()
| setEdToolBarText | ( | t | , |
| cmptxt | , | ||
| val | , | ||
| txtcolor | |||
| ) |
◆ crEdToolBarText()
| crEdToolBarText | ( | t | , |
| txt | , | ||
| fontname | , | ||
| fontsize | , | ||
| fontflag | , | ||
| txtcolor | , | ||
| flags | , | ||
| align | |||
| ) |
Create a toolbar text element.
Prototype: fun [EdToolBar S S I I I I I] CompText
- Parameters
-
EdToolBar : tool bar structure S : text value to set S : font name for the text I : font size I : font flags (FF_WEIGHT, FF_ITALIC, FF_UNDERLINE, FF_STRIKED, FF_PIXEL) I : text color I : CompText creation flags I : toolbar align flag (ETB_ALIGN_LEFT, ETB_ALIGN_RIGHT, ETB_ALIGN_BOTTOM, ETB_ALIGN_TOP)
- Returns
- CompText : the new text element
◆ setEdToolBarCheckState()
| setEdToolBarCheckState | ( | t | , |
| chk | , | ||
| state | |||
| ) |
◆ setEdToolBarCheckEnable()
| setEdToolBarCheckEnable | ( | t | , |
| chk | , | ||
| state | |||
| ) |
◆ setEdToolBarCheckCbClick()
| setEdToolBarCheckCbClick | ( | t | , |
| check | , | ||
| cbclick | |||
| ) |
◆ setEdToolBarCheckToolTip()
| setEdToolBarCheckToolTip | ( | t | , |
| check | , | ||
| bubble | |||
| ) |
◆ crEdToolBarCheck()
| crEdToolBarCheck | ( | t | , |
| abmp | , | ||
| align | , | ||
| bubble | , | ||
| cbclick | |||
| ) |
Create a toolbar check element.
Prototype: fun [EdToolBar AlphaBitmap I S fun [EdToolBar CompCheck I I I] I] CompCheck
- Parameters
-
EdToolBar : tool bar structure AlphaBitmap : alpha bitmap to use as graphic check I : toolbar align flag (ETB_ALIGN_LEFT, ETB_ALIGN_RIGHT, ETB_ALIGN_BOTTOM, ETB_ALIGN_TOP) S : tooltip text fun [EdToolBar CompCheck I I I] I : callback on click
- Returns
- I : 0
◆ setEdToolBarButtonEnable()
| setEdToolBarButtonEnable | ( | t | , |
| btn | , | ||
| state | |||
| ) |
◆ setEdToolBarButtonCbClick()
| setEdToolBarButtonCbClick | ( | t | , |
| button | , | ||
| cbclick | |||
| ) |
◆ setEdToolBarButtonToolTip()
| setEdToolBarButtonToolTip | ( | t | , |
| check | , | ||
| bubble | |||
| ) |
◆ crEdToolBarButton()
| crEdToolBarButton | ( | t | , |
| abmp | , | ||
| align | , | ||
| bubble | , | ||
| cbclick | |||
| ) |
Create a toolbar button element.
Prototype: fun [EdToolBar AlphaBitmap I S fun [EdToolBar CompRollOver I I] I] CompRollOver
- Parameters
-
EdToolBar : tool bar structure AlphaBitmap : alpha bitmap to use as graphic button I : toolbar align flag (ETB_ALIGN_LEFT, ETB_ALIGN_RIGHT, ETB_ALIGN_BOTTOM, ETB_ALIGN_TOP) S : tooltip text fun [EdToolBar CompRollOver I I] I : callback on click
- Returns
- CompRollOver : new button
◆ setEdToolBarBitmapToolTip()
| setEdToolBarBitmapToolTip | ( | t | , |
| check | , | ||
| bubble | |||
| ) |
◆ crEdToolBarBitmap()
| crEdToolBarBitmap | ( | t | , |
| abmp | , | ||
| align | , | ||
| bubble | , | ||
| cbclick | |||
| ) |
Create a toolbar bitmap element.
Prototype: fun [EdToolBar AlphaBitmap I S fun [EdToolBar I I I] I] CompRollOver
- Parameters
-
EdToolBar : tool bar structure AlphaBitmap : alpha bitmap to use as graphic bitmap I : toolbar align flag (ETB_ALIGN_LEFT, ETB_ALIGN_RIGHT, ETB_ALIGN_BOTTOM, ETB_ALIGN_TOP) S : tooltip text fun [EdToolBar I I I] I : callback on click
- Returns
- I : 0
◆ sizeEdToolBar()
| sizeEdToolBar | ( | t | , |
| x | , | ||
| y | , | ||
| w | , | ||
| h | |||
| ) |
◆ paintEdToolBar()
| paintEdToolBar | ( | t | ) |
◆ setEdToolBarDbClick()
| setEdToolBarDbClick | ( | t | , |
| cbfun | |||
| ) |
◆ setEdToolBarClick()
| setEdToolBarClick | ( | t | , |
| cbfun | |||
| ) |
◆ setEdToolBarVisible()
Generated by