type alias Clipboard.Type Aliases | [src] |
ValueFormat | Clipboard.ValueFormat | |
FrameCallback | FrameCallback | |
HookEvent | HookEvent | |
RichEditStyleRef | RichEditStyleRef | |
WndId | WndId |
struct Gui.AboutDlg | [src] |
using dialog | Dialog | |
labelIcon | *Label | |
labelMessageTitle | *Label | |
labelMessage | *Label |
create | Creates the message box. |
doModal | Display the box, centered, and returns the id of the pressed button. |
func AboutDlg.create | [src] |
Creates the message box.
func AboutDlg.doModal | [src] |
Display the box, centered, and returns the id of the pressed button.
struct Gui.AboutDlgParams | [src] |
dlgTitle | string | |
messageTitle | string | |
message | string | |
iconTitle | Icon | Icon that will be displayed in the title bar. |
bigIcon | Icon | Big icon, inside the dialog. |
struct Gui.ActionContext | [src] |
wnd | *Wnd | |
id | WndId |
enum Gui.AddItemFlags | [src] |
Zero | |
Name | |
Description |
enum Gui.AnchorStyle | [src] |
None | |
X | |
Y | |
Width | |
Height |
struct Gui.Application | [src] |
using native | ApplicationNative | |
sigFrame | SigArray'(func(*Gui.Application)) | |
options | ApplicationOptions | |
appIcon | Pixel.Image | |
renderer | Pixel.RenderOgl | |
theme | *Theme | |
style | ThemeStyle | |
keyb | Core.Input.Keyboard | |
mouse | Core.Input.Mouse | |
mainSurface | *Surface | |
postedEvents | Core.Array'(*Gui.Event) | |
surfaces | Core.Array'(*Gui.Surface) | |
postDestroy | Core.Array'(*Gui.Wnd) | |
hookOnEvent | Core.Array'(*Gui.Wnd) | |
cursorStack | Core.Array'(Gui.Cursor) | |
endModalExit | WndId | |
inModalLoop | u32 | |
quitCode | s32 | |
timing | Core.Time.FrameTiming | |
mustQuit | bool | |
endModal | bool | |
isActivated | bool | |
fadeDisabledSurface | bool | |
mutexPostedEvents | Core.Sync.Mutex | |
duringTimerEvents | bool | |
timers | Core.Array'(*Gui.Timer) | |
timersToAdd | Core.Array'(*Gui.Timer) | |
timersToDelete | Core.Array'(*Gui.Timer) | |
frameEvents | Core.Array'(*Gui.Wnd) | |
modalSurfaces | Core.Array'(*Gui.Surface) | |
toDelete | Core.Array'({ptr:*void,type:const *Swag.TypeInfo}) | |
mouseEnterWnd | *Wnd | |
mouseCaptureWnd | *Wnd | |
keybFocusWnd | *Wnd | |
maxRunFrame | u32 | |
configPath | Core.String | |
hotKeys | Core.Array'(Gui.KeyShortcut) |
addTimer | Register a new timer for the given target. |
createSurface | Creates a new surface. |
deleteTimer | Delete and unregister timer. |
destroyWnd | Destroy a window To cleanly close a window, you should call wnd.destroy(). |
doModalLoop | |
exitModal | End current modal for. |
getDirectoryIcon | |
getDt | |
getFileIcon | |
getHotKeyShortcut | Get the id associated with a shortcut. null if none. |
getHotKeyShortcutNameFor | Get the name associated with a given id shortcut. |
getKeyboard | |
getMouse | |
getMouseCapture | Return the captured wnd for mouse. |
getRenderer | |
getWndAtMouse | Returns the window under the given point. |
invalidate | Force all surfaces to be painted. |
loadState | Load the application state. |
popCursor | Pop a new mouse cursor. |
postEvent | Post a new event (thread safe). |
postQuitEvent | Ask to exit the application. |
pushCursor | Push a new mouse cursor. |
registerFrameEvent | Register a window to receive a FrameEvent each running for. |
registerHookEvents | Register a window to receive hook events. |
registerHotKey | Register a global os key action. |
run | Run until exit. |
runFrame | |
runSurface | Create a main surface, and run. |
saveState | Save the application state. |
sendEvent | |
setActivated | Set activated state. |
setAppIcon | Associate a configuration file. |
setConfigPath | Associate a configuration file. |
unregisterFrameEvent | Unregister a window that receives a FrameEvent each running for. |
unregisterHookEvents | Unregister a window to receive hook events. |
opDrop |
func Application.addTimer | [src] |
Register a new timer for the given target.
func Application.createSurface | [src] |
Creates a new surface.
func Application.deleteTimer | [src] |
Delete and unregister timer.
func Application.destroyWnd | [src] |
Destroy a window To cleanly close a window, you should call wnd.destroy().
func Application.doModalLoop | [src] |
func Application.exitModal | [src] |
End current modal for.
func Application.getDirectoryIcon | [src] |
func Application.getDt | [src] |
func Application.getFileIcon | [src] |
func Application.getHotKeyShortcut | [src] |
Get the id associated with a shortcut. null if none.
func Application.getHotKeyShortcutNameFor | [src] |
Get the name associated with a given id shortcut.
func Application.getKeyboard | [src] |
func Application.getMouse | [src] |
func Application.getMouseCapture | [src] |
Return the captured wnd for mouse.
func Application.getRenderer | [src] |
func Application.getWndAtMouse | [src] |
Returns the window under the given point.
func Application.invalidate | [src] |
Force all surfaces to be painted.
func Application.loadState | [src] |
Load the application state.
func Application.opDrop | [src] |
func Application.popCursor | [src] |
Pop a new mouse cursor.
func Application.postEvent | [src] |
Post a new event (thread safe).
func Application.postQuitEvent | [src] |
Ask to exit the application.
func Application.pushCursor | [src] |
Push a new mouse cursor.
func Application.registerFrameEvent | [src] |
Register a window to receive a FrameEvent each running for.
func Application.registerHookEvents | [src] |
Register a window to receive hook events.
func Application.registerHotKey | [src] |
Register a global os key action.
func Application.run | [src] |
Run until exit.
func Application.runFrame | [src] |
func Application.runSurface | [src] |
Create a main surface, and run.
func Application.saveState | [src] |
Save the application state.
func Application.sendEvent | [src] |
func Application.setActivated | [src] |
Set activated state.
func Application.setAppIcon | [src] |
Associate a configuration file.
func Application.setConfigPath | [src] |
Associate a configuration file.
func Application.unregisterFrameEvent | [src] |
Unregister a window that receives a FrameEvent each running for.
func Application.unregisterHookEvents | [src] |
Unregister a window to receive hook events.
struct Gui.ApplicationNative | [src] |
fileSmallIconsImage | Pixel.Image | |
fileSmallIconsImageList | ImageList | |
mapFileSmallIcons | Core.HashTable'(string, s32) | |
fileBigIconsImage | Pixel.Image | |
fileBigIconsImageList | ImageList | |
mapFileBigIcons | Core.HashTable'(string, s32) |
struct Gui.ApplicationOptions | [src] |
showClipRect | bool |
enum Gui.BackgroundStyle | [src] |
Transparent | |
Window | |
Dialog | |
DialogBar | |
View |
struct Gui.BlendColor | [src] |
Used to animate the blending of a color.
curVec4 | Core.Math.Vector4 | |
startVec4 | Core.Math.Vector4 | |
destVec4 | Core.Math.Vector4 | |
factor | f32 | |
start | bool | |
speed | f32 |
apply | Apply the color lerp to reach target. |
cur | Get the current color. |
reset | Reset the blend. |
func BlendColor.apply | [src] |
Apply the color lerp to reach target.
func BlendColor.cur | [src] |
Get the current color.
func BlendColor.reset | [src] |
Reset the blend.
struct Gui.Button | [src] |
using wnd | Wnd | |
icon | Icon | |
iconSizeX | f32 | |
iconSizeY | f32 | |
sigPressed | SigArray'(func(*Gui.Button)) | |
sigRightPressed | SigArray'(func(*Gui.Button)) | |
isPressed | bool | |
isPressing | bool | |
isHot | bool | |
isIn | bool |
enum Gui.ButtonCheckState | [src] |
UnChecked | |
Checked | |
Undefined |
struct Gui.CheckButton | [src] |
using button | Button | |
checked | ButtonCheckState | |
checkButtonFlags | CheckButtonFlags | |
sigChanged | SigArray'(func(*Gui.CheckButton)) |
create |
func IWnd.onMouseEvent | [src] |
func IWnd.onPaintEvent | [src] |
func CheckButton.create | [src] |
enum Gui.CheckButtonFlags | [src] |
Zero | |
ThreeState | |
RightAlign |
namespace Gui.Clipboard |
addImage | Add an image. |
addString | Add string to clipboard. |
addTypedData | Add data of a given format of the given type to the clipboard type can be null to just check for the given clipboard format. |
addTypedValue | Add whatever value with a given type. |
getImage | Get image from clipboard. |
getString | Get utf8 string from clipboard. |
getTypedData | Get data of the given format and type type can be null to just check for the given clipboard format. |
getTypedValue | Get whatever value with a given type. |
hasFormat | Returns true if the clipboard contains the given format. |
hasImage | Returns true if the clipbboard contains an image. |
hasString | Returns true if the clipboard contains a string. |
hasTypedData | Returns true if the clipboard contains the given format of the given type. |
hasTypedValue | Get whatever value with a given type. |
registerFormat | Register a new format. |
func Clipboard.addImage | [src] |
Add an image.
func Clipboard.addString | [src] |
Add string to clipboard.
func Clipboard.addTypedData | [src] |
Add data of a given format of the given type to the clipboard type can be null to just check for the given clipboard format.
func Clipboard.addTypedValue | [src] |
Add whatever value with a given type.
func Clipboard.getImage | [src] |
Get image from clipboard.
func Clipboard.getString | [src] |
Get utf8 string from clipboard.
func Clipboard.getTypedData | [src] |
Get data of the given format and type type can be null to just check for the given clipboard format.
func Clipboard.getTypedValue | [src] |
Get whatever value with a given type.
func Clipboard.hasFormat | [src] |
Returns true if the clipboard contains the given format.
func Clipboard.hasImage | [src] |
Returns true if the clipbboard contains an image.
func Clipboard.hasString | [src] |
Returns true if the clipboard contains a string.
func Clipboard.hasTypedData | [src] |
Returns true if the clipboard contains the given format of the given type.
type can be null to just check for the given clipboard format.
func Clipboard.hasTypedValue | [src] |
Get whatever value with a given type.
func Clipboard.registerFormat | [src] |
Register a new format.
struct Gui.ColorPicker | [src] |
using wnd | Wnd | |
hue | f32 | |
sat | f32 | |
lum | f32 | |
a | f32 | |
r | f32 | |
g | f32 | |
b | f32 | |
mode | ColorPickerMode | |
sigChanged | SigArray'(func(*Gui.ColorPicker)) | |
dirty | bool | |
isMoving | bool | |
img | Pixel.Image | |
texture | Pixel.Texture | |
xCur | s32 | |
yCur | s32 |
change | Change one component, HSL or alpha. |
create | |
getColor | Returns the selected color. |
setColor | Set the base color, and repaint. |
setMode | Set the color picker box mode. |
func IWnd.computeXY | [src] |
func IWnd.onMouseEvent | [src] |
func IWnd.onPaintEvent | [src] |
func IWnd.onPostPaintEvent | [src] |
func ColorPicker.change | [src] |
Change one component, HSL or alpha.
func ColorPicker.create | [src] |
func ColorPicker.getColor | [src] |
Returns the selected color.
func ColorPicker.setColor | [src] |
Set the base color, and repaint.
func ColorPicker.setMode | [src] |
Set the color picker box mode.
struct Gui.ColorPickerCtrl | [src] |
using frameWnd | FrameWnd | |
sigChanged | SigArray'(func(*Gui.ColorPickerCtrl)) | |
oldColor | Pixel.Color | |
color | Pixel.Color | |
pickerFlags | ColorPickerFlags | |
oldColorDone | bool | |
mode | ColorPickerViewMode | |
staticRes | *Wnd | |
pickBox | *ColorPicker | |
pickBar | *ColorPicker | |
pickAlpha | *ColorPicker | |
editA | *EditBox | |
editR | *EditBox | |
editG | *EditBox | |
editB | *EditBox | |
editH | *EditBox | |
radioH | *RadioButton | |
radioL | *RadioButton | |
radioS | *RadioButton | |
radioR | *RadioButton | |
radioG | *RadioButton | |
radioB | *RadioButton |
create | |
createWithPalette | Creates a color picker with a palette on the top. |
getColor | Returns the selected color. |
setColor | Set the selected color. |
setMode | Change the display mode. |
func IWnd.onPaintEvent | [src] |
func ColorPickerCtrl.create | [src] |
func ColorPickerCtrl.createWithPalette | [src] |
Creates a color picker with a palette on the top.
pal should contain the palette colors. Maximum is 9 colors. If less colors are provided, then default colors will be added instead (so if you keep pal empty, all defaults colors will be added).
func ColorPickerCtrl.getColor | [src] |
Returns the selected color.
func ColorPickerCtrl.setColor | [src] |
Set the selected color.
func ColorPickerCtrl.setMode | [src] |
Change the display mode.
enum Gui.ColorPickerFlags | [src] |
Zero | |
Alpha | |
All |
enum Gui.ColorPickerMode | [src] |
SaturationLightness | |
HueSaturation | |
HueLightness | |
GreenBlue | |
RedBlue | |
RedGreen | |
HueVert | |
HueHorz | |
LightnessVert | |
LightnessHorz | |
SaturationVert | |
SaturationHorz | |
AlphaHorz | |
AlphaVert | |
RedHorz | |
RedVert | |
GreenHorz | |
GreenVert | |
BlueHorz | |
BlueVert |
enum Gui.ColorPickerViewMode | [src] |
SaturationLightness | |
HueSaturation | |
HueLightness | |
GreenBlue | |
RedBlue | |
RedGreen |
struct Gui.ComboBox | [src] |
using wnd | Wnd | |
kind | ComboBoxKind | |
minWidthPopup | f32 | |
maxHeightPopup | f32 | |
sigChanged | SigArray'(func(*Gui.ComboBox, u32)) | |
editBox | *EditBox | |
isHot | bool | |
popup | *PopupListCtrl | |
selectedIdx | u32 | |
maxIconSize | s32 | |
aniBk | BlendColor | |
aniBorder | BlendColor | |
aniText | BlendColor |
addItem | Add a new item. |
addSeparator | Add a separator. |
clear | Remove all items. |
create | |
getSelectedItem | Returns the selected item. |
selectItem | Set the selected item index. |
func IWnd.onMouseEvent | [src] |
func IWnd.onPaintEvent | [src] |
func IWnd.onResizeEvent | [src] |
func ComboBox.addItem | [src] |
Add a new item.
func ComboBox.addSeparator | [src] |
Add a separator.
func ComboBox.clear | [src] |
Remove all items.
func ComboBox.create | [src] |
func ComboBox.getSelectedItem | [src] |
Returns the selected item.
func ComboBox.selectItem | [src] |
Set the selected item index.
struct Gui.ComboBoxItem | [src] |
using base | Item | |
isSeparator | bool |
enum Gui.ComboBoxKind | [src] |
Select | |
Edit | |
CheckBox |
struct Gui.ComboCtrl | [src] |
using frameWnd | FrameWnd | |
labelSize | f32 | |
comboSize | f32 | |
label | *Label | |
combo | *ComboBox |
create |
func IWnd.onResizeEvent | [src] |
func ComboCtrl.create | [src] |
struct Gui.CommandEvent | [src] |
using base | Event | |
id | WndId | |
source | *Wnd |
struct Gui.CommandStateEvent | [src] |
using base | Event | |
id | WndId | |
source | *Wnd | |
icon | Icon | |
name | Core.String | |
longName | Core.String | |
shortcut | Core.String | |
toolTip | Core.String | |
setFlags | CommandStateEvent.SetFlags | |
disabled | bool | |
checked | bool | |
hidden | bool |
struct Gui.CreateEvent | [src] |
using base | Event |
struct Gui.Cursor | [src] |
using native | NativeCursor |
apply | |
clear | |
from | |
wait | Force the wait cursor. |
func Cursor.apply | [src] |
func Cursor.clear | [src] |
func Cursor.from | [src] |
func Cursor.wait | [src] |
Force the wait cursor.
enum Gui.CursorShape | [src] |
Arrow | |
SizeWE | |
SizeNS | |
SizeNWSE | |
SizeNESW | |
SizeAll | |
Cross | |
Help | |
Hand | |
IBeam | |
No | |
Wait |
struct Gui.DestroyEvent | [src] |
using base | Event |
struct Gui.Dialog | [src] |
using wnd | Wnd | |
wndBottom | *StackLayoutCtrl | |
buttons | Core.Array'(*Gui.PushButton) | |
sigPressedButton | func(*Dialog, WndId)->bool |
addButton | Add a button. |
createDialog | Creates a simple dialog box. |
createSurface | Creates an associated surface. |
doModal | Display dialog as modal, and returns the user selected window id. |
getView | Returns the view where stuff can be put. |
validateId |
func IWnd.onKeyEvent | [src] |
func IWnd.onSysCommandEvent | [src] |
func Dialog.addButton | [src] |
Add a button.
func Dialog.createDialog | [src] |
Creates a simple dialog box.
func Dialog.createSurface | [src] |
Creates an associated surface.
func Dialog.doModal | [src] |
Display dialog as modal, and returns the user selected window id.
func Dialog.getView | [src] |
Returns the view where stuff can be put.
func Dialog.validateId | [src] |
enum Gui.DockStyle | [src] |
Automatic placement and size of the window in the parent client rectangle.
None | |
Top | Stack to the top, keeping the vertical size. |
Left | Stack to the left, keeping the horizontal size. |
Right | Stack to the right, keeping the horizontal size. |
Bottom | Stack to the bottom, keeping the vertical size. |
Center | Fill the remaining parent rect. |
CenterKeepSizeVert | Fill the remaining parent rect horizontally, but keep the vertical size. |
func Gui.DwmExtendFrameIntoClientArea | [src] |
struct Gui.EditBox | [src] |
using wnd | Wnd | |
icon | Icon | |
text | Core.String | |
originalText | Core.String | |
unit | Core.String | |
form | EditBoxForm | |
editBoxFlags | EditBoxFlags | |
inputMode | EditBoxInputMode | |
maxLength | s32 | |
rightMargin | f32 | |
sigChanged | SigArray'(func(*Gui.EditBox)) | |
sigLoseFocus | SigArray'(func(*Gui.EditBox)) | |
sigEnterPressed | SigArray'(func(*Gui.EditBox)) | |
sigEscapePressed | SigArray'(func(*Gui.EditBox)) | |
sigCheckContent | func(*EditBox)->EditBoxCheckResult | |
using minMax | {minMaxS64:{min:s64,max:s64},minMaxU64:{min:u64,max:u64},minMaxF64:{min:f64,max:f64}} | |
aniBk | BlendColor | |
aniBorder | BlendColor | |
isInvalid | bool | |
isHot | bool | |
isDragging | bool | |
selBeg | u64 | |
selEnd | u64 | |
timerCaret | *Timer | |
clearBtn | *IconButton | |
visibleCaret | bool | |
posSelBeg | f32 | |
posSelEnd | f32 | |
scrollPosX | f32 | |
countRunes | s32 |
create | |
deleteSelection | Delete selected text. |
getText | Get the associated text. |
isValid | Returns true if the value is valid. |
restoreText | Restore the original text. |
selectAll | Select all text. |
setForm | Set the editbox form. |
setInputF64 | Editbox will edit floating points. |
setInputS64 | Editbox will edit signed integers. |
setInputU64 | Editbox will edit unsigned integers. |
setInputX64 | Editbox will edit unsigned integers in hexadecimal form. |
setNote | Set the editbox note. |
setSelection | Set current selection. |
setText | Set the editbox content. |
setTextSilent | Set the editbox content, but: not notify change. |
func IWnd.onFocusEvent | [src] |
func IWnd.onKeyEvent | [src] |
func IWnd.onMouseEvent | [src] |
func IWnd.onPaintEvent | [src] |
func IWnd.onTimerEvent | [src] |
func EditBox.create | [src] |
func EditBox.deleteSelection | [src] |
Delete selected text.
func EditBox.getText | [src] |
Get the associated text.
func EditBox.isValid | [src] |
Returns true if the value is valid.
Depends if the editbox has some max and min registered values.
func EditBox.restoreText | [src] |
Restore the original text.
The original text is the one stored when the editbox has gained the focus.
func EditBox.selectAll | [src] |
Select all text.
func EditBox.setForm | [src] |
Set the editbox form.
func EditBox.setInputF64 | [src] |
Editbox will edit floating points.
func EditBox.setInputS64 | [src] |
Editbox will edit signed integers.
func EditBox.setInputU64 | [src] |
Editbox will edit unsigned integers.
func EditBox.setInputX64 | [src] |
Editbox will edit unsigned integers in hexadecimal form.
func EditBox.setNote | [src] |
Set the editbox note.
func EditBox.setSelection | [src] |
Set current selection.
func EditBox.setText | [src] |
Set the editbox content.
func EditBox.setTextSilent | [src] |
Set the editbox content, but: not notify change.
enum Gui.EditBoxCheckResult | [src] |
Incomplete | |
Valid | |
InvalidDismiss | |
InvalidShow |
enum Gui.EditBoxFlags | [src] |
Zero | |
AutoLoseFocus | |
ReadOnly | |
RightAlign | |
ClearButton |
enum Gui.EditBoxForm | [src] |
Square | |
Round | |
Flat | |
Transparent |
enum Gui.EditBoxInputMode | [src] |
String | |
S64 | |
U64 | |
F64 | |
X64 |
struct Gui.EditCtrl | [src] |
using frameWnd | FrameWnd | |
labelSize | f32 | |
editSize | f32 | |
label | *Label | |
edit | *EditBox |
create | Create the popup list, but: not display it. |
func IWnd.onResizeEvent | [src] |
func EditCtrl.create | [src] |
Create the popup list, but: not display it.
struct Gui.EditDlg | [src] |
using dialog | Dialog | |
label | *Label | |
edit | *EditBox | |
richEdit | *RichEditCtrl |
createMultiLine | Creates the message box. |
createSingleLine | Creates the message box. |
getText | Get the text. |
setMessage | Associate a message above the editbox. |
setText | Set the text. |
func EditDlg.createMultiLine | [src] |
Creates the message box.
func EditDlg.createSingleLine | [src] |
Creates the message box.
func EditDlg.getText | [src] |
Get the text.
func EditDlg.setMessage | [src] |
Associate a message above the editbox.
func EditDlg.setText | [src] |
Set the text.
struct Gui.EmbInfoCtrl | [src] |
using frameWnd | FrameWnd | |
label | *Label |
create | Create the popup list, but: not display it. |
func EmbInfoCtrl.create | [src] |
Create the popup list, but: not display it.
enum Gui.EmbInfoCtrlKind | [src] |
Critical | |
Information |
struct Gui.Event | [src] |
kind | EventKind | |
type | const *Swag.TypeInfo | |
target | *Wnd | |
accepted | bool |
create() | |
create(EventKind) |
func Event.create | [src] |
enum Gui.EventKind | [src] |
None | |
Create | |
Destroy | |
Resize | |
Move | |
PrePaint | |
Paint | |
PostPaint | |
KeyPressed | |
KeyReleased | |
Rune | |
MouseAccept | |
MousePressed | |
MouseReleased | |
MouseDoubleClick | |
MouseMove | |
MouseEnter | |
MouseLeave | |
MouseWheel | |
Quit | |
SysCommand | |
SetTheme | |
Timer | |
SetFocus | |
KillFocus | |
CanSetFocus | |
CanKillFocus | |
Command | |
ComputeCommandState | |
ApplyCommandState | |
Frame | |
SerializeState | |
Show | |
Hide | |
Invalidate | |
SysUser | |
Notify |
struct Gui.FileDlg | [src] |
using dialog | Dialog | |
treeCtrl | *ListCtrl | |
treePathStr | Core.Array'(Core.String) | |
listCtrl | *ListCtrl | |
comboPath | *ComboBox | |
comboPathStr | Core.Array'(Core.String) | |
editFile | *EditBox | |
comboType | *ComboBox | |
dlgOptions | FileDlgOptions | |
curFolder | Core.String | |
curList | Core.Array'(Core.File.FileInfo) |
create | Creates the message box. |
getSelectedName | Get the first selection. |
getSelectedNames | Get all selections. |
func IWnd.onDestroyEvent | [src] |
func FileDlg.create | [src] |
Creates the message box.
func FileDlg.getSelectedName | [src] |
Get the first selection.
func FileDlg.getSelectedNames | [src] |
Get all selections.
enum Gui.FileDlgMode | [src] |
CreateFile | |
SelectOneFile | |
SelectMultiFiles | |
SelectFolder |
struct Gui.FileDlgOptions | [src] |
title | string | |
btnOkName | string | |
openFolder | string | |
editName | string | |
drivePane | bool | |
mode | FileDlgMode | |
filters | Core.Array'({name:string,extensions:string}) | |
shortcuts | Core.Array'({type:Core.Env.SpecialDirectory,name:string}) | |
state | *FileDlgState |
struct Gui.FileDlgState | [src] |
position | Core.Math.Rectangle | |
curFolder | Core.String |
struct Gui.FocusEvent | [src] |
using base | Event | |
other | *Wnd | |
canChangeFocus | bool |
enum Gui.FocusStategy | [src] |
None | |
MousePressed |
struct Gui.FrameEvent | [src] |
using base | Event | |
firstFrame | bool |
struct Gui.FrameWnd | [src] |
using wnd | Wnd | |
view | *Wnd | |
frameForm | FrameWndForm | |
frameFlags | FrameWndFlags | |
anchor | FrameWndAnchor | |
anchorPos | f32 | |
usedColorBk | Pixel.Color |
createView | |
setFrameFlags | Set the frame wnd flags. |
setFrameForm | Set the frame wnd form. |
setView |
func IWnd.onPaintEvent | [src] |
func IWnd.onPostPaintEvent | [src] |
func IWnd.onPrePaintEvent | [src] |
func IWnd.onResizeEvent | [src] |
func FrameWnd.createView | [src] |
func FrameWnd.setFrameFlags | [src] |
Set the frame wnd flags.
func FrameWnd.setFrameForm | [src] |
Set the frame wnd form.
func FrameWnd.setView | [src] |
enum Gui.FrameWndAnchor | [src] |
None | |
Left | |
Top | |
Right | |
Bottom |
enum Gui.FrameWndFlags | [src] |
Zero | |
Borders | |
FocusBorder | |
SmallShadow |
enum Gui.FrameWndForm | [src] |
Transparent | |
Square | |
Round |
struct Gui.GridLayoutCtrl | [src] |
using wnd | Wnd | |
gridLayoutFlags | GridLayoutCtrlFlags | |
numColumns | s32 | |
numRows | s32 | |
spacingHorz | f32 | |
spacingVert | f32 | |
layout | Core.Array'(*Gui.Wnd) | |
colSizes | Core.Array'(f32) | |
rowSizes | Core.Array'(f32) |
computeLayout | Recompute layout of all childs. |
create | Create a layout control. |
setColRowChild | Set the wnd associated with the given col and row. |
setColSize | Set size, in pixel, of a given column. |
setRowSize | Set size, in pixel, of a given row. |
func IWnd.onResizeEvent | [src] |
func GridLayoutCtrl.computeLayout | [src] |
Recompute layout of all childs.
func GridLayoutCtrl.create | [src] |
Create a layout control.
func GridLayoutCtrl.setColRowChild | [src] |
Set the wnd associated with the given col and row.
Window can cover multiple columns and rows.
func GridLayoutCtrl.setColSize | [src] |
Set size, in pixel, of a given column.
func GridLayoutCtrl.setRowSize | [src] |
Set size, in pixel, of a given row.
enum Gui.GridLayoutCtrlFlags | [src] |
Zero | |
AdaptSizeToContent | |
AdaptColWidth | |
AdaptRowHeight |
struct Gui.Header | [src] |
using wnd | Wnd | |
form | HeaderForm | |
headerFlags | HeaderFlags | |
marginItems | f32 | |
sigLayoutChanged | func(*Header) | |
sigClicked | func(*Header, u32) | |
hotIdx | u32 | |
hotSeparator | bool | |
moving | bool | |
clicked | bool | |
correctMoving | f32 | |
sortColumn | u32 | |
sortMark | s32 |
addItem | Add a new view. |
create | |
getItem | Returns the given item, by index. |
getItemByCol | Returns the given item, by column. |
getItemPosition | Get an item position by index. |
getItemPositionByCol | Get an item position by column. |
getItemWidth | Get an item width by index. |
getItemWidthByCol | Get an item width by column. |
getTotalItemsWidth | Get the header total width. |
setItemWidth | Set an item width by index. |
setItemWidthByCol | Set an item width by column. |
func IWnd.onMouseEvent | [src] |
func IWnd.onPaintEvent | [src] |
func IWnd.paintItem | [src] |
func Header.addItem | [src] |
Add a new view.
func Header.create | [src] |
func Header.getItem | [src] |
Returns the given item, by index.
func Header.getItemByCol | [src] |
Returns the given item, by column.
func Header.getItemPosition | [src] |
Get an item position by index.
func Header.getItemPositionByCol | [src] |
Get an item position by column.
func Header.getItemWidth | [src] |
Get an item width by index.
func Header.getItemWidthByCol | [src] |
Get an item width by column.
func Header.getTotalItemsWidth | [src] |
Get the header total width.
func Header.setItemWidth | [src] |
Set an item width by index.
func Header.setItemWidthByCol | [src] |
Set an item width by column.
enum Gui.HeaderFlags | [src] |
Zero | |
Clickable |
enum Gui.HeaderForm | [src] |
Transparent | |
Flat | |
Round |
struct Gui.HeaderItem | [src] |
name | Pixel.RichString | |
icon | Icon | |
width | f32 | |
minWidth | f32 | |
maxWidth | f32 | |
sizeable | bool | |
clickable | bool | |
iconMargin | bool | |
column | u32 |
interface Gui.IActionUI | [src] |
accept | func(*IActionUI, ActionContext)->bool | |
update | func(*IActionUI, ActionContext, *CommandStateEvent)->bool | |
execute | func(*IActionUI, ActionContext)->bool |
interface Gui.IPropertyNotify | [src] |
To notify a struct about properties changes.
isItemVisible | func(*IPropertyNotify, *Properties, *PropertiesItem)->bool | |
isItemEnabled | func(*IPropertyNotify, *Properties, *PropertiesItem)->bool | |
fillPopupMenu | func(*IPropertyNotify, *Properties, *PropertiesItem, *MenuCtrl) |
interface Gui.IPropertyValue | [src] |
To specialize the edition of a given struct.
construct | func(*IPropertyValue, *Properties, Swag.TypeValue, ^u8, *PropertiesItem)->*PropertiesItem |
interface Gui.IRichEditLexer | [src] |
setup | func(*IRichEditLexer, *RichEditCtrl) | |
insertRune | func(*IRichEditLexer, *RichEditCtrl, rune)->bool | |
compute | func(*IRichEditLexer, *RichEditLine, *RichEditLine, *RichEditLine) |
interface Gui.IWnd | [src] |
onEvent | func(*IWnd, *Event) | |
onHookEvent | func(*IWnd, *Event) | |
onCreateEvent | func(*IWnd, *CreateEvent) | |
onDestroyEvent | func(*IWnd, *DestroyEvent) | |
onStateEvent | func(*IWnd, *StateEvent) | |
onResizeEvent | func(*IWnd, *ResizeEvent) | |
onPrePaintEvent | func(*IWnd, *PaintEvent) | |
onPaintEvent | func(*IWnd, *PaintEvent) | |
onPostPaintEvent | func(*IWnd, *PaintEvent) | |
onKeyEvent | func(*IWnd, *KeyEvent) | |
onMouseEvent | func(*IWnd, *MouseEvent) | |
onSysCommandEvent | func(*IWnd, *SysCommandEvent) | |
onSysUserEvent | func(*IWnd, *SysUserEvent) | |
onSetThemeEvent | func(*IWnd, *SetThemeEvent) | |
onTimerEvent | func(*IWnd, *TimerEvent) | |
onFocusEvent | func(*IWnd, *FocusEvent) | |
onCommandEvent | func(*IWnd, *CommandEvent) | |
onComputeStateEvent | func(*IWnd, *CommandStateEvent) | |
onApplyStateEvent | func(*IWnd, *CommandStateEvent) | |
onFrameEvent | func(*IWnd, *FrameEvent) | |
onSerializeStateEvent | func(*IWnd, *SerializeStateEvent) | |
onNotifyEvent | func(*IWnd, *NotifyEvent) |
struct Gui.Icon | [src] |
imageList | *ImageList | |
index | s32 | |
sizeX | f32 | |
sizeY | f32 |
clear | Set icon to invalid. |
from | Initialize the icon from an image list. |
isValid | |
paint | Paint icon at the given position. |
set | Initialize the icon from an image list. |
func Icon.clear | [src] |
Set icon to invalid.
func Icon.from | [src] |
Initialize the icon from an image list.
func Icon.isValid | [src] |
func Icon.paint | [src] |
Paint icon at the given position.
func Icon.set | [src] |
Initialize the icon from an image list.
struct Gui.IconBar | [src] |
using wnd | Wnd | |
iconBarFlags | IconBarFlags | |
iconSize | f32 | |
iconPadding | f32 | |
sigUpdateState | SigArray'(func(*Gui.CommandStateEvent)) | |
sigCheckChanged | SigArray'(func(*Gui.IconButton)) |
addCheckableItem | Add a new checkable button. |
addCheckableToggleItem | Add a new checkable button. |
addItem | Add a new button. |
create | |
setIconBarFlags | Change bar flags. |
func IWnd.onComputeStateEvent | [src] |
func IconBar.addCheckableItem | [src] |
Add a new checkable button.
func IconBar.addCheckableToggleItem | [src] |
Add a new checkable button.
func IconBar.addItem | [src] |
Add a new button.
func IconBar.create | [src] |
func IconBar.setIconBarFlags | [src] |
Change bar flags.
enum Gui.IconBarFlags | [src] |
Zero | |
Vertical |
struct Gui.IconButton | [src] |
using button | Button | |
form | IconButtonForm | |
iconBtnFlags | IconButtonFlags | |
checkedForm | IconButtonCheckedForm | |
arrowPos | IconButtonArrowPos | |
textPos | IconButtonTextPos | |
sigHidePopup | SigArray'(func(*Gui.IconButton)) | |
sigShowPopup | SigArray'(func(*Gui.IconButton)) | |
sigCheckChanged | SigArray'(func(*Gui.IconButton)) | |
sigPaintIcon | func(*IconButton, *PaintContext, Core.Math.Rectangle) | |
aniBk | BlendColor | |
isChecked | bool | |
popup | *Wnd |
create | |
createAnchorPopup | Creates a popup window linked to the button position. |
setCheck | Set the check state of the button (if the button is checkable). |
setForm | Set the button form. |
func IWnd.hidePopup | [src] |
func IWnd.onApplyStateEvent | [src] |
func IWnd.onDestroyEvent | [src] |
func IWnd.onHookEvent | [src] |
func IWnd.onMouseEvent | [src] |
func IWnd.onPaintEvent | [src] |
func IconButton.create | [src] |
func IconButton.createAnchorPopup | [src] |
Creates a popup window linked to the button position.
func IconButton.setCheck | [src] |
Set the check state of the button (if the button is checkable).
func IconButton.setForm | [src] |
Set the button form.
enum Gui.IconButtonArrowPos | [src] |
None | |
Left | |
Top | |
Right | |
RightUp | |
RightDown | |
Bottom |
enum Gui.IconButtonCheckedForm | [src] |
None | |
Bottom | |
Top | |
Left | |
Right | |
Full |
enum Gui.IconButtonFlags | [src] |
Zero | |
Checkable | |
CheckableToggle | |
Popup | |
Center | |
HideName |
enum Gui.IconButtonForm | [src] |
Square | |
Round | |
RoundSquare |
enum Gui.IconButtonTextPos | [src] |
Left | |
Top | |
Right | |
Bottom |
struct Gui.ImageList | [src] |
texture | Pixel.Texture | |
totalFrames | s32 | |
frameSizeX | s32 | |
frameSizeY | s32 |
countX | |
countY | |
set | Initialize image list. |
func ImageList.countX | [src] |
func ImageList.countY | [src] |
func ImageList.set | [src] |
Initialize image list.
struct Gui.ImageRect | [src] |
using wnd | Wnd | |
movie | Movie | |
textureFrame | Pixel.Texture |
clear | |
create | |
setFile | Load and set movie. |
setImage(self, const &ImageList) | Associate image. |
setImage(self, const &Image) | Associate image. |
setImage(self, const &Texture) | Associate image. |
setMovie | Set movie as an image list. |
func IWnd.onPaintEvent | [src] |
func ImageRect.clear | [src] |
func ImageRect.create | [src] |
func ImageRect.setFile | [src] |
Load and set movie.
func ImageRect.setImage | [src] |
Associate image.
func ImageRect.setMovie | [src] |
Set movie as an image list.
struct Gui.Item | [src] |
name | Pixel.RichString | |
icon | Icon | |
id | WndId | |
userData0 | *void | |
userData1 | *void |
enum Gui.ItemFlags | [src] |
Zero | |
NoSeparator | |
NoFocus | |
Section | |
Category | |
Expanded |
struct Gui.KeyEvent | [src] |
using base | Event | |
modifiers | Core.Input.KeyModifiers | |
key | Core.Input.Key | |
char | rune |
struct Gui.KeyShortcut | [src] |
mdf | Core.Input.KeyModifiers | |
key | Core.Input.Key | |
id | WndId | |
target | *Wnd |
struct Gui.Label | [src] |
using wnd | Wnd | |
sigUrlClicked | SigArray'(func(*Gui.Label, string)) | |
icon | Icon | |
iconColor | Pixel.Color | |
labelFlags | LabelFlags | |
horzAlignmentIcon | Pixel.StringHorzAlignment | |
vertAlignmentIcon | Pixel.StringVertAlignment | |
horzAlignmentText | Pixel.StringHorzAlignment | |
vertAlignmentText | Pixel.StringVertAlignment | |
paddingText | Core.Math.Vector4 | |
paddingIcon | Core.Math.Vector4 | |
hotChunk | *Pixel.RichChunk |
autoHeight | Recompute widget height. |
create | |
getText | Get the text. |
setText | Change the text. |
func IWnd.onMouseEvent | [src] |
func IWnd.onPaintEvent | [src] |
func Label.autoHeight | [src] |
Recompute widget height.
The widget must have the flag AutoHeight.
func Label.create | [src] |
func Label.getText | [src] |
Get the text.
func Label.setText | [src] |
Change the text.
enum Gui.LabelFlags | [src] |
Zero | |
WordWrap | |
LightText | |
AutoHeight | |
DontAdaptSingleLineHeight |
struct Gui.ListCtrl | [src] |
using frameWnd | FrameWnd | |
horizontalExtent | f32 | |
lineHeight | f32 | |
indentWidth | f32 | |
iconSize | f32 | |
iconMarginFirstCol | bool | |
listFlags | ListFlags | |
selectionMode | ListSelectionMode | |
leftTextMargin | f32 | |
sigSelChanged | SigArray'(func(*Gui.ListCtrl)) | |
sigCheckChanged | SigArray'(func(*Gui.ListCtrl)) | |
sigRightClick | SigArray'(func(*Gui.ListCtrl, Core.Math.Point)) | |
sigLeftDoubleClick | SigArray'(func(*Gui.ListCtrl, Core.Math.Point)) | |
sigExpand | SigArray'(func(*Gui.ListCtrl, *Gui.ListLine)) | |
sigCollapse | SigArray'(func(*Gui.ListCtrl, *Gui.ListLine)) | |
sigKeyPressed | SigArray'(func(*Gui.ListCtrl, *Gui.KeyEvent)) | |
sigVirtualFill | func(*ListCtrl, *ListLine, u32) | |
sigSort | func(*ListLine, *ListLine, u32, bool)->s32 | |
toFreeLines | Core.ArrayPtr'(Gui.ListLine) | |
lines | Core.Array'(*Gui.ListLine) | |
idxLineToIdxList | Core.HashTable'(u32, u32) | |
selModel | SelModel | |
checkModel | SelModel | |
focusIndex | u32 | |
hotIndex | u32 | |
scrollWnd | *ScrollWnd | |
listView | *ListView | |
header | *Header | |
virtualCount | u32 | |
isVirtual | bool |
addColumn | Add one column in a multi columns list. |
clear | Clear all lines. |
collapse | Collapse the given line. |
collapseAll | Collapse all lines. |
computeLayout | Compute global layout, once all lines have been added. |
createLine(self, *ListLine) | Add one new line. |
createLine(self, string, const &Icon, *ListLine) | Add one line, and set first column. |
createMultiColumns | |
createSimple | |
ensureVisibleLine | Set the corresponding line visible. |
expand | Expand the given line. |
getCheckedLines | Get all the checked lines. |
getFirstVisibleLineIndex | Returns the first visible line index. |
getFocusLine | Get the line with the keyboard focus. |
getLastVisibleLineIndex | Returns the last visible line index. |
getLine | Get a line by index. |
getLineCount | Returns the number of lines in the list. |
getLineHeight | Get the height of one line. |
getSelectedLine | Returns a selected line Mostly for singlesel mode. |
getSelectedLines | Get all the selected lines. |
isLineSelected | Returns. |
isSelectedLine | Returns true if the line at the given index is selected. |
selectLine | Select of unselect the given line. |
selectLines | Select a range of lines. |
setColumnWidth | Set the column width. |
setFocus | Set focus to the list. |
setVirtualCount | Set the number of lines in a virtual list. |
sort(self) | Sort list as before. |
sort(self, u32, bool, bool) | Sort the list by a given column If persistent is true, then the sorted column will be displayed in the header (if it exists). |
toggleExpand | Collapse the given line. |
unselectAll | Unselect all lines. |
func ListCtrl.addColumn | [src] |
Add one column in a multi columns list.
func ListCtrl.clear | [src] |
Clear all lines.
func ListCtrl.collapse | [src] |
Collapse the given line.
func ListCtrl.collapseAll | [src] |
Collapse all lines.
func ListCtrl.computeLayout | [src] |
Compute global layout, once all lines have been added.
func ListCtrl.createLine | [src] |
Add one new line.
Add one line, and set first column.
func ListCtrl.createMultiColumns | [src] |
func ListCtrl.createSimple | [src] |
func ListCtrl.ensureVisibleLine | [src] |
Set the corresponding line visible.
func ListCtrl.expand | [src] |
Expand the given line.
func ListCtrl.getCheckedLines | [src] |
Get all the checked lines.
func ListCtrl.getFirstVisibleLineIndex | [src] |
Returns the first visible line index.
func ListCtrl.getFocusLine | [src] |
Get the line with the keyboard focus.
func ListCtrl.getLastVisibleLineIndex | [src] |
Returns the last visible line index.
func ListCtrl.getLine | [src] |
Get a line by index.
func ListCtrl.getLineCount | [src] |
Returns the number of lines in the list.
func ListCtrl.getLineHeight | [src] |
Get the height of one line.
func ListCtrl.getSelectedLine | [src] |
Returns a selected line Mostly for singlesel mode.
func ListCtrl.getSelectedLines | [src] |
Get all the selected lines.
func ListCtrl.isLineSelected | [src] |
Returns.
func ListCtrl.isSelectedLine | [src] |
Returns true if the line at the given index is selected.
func ListCtrl.selectLine | [src] |
Select of unselect the given line.
func ListCtrl.selectLines | [src] |
Select a range of lines.
func ListCtrl.setColumnWidth | [src] |
Set the column width.
func ListCtrl.setFocus | [src] |
Set focus to the list.
func ListCtrl.setVirtualCount | [src] |
Set the number of lines in a virtual list.
func ListCtrl.sort | [src] |
Sort the list by a given column If persistent is true, then the sorted column will be displayed in the header (if it exists).
Sort list as before.
func ListCtrl.toggleExpand | [src] |
Collapse the given line.
func ListCtrl.unselectAll | [src] |
Unselect all lines.
enum Gui.ListFlags | [src] |
Zero | |
HideSelection | |
AlternateLines | |
HorzLines | |
VertLines | |
ForceMarginExpandMark | Force one margin even if no expand mark. |
NoMouseEmptySel | Click does not clear selection if not on an item. |
HotTrack |
struct Gui.ListItem | [src] |
sortKey | Core.String | |
colorBk | Pixel.Color | |
colorFg | Pixel.Color | |
column | u32 | |
horzAlign | Pixel.StringHorzAlignment |
struct Gui.ListLine | [src] |
colorBk | Pixel.Color | |
colorFg | Pixel.Color | |
userData0 | *void | |
userData1 | *void | |
userData2 | *void | |
userData3 | *void | |
leftTextMargin | f32 | |
forceExpandMark | bool | |
canCheck | bool | |
separator | bool | |
iconMargin | bool | |
lines | Core.ArrayPtr'(Gui.ListLine) | |
parent | *ListLine | |
index | u32 | |
level | u32 | |
expanded | bool |
canExpand | |
getItem | Get an item by index. |
isParentOf | |
setItem | Initialize a given column item. |
func ListLine.canExpand | [src] |
func ListLine.getItem | [src] |
Get an item by index.
func ListLine.isParentOf | [src] |
func ListLine.setItem | [src] |
Initialize a given column item.
enum Gui.ListSelectionMode | [src] |
None | |
Single | |
Multi |
struct Gui.ListView | [src] |
using wnd | Wnd | |
list | *ListCtrl | |
discardMouseRelease | bool |
func IWnd.onKeyEvent | [src] |
func IWnd.onMouseEvent | [src] |
func IWnd.onPaintEvent | [src] |
func IWnd.onResizeEvent | [src] |
struct Gui.MenuCtrl | [src] |
using frameWnd | FrameWnd | |
onValidateResult | func(*MenuCtrl, WndId) | |
onComputeItem | func(*MenuCtrl, *PopupMenuItem) | |
menuCtrlFlags | MenuCtrlFlags | |
paddingSel | f32 | |
hotIdx | u32 | |
selectedIdx | u32 | |
bar | bool | |
endModal | bool | |
endModalResult | WndId | |
ownerMenu | *MenuCtrl | |
subVisible | *MenuCtrl | |
timer | *Timer | |
dirtyLayout | bool | |
paintByFrame | bool |
addItem(self, WndId) | Add a new item. |
addItem(self, string, WndId, const &Icon, string, bool, bool) | Add a new item. |
addPopup(self, *MenuCtrl, WndId) | Add a new popup item. |
addPopup(self, string, *MenuCtrl, const &Icon, WndId) | Add a new popup item. |
addSeparator | Add a separator. |
computeLayoutPopup | |
createBar | |
createPopup | |
doModal | Make the popup menu modal Will return the selected id. |
updateState |
func IWnd.onMouseEvent | [src] |
func IWnd.onPaintEvent | [src] |
func IWnd.onTimerEvent | [src] |
func MenuCtrl.addItem | [src] |
Add a new item.
func MenuCtrl.addPopup | [src] |
Add a new popup item.
func MenuCtrl.addSeparator | [src] |
Add a separator.
func MenuCtrl.computeLayoutPopup | [src] |
func MenuCtrl.createBar | [src] |
func MenuCtrl.createPopup | [src] |
func MenuCtrl.doModal | [src] |
Make the popup menu modal Will return the selected id.
func MenuCtrl.updateState | [src] |
enum Gui.MenuCtrlFlags | [src] |
Zero | |
NoKeyShortcuts |
struct Gui.MessageDlg | [src] |
using dialog | Dialog | |
labelIcon | *Label | |
label | *Label |
confirm | Message box to confirm something. |
create | Creates the message box. |
doModal | Display the box, centered, and returns the id of the pressed button. |
error | Message box to show the current raised error. |
ok | Message box with a ok. |
okCancel | Message box with a ok and cancel button. |
setIcon | Set big icon. |
setIconColor | Set big icon color (icon must has been set before). |
yesNo | Message box with a yes and no button. |
yesNoCancel | Message box with a yes and no button. |
func MessageDlg.confirm | [src] |
Message box to confirm something.
func MessageDlg.create | [src] |
Creates the message box.
func MessageDlg.doModal | [src] |
Display the box, centered, and returns the id of the pressed button.
func MessageDlg.error | [src] |
Message box to show the current raised error.
@err() must still contain the raised error.
func MessageDlg.ok | [src] |
Message box with a ok.
func MessageDlg.okCancel | [src] |
Message box with a ok and cancel button.
func MessageDlg.setIcon | [src] |
Set big icon.
func MessageDlg.setIconColor | [src] |
Set big icon color (icon must has been set before).
func MessageDlg.yesNo | [src] |
Message box with a yes and no button.
func MessageDlg.yesNoCancel | [src] |
Message box with a yes and no button.
struct Gui.MouseEvent | [src] |
using base | Event | |
button | Core.Input.MouseButton | |
surfacePos | Core.Math.Point | |
move | Core.Math.Point | |
modifiers | Core.Input.KeyModifiers |
struct Gui.MoveEvent | [src] |
using base | Event | |
oldPos | Core.Math.Point |
struct Gui.Movie | [src] |
enableCache | bool | |
mustLoop | bool | |
inPause | bool | |
playFreq | f32 | |
sigFrameChanged | SigArray'(func(*Gui.Movie)) | |
numFrames | s32 | |
frameIndex | s32 | |
frame | Pixel.Image | |
source | MovieSource | |
imgList | ImageList | |
gif | Pixel.Gif.Decoder | |
bytes | Core.Array'(u8) | |
cacheFrames | Core.Array'(Pixel.Image) | |
currentTime | f32 | |
dirtyFrame | bool |
clear | |
isValid | Returns true if the movie has valid content. |
pause | Set/Reset pause state. |
set(self, const &ImageList) | Associate an image list. |
set(self, string) | Associate a filename. |
setFrameIndex | Set the current video frame. |
update | Update timing and change frames. |
func Movie.clear | [src] |
func Movie.isValid | [src] |
Returns true if the movie has valid content.
func Movie.pause | [src] |
Set/Reset pause state.
func Movie.set | [src] |
Associate an image list.
Associate a filename.
func Movie.setFrameIndex | [src] |
Set the current video frame.
func Movie.update | [src] |
Update timing and change frames.
enum Gui.MovieSource | [src] |
None | |
SpriteSheet | |
Gif |
struct Gui.NativeCursor | [src] |
cursor | Win32.HCURSOR |
struct Gui.NativeSurface | [src] |
hWnd | Win32.HWND | |
lastDeadChar | Win32.WPARAM |
struct Gui.NotifyEvent | [src] |
using base | Event | |
ntfyKind | NotifyEvent.Kind | |
from | *Wnd |
struct Gui.PaintContext | [src] |
painter | *Pixel.Painter | |
renderer | *Pixel.RenderOgl | |
isDisabled | bool |
struct Gui.PaintEvent | [src] |
using base | Event | |
bc | *PaintContext |
struct Gui.PaintImage | [src] |
draw(self, func(*void, *Application, *Painter)) | Draw to an image by calling the func. |
draw(s32, s32, func(*void, *Application, *Painter)) | One shot paint to image. |
init | First init the PaintImage instance. |
opDrop |
func PaintImage.draw | [src] |
Draw to an image by calling the func.
One shot paint to image.
func PaintImage.init | [src] |
First init the PaintImage instance.
func PaintImage.opDrop | [src] |
struct Gui.PalettePicker | [src] |
using wnd | Wnd | |
selectedColor | Pixel.Color | |
pal | Core.Array'(Pixel.Color) | |
palPos | Core.Array'(Core.Math.Rectangle) | |
boxSize | s32 | |
boxMargin | s32 | |
sigChanged | SigArray'(func(*Gui.PalettePicker)) | |
hotIdx | s32 |
addColor | Add a color. |
addHueColors | Add a range of changing hue. |
addLumColors | Add a range of changing luminance. |
addSatColors | Add a range of changing saturation. |
create |
func IWnd.onMouseEvent | [src] |
func IWnd.onPaintEvent | [src] |
func PalettePicker.addColor | [src] |
Add a color.
func PalettePicker.addHueColors | [src] |
Add a range of changing hue.
func PalettePicker.addLumColors | [src] |
Add a range of changing luminance.
func PalettePicker.addSatColors | [src] |
Add a range of changing saturation.
func PalettePicker.create | [src] |
struct Gui.PopupListCtrl | [src] |
using frameWnd | FrameWnd | |
heightItem | f32 | |
heightSeparator | f32 | |
minWidthPopup | f32 | |
maxHeightPopup | f32 | |
simFitX | bool | |
simFitY | bool | |
sigSelected | func(*PopupListCtrl, u32) | |
selectedIdx | u32 | |
scrollWnd | *ScrollWnd | |
maxIconSize | s32 |
addItem | Add a new item in the list. |
addSeparator | Add a separator. |
create | Create the popup list, but: not display it. |
show | Show popup. |
func PopupListCtrl.addItem | [src] |
Add a new item in the list.
func PopupListCtrl.addSeparator | [src] |
Add a separator.
func PopupListCtrl.create | [src] |
Create the popup list, but: not display it.
func PopupListCtrl.show | [src] |
Show popup.
struct Gui.PopupListCtrlItem | [src] |
using base | Item | |
isSeparator | bool | |
aniSel | BlendColor | |
aniText | BlendColor | |
aniCheck | BlendColor |
struct Gui.PopupListView | [src] |
using wnd | Wnd | |
list | *PopupListCtrl | |
hotIdx | u32 |
func IWnd.onFocusEvent | [src] |
func IWnd.onMouseEvent | [src] |
func IWnd.onPaintEvent | [src] |
struct Gui.PopupMenuItem | [src] |
rightName | Pixel.RichString | |
popup | *MenuCtrl | |
pos | f32 | |
size | f32 | |
separator | bool | |
disabled | bool | |
checked | bool | |
hidden | bool | |
aniSel | BlendColor | |
aniText | BlendColor | |
aniRightText | BlendColor |
enum Gui.PopupPos | [src] |
TopLeft | |
AnchorTopCenter | |
AnchorBottomCenter |
struct Gui.ProgressBar | [src] |
using wnd | Wnd | |
prgBarFlags | ProgressBarFlags | |
progression | f32 |
create | |
setProgression | Set the progression in [0..1] range. |
func IWnd.onPaintEvent | [src] |
func ProgressBar.create | [src] |
func ProgressBar.setProgression | [src] |
Set the progression in [0..1] range.
enum Gui.ProgressBarFlags | [src] |
Zero | |
Infinite |
struct Gui.Properties | [src] |
using frameWnd | FrameWnd | |
kind | PropertiesKind | |
sizeEditValue | s32 | |
gridLineHeight | f32 | |
gridLineMargin | s32 | |
gridColumnSize | s32 | |
gridMarginColumn | s32 | |
listNameMarginBefore | s32 | |
listNameMarginAfter | s32 | |
listDescMarginAfter | s32 | |
sigChanged | SigArray'(func(*Gui.Properties, *Gui.PropertiesItem)) | |
leftMargin | s32 | |
rightMargin | s32 | |
fontSection | Pixel.FontFamily | |
fontCategory | Pixel.FontFamily | |
fontName | Pixel.FontFamily | |
scrollWnd | *ScrollWnd | |
edView | *PropertiesView | |
sections | Core.Array'({item:*Gui.PropertiesItem,lvl:s32}) | |
hotItem | *PropertiesItem | |
selItem | *PropertiesItem | |
currentSectionIndex | u32 | |
stringFilter | Core.String | |
cursorSet | bool | |
resizingColumn | bool | |
aniBar | BlendColor | |
editPopup | *Wnd |
addStruct | Add a new struct to display. |
canChangeItem | Returns true if the given item can be changed. |
create | Creates a new Properties instance. |
hasChanged | To be called when a value has changed. |
refresh | Refresh all displayed values. |
setColumnSize | Set the grid mode column size. |
setCurrentSection | Only display a given section. |
setStringFilter | Show hidden content depending on the input filter. |
updateItemState | Update the state of the given item. |
updateStates | Update the show/hide state of all content. |
attr Properties.Category | [src] |
Start a new category.
attr Properties.Description | [src] |
Add a description.
attr Properties.EditSize | [src] |
Value edit size.
func IWnd.onPaintEvent | [src] |
attr Properties.MinMax | [src] |
Min and max values.
attr Properties.Name | [src] |
Change the field display name.
attr Properties.RecalcLayout | [src] |
If the value changed, need to recompute the properties layout.
attr Properties.SliderMinMax | [src] |
Native float edit width a slider.
attr Properties.Unit | [src] |
Editbox with a unit text.
func Properties.addStruct | [src] |
Add a new struct to display.
func Properties.canChangeItem | [src] |
Returns true if the given item can be changed.
func Properties.create | [src] |
Creates a new Properties instance.
func Properties.hasChanged | [src] |
To be called when a value has changed.
func Properties.refresh | [src] |
Refresh all displayed values.
func Properties.setColumnSize | [src] |
Set the grid mode column size.
func Properties.setCurrentSection | [src] |
Only display a given section.
If sectionIndex is too big, all sections will be displayed.
func Properties.setStringFilter | [src] |
Show hidden content depending on the input filter.
func Properties.updateItemState | [src] |
Update the state of the given item.
func Properties.updateStates | [src] |
Update the show/hide state of all content.
struct Gui.PropertiesCtrl | [src] |
using frameWnd | FrameWnd | |
splitter | *SplitterCtrl | |
list | *ListCtrl | |
tab | *Tab | |
prop | *Properties | |
propFlags | PropertiesCtrlFlags |
addStruct | Add a new struct to display. |
create | Creates a new Properties instance. |
func PropertiesCtrl.addStruct | [src] |
Add a new struct to display.
func PropertiesCtrl.create | [src] |
Creates a new Properties instance.
enum Gui.PropertiesCtrlFlags | [src] |
Zero | |
SectionPane | Display all sections in a pane on the left. |
SectionFilter | Display a section filter bar. |
struct Gui.PropertiesItem | [src] |
filter | Core.String | |
line | *Wnd | |
data | *u8 | |
type | const *Swag.TypeInfo | |
typeValue | Swag.TypeValue | |
parent | *PropertiesItem | |
flags | ItemFlags | |
userData0 | *void | |
userData1 | *void | |
label | *Label | |
description | Core.String | |
labelDesc | *Label | |
editBox | *EditBox | |
checkBox | *CheckButton | |
comboBox | *ComboBox | |
sliderBox | *SliderCtrl | |
sigResize | SigArray'(func(*Gui.PropertiesItem)) | |
sigRefresh | SigArray'(func(*Gui.PropertiesItem)) | |
ntfyItf | IPropertyNotify | |
aniFocusBk | BlendColor | |
aniFocusBorder | BlendColor | |
level | u32 | |
numChilds | u32 | |
section | u32 | |
extendFocus | f32 |
enum Gui.PropertiesKind | [src] |
List | This is a flat list. |
Grid | This is a more compact property grid. |
struct Gui.PropertiesView | [src] |
struct Gui.PushButton | [src] |
using button | Button | |
form | PushButtonForm | |
aniBk | BlendColor | |
aniBorder | BlendColor | |
aniText | BlendColor |
create |
func IWnd.onMouseEvent | [src] |
func IWnd.onPaintEvent | [src] |
func PushButton.create | [src] |
enum Gui.PushButtonForm | [src] |
Normal | |
Default | |
Flat | |
Strong |
struct Gui.QuitEvent | [src] |
using base | Event | |
quitCode | s32 |
struct Gui.RadioButton | [src] |
using button | Button | |
checked | bool | |
radioButtonFlags | RadioButtonFlags | |
sigChanged | SigArray'(func(*Gui.RadioButton)) |
create | |
setChecked | Set the checked state. |
func IWnd.onMouseEvent | [src] |
func IWnd.onPaintEvent | [src] |
func RadioButton.create | [src] |
func RadioButton.setChecked | [src] |
Set the checked state.
enum Gui.RadioButtonFlags | [src] |
Zero | |
RightAlign |
struct Gui.ResizeEvent | [src] |
using base | Event | |
oldSize | Core.Math.Point |
enum Gui.RichEditCommand | [src] |
None | |
CursorLeft | |
CursorRight | |
CursorUp | |
CursorDown | |
CursorStartLine | |
CursorEndLine | |
CursorStartFile | |
CursorEndFile | |
CursorWordLeft | |
CursorWordRight | |
CursorPageUp | |
CursorPageDown | |
ScrollLineUp | |
ScrollLineDown | |
DeleteLeft | |
DeleteRight | |
DeleteLine | |
EditTabulation | |
EditBackTabulation | |
DeleteWordLeft | |
DeleteWordRight | |
ToggleOverwrite | |
ClipboardCopy | |
ClipboardPaste | |
ClipboardCut | |
Undo | |
Redo | |
SelectRuneLeft | |
SelectRuneRight | |
SelectRuneUp | |
SelectRuneDown | |
SelectRectLeft | |
SelectRectRight | |
SelectRectUp | |
SelectRectDown | |
SelectStartLine | |
SelectEndLine | |
SelectStartFile | |
SelectEndFile | |
SelectAllFile | |
SelectWordLeft | |
SelectWordRight | |
SelectPageUp | |
SelectPageDown |
struct Gui.RichEditCtrl | [src] |
using frameWnd | FrameWnd | |
richEdFlags | RichEditFlags | |
lineSpacing | f32 | |
overwriteMode | bool | |
tabSize | s32 | |
marginLeft | f32 | |
marginRight | f32 | |
lexer | IRichEditLexer | |
form | RichEditForm | |
sigIsReadOnly | SigArray'(func(*bool)) | |
sigChanged | SigArray'(func(*Gui.RichEditCtrl)) | |
sigModified | SigArray'(func(*Gui.RichEditCtrl)) | |
bkColorModel | Core.String | |
styles | [256] RichEditRuneStyle | |
stylesSelect | [2] RichEditRuneStyle | |
cursorPos | RichEditCursor | |
selBeg | RichEditCursor | |
lines | Core.ArrayPtr'(Gui.RichEditLine) | |
freeLines | Core.ArrayPtr'(Gui.RichEditLine) | |
scrollWnd | *ScrollWnd | |
edView | *RichEditView | |
selRectangle | Core.Math.Rectangle | |
hasSelRect | bool | |
modified | bool | |
recomputeScroll | bool | |
dirtyFirstLineView | bool | |
forceCaretVisible | bool | |
forceCaretVisibleCenter | bool | |
undoMgr | Core.ArrayPtr'(Gui.RichEditUndo) | |
toUndo | Core.ArrayPtr'(Gui.RichEditUndo) | |
mapping | Core.Array'(Gui.RichEditMapping) | |
currentUndo | u64 | |
undoCounter | u64 | |
modifiedUndoMarker | u64 | |
serialUndo | u64 | |
countVisibleLines | u64 | |
firstVisibleLineView | u64 | |
lastVisibleLineView | u64 | |
clipFormat | Clipboard.ValueFormat | |
cursorPosUndo | RichEditCursor | |
selBegUndo | RichEditCursor |
func RichEditCtrl.addMapping | [src] |
func RichEditCtrl.addText | [src] |
Append a text with a given style.
func RichEditCtrl.canRedo | [src] |
func RichEditCtrl.canUndo | [src] |
func RichEditCtrl.charPressed | [src] |
Simulate a keyboard character pressed.
func RichEditCtrl.checkSelection | [src] |
func RichEditCtrl.clear | [src] |
Clear content.
func RichEditCtrl.clearMapping | [src] |
func RichEditCtrl.clearSelection | [src] |
func RichEditCtrl.clearUndo | [src] |
func RichEditCtrl.copyToClipboard | [src] |
func RichEditCtrl.create | [src] |
func RichEditCtrl.deleteBegLine | [src] |
Delete a given text at the start of each selected line.
func RichEditCtrl.deleteLeft | [src] |
func RichEditCtrl.deleteLine | [src] |
func RichEditCtrl.deleteRight | [src] |
func RichEditCtrl.deleteSelection | [src] |
func RichEditCtrl.deleteWordLeft | [src] |
func RichEditCtrl.deleteWordRight | [src] |
func RichEditCtrl.ensureCaretIsVisible | [src] |
func RichEditCtrl.ensureCursorIsVisible | [src] |
func RichEditCtrl.evaluateSize | [src] |
Evaluate the rendering size.
func RichEditCtrl.executeCommand | [src] |
Execute a command.
func RichEditCtrl.getBegSelection | [src] |
func RichEditCtrl.getCaretPos | [src] |
func RichEditCtrl.getCursorDisplayPos | [src] |
func RichEditCtrl.getCursorPosFromPoint | [src] |
func RichEditCtrl.getEndSelection | [src] |
func RichEditCtrl.getMappingCommand | [src] |
func RichEditCtrl.getRune | [src] |
Get the rune at the given cursor pos.
func RichEditCtrl.getRuneSize | [src] |
func RichEditCtrl.getSelectedText | [src] |
Get the selected text.
func RichEditCtrl.getTabOffset | [src] |
func RichEditCtrl.getText | [src] |
Get the full text.
func RichEditCtrl.getTextAndStyles | [src] |
Get the full text with the associated styles per character.
func RichEditCtrl.getXExtent | [src] |
func RichEditCtrl.insertBegLine | [src] |
Insert text at the start of each selected line.
func RichEditCtrl.insertRune | [src] |
Insert a rune.
func RichEditCtrl.insertText | [src] |
Insert a text with a given style.
Insert a text with a style per character.
func RichEditCtrl.isReadOnly | [src] |
Returns true if the rich edit is read only.
func RichEditCtrl.isSelectionEmpty | [src] |
func RichEditCtrl.keyPressed | [src] |
Simulate a keyboard pressed.
func RichEditCtrl.lexAll | [src] |
Lex the full text.
func RichEditCtrl.moveCursorDown | [src] |
func RichEditCtrl.moveCursorEndFile | [src] |
func RichEditCtrl.moveCursorEndLine | [src] |
func RichEditCtrl.moveCursorLeft | [src] |
func RichEditCtrl.moveCursorPageDown | [src] |
func RichEditCtrl.moveCursorPageUp | [src] |
func RichEditCtrl.moveCursorRight | [src] |
func RichEditCtrl.moveCursorStartFile | [src] |
func RichEditCtrl.moveCursorStartLine | [src] |
func RichEditCtrl.moveCursorUp | [src] |
func RichEditCtrl.moveCursorWordLeft | [src] |
func RichEditCtrl.moveCursorWordRight | [src] |
func RichEditCtrl.pasteFromClipboard | [src] |
func RichEditCtrl.popUndo | [src] |
func RichEditCtrl.pushUndo | [src] |
func RichEditCtrl.redo | [src] |
func RichEditCtrl.scrollLineDown | [src] |
func RichEditCtrl.scrollLineUp | [src] |
func RichEditCtrl.selectAll | [src] |
func RichEditCtrl.selectWord | [src] |
func RichEditCtrl.setCursorPos | [src] |
func RichEditCtrl.setDefaultMapping | [src] |
func RichEditCtrl.setFocus | [src] |
func RichEditCtrl.setForm | [src] |
Set form.
func RichEditCtrl.setLexer | [src] |
Associate a lexer.
func RichEditCtrl.setRectangularSelection | [src] |
func RichEditCtrl.setRichEdFlags | [src] |
Set richedit flags.
func RichEditCtrl.setSelection | [src] |
func RichEditCtrl.setText | [src] |
Set the text content.
func RichEditCtrl.undo | [src] |
struct Gui.RichEditCursor | [src] |
lineIndex | u64 | |
charPosInLine | u64 |
enum Gui.RichEditFlags | [src] |
Zero | |
ReadOnly | |
ShowFocusSel | |
CurLineBorder | |
DrawBlanks | |
TabToSpaces | |
WordWrap | |
AutoLoseFocus |
enum Gui.RichEditForm | [src] |
RichEditCtrl | |
Edit |
struct Gui.RichEditLexerSwag | [src] |
mapStyles | [256] RichEditStyleRef | |
mapWords | Core.HashTable'(string, s32) |
func IRichEditLexer.compute | [src] |
func IRichEditLexer.insertRune | [src] |
func IRichEditLexer.setup | [src] |
struct Gui.RichEditLine | [src] |
struct Gui.RichEditMapping | [src] |
key | Core.Input.Key | |
modifiers | Core.Input.KeyModifiers | |
command | RichEditCommand |
struct Gui.RichEditRuneStyle | [src] |
colBk | Pixel.Color | |
colFg | Pixel.Color | |
fontMode | Pixel.FontFamilyStyle | |
underline | Pixel.UnderlineStyle |
struct Gui.RichEditUndo | [src] |
type | RichEditUndoType | |
concatChars | bool | |
selBeg | RichEditCursor | |
cursorPos | RichEditCursor | |
runes | Core.Array'(rune) | |
styles | Core.Array'(u8) | |
serial | u64 | |
hasSelRect | bool | |
begSelectionBefore | RichEditCursor | |
endSelectionBefore | RichEditCursor | |
begSelectionAfter | RichEditCursor | |
endSelectionAfter | RichEditCursor |
enum Gui.RichEditUndoType | [src] |
Delete | |
Insert | |
Selection | |
Show | |
Hide |
struct Gui.RichEditView | [src] |
struct Gui.ScrollWnd | [src] |
using frameWnd | FrameWnd | |
scrollIncrementV | f32 | |
scrollIncrementH | f32 | |
scrollSize | Core.Math.Point | |
scrollWndFlags | ScrollWndFlags | |
sigScrollPosChanged | SigArray'(func(*Gui.ScrollWnd, Core.Math.Point, Core.Math.Point)) | |
sigScrollSizeChanged | SigArray'(func(*Gui.ScrollWnd, Core.Math.Point, Core.Math.Point)) | |
oldMouseCapture | *Wnd | |
scrollSmoothPos | Core.Math.Point | |
scrollRequestPos | Core.Math.Point | |
smoothScroll | bool | |
showBarV | bool | |
needV | bool | |
posBoxV | f32 | |
sizeBoxV | f32 | |
isHotV | bool | |
isHotBarV | bool | |
isPressedV | bool | |
showBarH | bool | |
needH | bool | |
posBoxH | f32 | |
sizeBoxH | f32 | |
isHotH | bool | |
isHotBarH | bool | |
isPressedH | bool | |
isMoving | bool | |
isGrabbing | bool | |
correcMoving | f32 | |
offsetClientV | f32 | |
offsetClientH | f32 | |
paddingZ | f32 | |
paddingW | f32 | |
aniBkBarV | BlendColor | |
aniBkBarH | BlendColor | |
aniBoxV | BlendColor | |
aniBoxH | BlendColor | |
grabbingPos | Core.Math.Point |
getClientScrollRect | |
getScrollPos | Get the current scroll position. |
setScrollPos(self, const &Point) | Set the current scroll position. |
setScrollPos(self, f32, f32) | |
setScrollSize | Set the scroll size (window virtual size). |
func IWnd.onMouseEvent | [src] |
func IWnd.onPaintEvent | [src] |
func IWnd.onResizeEvent | [src] |
func ScrollWnd.getClientScrollRect | [src] |
func ScrollWnd.getScrollPos | [src] |
Get the current scroll position.
func ScrollWnd.setScrollPos | [src] |
Set the current scroll position.
func ScrollWnd.setScrollSize | [src] |
Set the scroll size (window virtual size).
enum Gui.ScrollWndFlags | [src] |
Zero | |
SmallBar | |
ForceHorizontal | |
ForceVertical | |
TransparentBar |
struct Gui.SelModel | [src] |
selection | Core.Array'({start:u32,end:u32}) |
getSelectedRangeIndex | |
isEmpty | |
isSelected | |
select | Select the given index. |
unselectAll | Unselect all. |
opVisit |
func SelModel.getSelectedRangeIndex | [src] |
func SelModel.isEmpty | [src] |
func SelModel.isSelected | [src] |
func SelModel.opVisit | [src] |
func SelModel.select | [src] |
Select the given index.
func SelModel.unselectAll | [src] |
Unselect all.
struct Gui.SerializeStateEvent | [src] |
using base | Event | |
ser | *Core.Serialization.Serializer |
struct Gui.SetThemeEvent | [src] |
using base | Event | |
style | *ThemeStyle | |
parent | *ThemeStyle |
struct Gui.SigArray | [src] |
arr | Core.Array'(Gui.SigArray.T) | |
disabled | s32 |
call | Call all registered lambdas. |
disable | Disable the calls. |
enable | Enable the calls. |
isEmpty | Returns true if the array is empty. |
opAssign |
func SigArray.call | [src] |
Call all registered lambdas.
func SigArray.disable | [src] |
Disable the calls.
func SigArray.enable | [src] |
Enable the calls.
func SigArray.isEmpty | [src] |
Returns true if the array is empty.
func SigArray.opAssign | [src] |
enum Gui.SizingBorder | [src] |
Zero | |
Left | |
Top | |
Right | |
Bottom |
struct Gui.Slider | [src] |
using wnd | Wnd | |
value1 | f32 | |
value2 | f32 | |
min | f32 | |
max | f32 | |
steps | f32 | |
sliderFlags | SliderFlags | |
sigStartChange | SigArray'(func(*Gui.Slider)) | |
sigChanged | SigArray'(func(*Gui.Slider)) | |
sigEndChange | SigArray'(func(*Gui.Slider)) | |
isMoving | bool | |
isPressed1 | bool | |
isPressed2 | bool | |
isHot1 | bool | |
isHot2 | bool | |
hasValue1 | bool | |
hasValue2 | bool | |
correcMoving | f32 | |
aniMark1 | BlendColor | |
aniMark2 | BlendColor | |
aniStep1 | BlendColor | |
aniStep2 | BlendColor |
create | |
getValue | |
getValueLeft | |
getValueRight | |
setMinMax | Set the min, max and steps values. |
setRangeValues | Set left and right values, for a range. |
setValue | |
setValueLeft | Set the left value (in case of a range). |
setValueRight | Set the right value (in case of a range). |
func IWnd.onMouseEvent | [src] |
func IWnd.onPaintEvent | [src] |
func Slider.create | [src] |
func Slider.getValue | [src] |
func Slider.getValueLeft | [src] |
func Slider.getValueRight | [src] |
func Slider.setMinMax | [src] |
Set the min, max and steps values.
func Slider.setRangeValues | [src] |
Set left and right values, for a range.
func Slider.setValue | [src] |
func Slider.setValueLeft | [src] |
Set the left value (in case of a range).
func Slider.setValueRight | [src] |
Set the right value (in case of a range).
struct Gui.SliderCtrl | [src] |
using frameWnd | FrameWnd | |
labelSize | f32 | |
editSize | f32 | |
sigChanged | SigArray'(func(*Gui.SliderCtrl)) | |
label | *Label | |
slider | *Slider | |
edit | *EditBox |
create | Create the popup list, but: not display it. |
getValue | Get the slider current value. |
setMinMaxF32 | Set a f32 range. |
setMinMaxS64 | Set a f64 range. |
setMinMaxU64 | Set a u64 range. |
setValue | Set the slider current value. |
func IWnd.onResizeEvent | [src] |
func SliderCtrl.create | [src] |
Create the popup list, but: not display it.
func SliderCtrl.getValue | [src] |
Get the slider current value.
func SliderCtrl.setMinMaxF32 | [src] |
Set a f32 range.
func SliderCtrl.setMinMaxS64 | [src] |
Set a f64 range.
func SliderCtrl.setMinMaxU64 | [src] |
Set a u64 range.
func SliderCtrl.setValue | [src] |
Set the slider current value.
enum Gui.SliderFlags | [src] |
Zero | |
Range | |
HilightBar | |
Vertical | |
Integer |
struct Gui.SplitterCtrl | [src] |
using frameWnd | FrameWnd | |
splitterFlags | SplitterFlags | |
titleSize | f32 | |
correctMoving | f32 | |
hotIdx | u32 | |
moving | bool | |
numVisiblePanes | s32 |
addPane | Add a new pane. |
create | Creates a new SplitterCtrl instance. |
isPaneVisible | Returns true if the given pane is visible. |
isVertical | |
setPaneSize | Set the pane size (size of the first view). |
showPane | Show or hide a given pane. |
func IWnd.onMouseEvent | [src] |
func IWnd.onPostPaintEvent | [src] |
func IWnd.onResizeEvent | [src] |
func SplitterCtrl.addPane | [src] |
Add a new pane.
func SplitterCtrl.create | [src] |
Creates a new SplitterCtrl instance.
func SplitterCtrl.isPaneVisible | [src] |
Returns true if the given pane is visible.
func SplitterCtrl.isVertical | [src] |
func SplitterCtrl.setPaneSize | [src] |
Set the pane size (size of the first view).
func SplitterCtrl.showPane | [src] |
Show or hide a given pane.
enum Gui.SplitterFlags | [src] |
Zero | |
Vertical | |
HideBars |
struct Gui.SplitterItem | [src] |
view | *Wnd | |
size | f32 | |
minSize | f32 | |
maxSize | f32 | |
label | *Label | |
tryPreserveSize | bool | |
visible | bool | |
aniBar | BlendColor |
struct Gui.StackLayoutCtrl | [src] |
using wnd | Wnd | |
layoutKind | StackLayoutKind | |
spacing | f32 |
computeLayout | Recompute layout of all childs. |
create | Create a layout control. |
func IWnd.onResizeEvent | [src] |
func StackLayoutCtrl.computeLayout | [src] |
Recompute layout of all childs.
func StackLayoutCtrl.create | [src] |
Create a layout control.
enum Gui.StackLayoutKind | [src] |
Top | |
TopAutoSize | |
Bottom | |
Left | |
LeftAutoSize | |
Right | |
HorzCenter | |
HorzCenterVertCenter | |
VertCenter |
struct Gui.StateEvent | [src] |
using base | Event |
struct Gui.Surface | [src] |
using native | NativeSurface | |
app | *Application | |
wnd | *SurfaceWnd | |
painter | Pixel.Painter | |
rt | Pixel.RenderTarget | |
userData | *void | |
rc | Pixel.RenderingContext | |
minSize | Core.Math.Point | |
maxSize | Core.Math.Point | |
flags | SurfaceFlags | |
dirtyRect | Core.Math.Rectangle | |
colorDisabled | Pixel.Color | |
isDirty | bool | |
isHidden | bool | |
isDisabled | bool | |
isMinimized | bool | |
using state | SurfaceState |
bringToTop | Bring the surface at the top of the Z order. |
center | Center this surface relative to from. |
constaintToScreen | Constraint a window to be inside the closest monitor. |
create | Creates the surface. |
destroy | Destroy the surface. |
disable | Enable the surface. |
enable | Enable the surface. |
getView | Returns inside view. |
hide | Hide the surface. |
invalidate | Invalidate the full surface to be painted. |
invalidateRect | Invalidate one part of the surface to be painted. |
paint | Main surface paint function. |
screenToSurface | Transform a point in screen space relative to the surface. |
setIcon | Set the surface icon. |
setPosition | Set the surface position. |
setSurfaceFlags | Change flag surfaces. |
setTitle | Set the surface title. |
setView | |
show | Show the surface. |
showMaximized | Show the surface as maximized. |
showMinimized | Show the surface as minimized. |
showNormal | Show the surface in its default state. |
surfaceToScreen | Transform a point relative to the surface in screen space. |
func Surface.bringToTop | [src] |
Bring the surface at the top of the Z order.
func Surface.center | [src] |
Center this surface relative to from.
func Surface.constaintToScreen | [src] |
Constraint a window to be inside the closest monitor.
func Surface.create | [src] |
Creates the surface.
func Surface.destroy | [src] |
Destroy the surface.
func Surface.disable | [src] |
Enable the surface.
func Surface.enable | [src] |
Enable the surface.
func Surface.getView | [src] |
Returns inside view.
func Surface.hide | [src] |
Hide the surface.
func Surface.invalidate | [src] |
Invalidate the full surface to be painted.
func Surface.invalidateRect | [src] |
Invalidate one part of the surface to be painted.
func Surface.paint | [src] |
Main surface paint function.
func Surface.screenToSurface | [src] |
Transform a point in screen space relative to the surface.
func Surface.setIcon | [src] |
Set the surface icon.
func Surface.setPosition | [src] |
Set the surface position.
func Surface.setSurfaceFlags | [src] |
Change flag surfaces.
func Surface.setTitle | [src] |
Set the surface title.
func Surface.setView | [src] |
func Surface.show | [src] |
Show the surface.
func Surface.showMaximized | [src] |
Show the surface as maximized.
func Surface.showMinimized | [src] |
Show the surface as minimized.
func Surface.showNormal | [src] |
Show the surface in its default state.
func Surface.surfaceToScreen | [src] |
Transform a point relative to the surface in screen space.
enum Gui.SurfaceFlags | [src] |
Zero | |
BigCaption | |
SmallCaption | |
MinimizeBtn | |
MaximizeBtn | |
CloseBtn | |
Border | |
Sizeable | |
Secondary | |
TopMost | |
OverlappedWindow |
struct Gui.SurfaceState | [src] |
position | Core.Math.Rectangle | |
positionNotMaximized | Core.Math.Rectangle | |
isMaximized | bool |
struct Gui.SurfaceWnd | [src] |
using base | FrameWnd | |
icon | Icon | |
minimizeBtn | *IconButton | |
maximizeBtn | *IconButton | |
closeBtn | *IconButton | |
movingSurface | bool | |
sizingBorder | SizingBorder | |
cursorSet | bool |
struct Gui.SysCommandEvent | [src] |
using base | Event | |
sysKind | SysCommandEvent.Kind |
struct Gui.SysUserEvent | [src] |
using base | Event | |
userMsg | u64 | |
param0 | u64 | |
param1 | u64 |
struct Gui.Tab | [src] |
using wnd | Wnd | |
barForm | TabBarForm | |
viewForm | TabViewForm | |
barLayout | TabBarLayout | |
sigSelChanged | SigArray'(func(*Gui.Tab)) | |
buttonPopup | *IconButton | |
views | Core.ArrayPtr'(Gui.TabItem) | |
popup | *PopupListCtrl | |
selectedIdx | u32 | |
firstVisibleIdx | u32 | |
hotIdx | u32 | |
barHeight | f32 | |
mostRightPos | f32 |
addItem | Add a new view. |
clear | Remove all items. |
create | |
getSelectedItem | Returns the current selected item, or null. |
select | Select one tab at the given index. |
setForm | Set the tab form. |
func IWnd.onMouseEvent | [src] |
func IWnd.onPaintEvent | [src] |
func IWnd.onResizeEvent | [src] |
func IWnd.paintItem | [src] |
func Tab.addItem | [src] |
Add a new view.
func Tab.clear | [src] |
Remove all items.
func Tab.create | [src] |
func Tab.getSelectedItem | [src] |
Returns the current selected item, or null.
func Tab.select | [src] |
Select one tab at the given index.
func Tab.setForm | [src] |
Set the tab form.
enum Gui.TabBarForm | [src] |
Transparent | |
Flat | |
FlatRound | |
Round |
enum Gui.TabBarLayout | [src] |
Divide | |
Fixed | |
Auto |
enum Gui.TabForm | [src] |
Flat | |
Round | |
Button | |
PushButton |
struct Gui.TabItem | [src] |
pos | f32 | |
width | f32 | |
view | *Wnd | |
aniImg | BlendColor | |
aniBorder | BlendColor | |
aniText | BlendColor |
enum Gui.TabItemForm | [src] |
Transparent | |
Flat | |
Round | |
Button | |
PushButton |
enum Gui.TabViewForm | [src] |
None | |
Flat | |
Round |
struct Gui.Theme | [src] |
intialized | bool | |
res | ThemeResources | |
rects | ThemeImageRects | |
metrics | ThemeMetrics | |
colors | ThemeColors |
createDefaultFont | Create a default font with the given size. |
createDefaultFontFS | Create a default font (fixed size) with the given size. |
createDefaultFontfamily | Create a default font family with the given size. |
drawIconText | |
drawSubRect(self, *Painter, const &Rectangle, *ThemeImageRect, const &Color, bool, InterpolationMode) | |
drawSubRect(*Painter, const &Texture, const &Rectangle, *ThemeImageRect, const &Color, bool, InterpolationMode) | |
getIcon24 | |
getIcon64 | |
setTextColors |
func Theme.createDefaultFont | [src] |
Create a default font with the given size.
func Theme.createDefaultFontFS | [src] |
Create a default font (fixed size) with the given size.
func Theme.createDefaultFontfamily | [src] |
Create a default font family with the given size.
func Theme.drawIconText | [src] |
func Theme.drawSubRect | [src] |
func Theme.getIcon24 | [src] |
func Theme.getIcon64 | [src] |
func Theme.setTextColors | [src] |
struct Gui.ThemeColors | [src] |
Transparent | u32 | |
Blue | u32 | |
LightBlue | u32 | |
Disabled | u32 | |
LighterSmall | u32 | |
LighterMedium | u32 | |
LighterBig | u32 | |
LighterVeryBig | u32 | |
White | u32 | |
Gray1 | u32 | |
Gray2 | u32 | |
Gray3 | u32 | |
Gray4 | u32 | |
Gray5 | u32 | |
Gray6 | u32 | |
Gray7 | u32 | |
Gray8 | u32 | |
richColor1 | Pixel.Color | |
richColor2 | Pixel.Color | |
richColor3 | Pixel.Color | |
surfaceDisabled | Pixel.Color | |
hilight | Pixel.Color | |
hilightLight | Pixel.Color | |
hilightDark | Pixel.Color | |
disabled | Pixel.Color | |
transparent | Pixel.Color | |
lighterSmall | Pixel.Color | |
lighterMedium | Pixel.Color | |
lighterBig | Pixel.Color | |
lighterVeryBig | Pixel.Color | |
wnd_Bk | Pixel.Color | |
wnd_Caption | Pixel.Color | |
wnd_CaptionNotActived | Pixel.Color | |
wnd_CaptionText | Pixel.Color | |
wnd_CaptionNotActivatedText | Pixel.Color | |
wnd_BtnCloseBk | Pixel.Color | |
wnd_BtnCloseHotBk | Pixel.Color | |
wnd_Shadow | Pixel.Color | |
view_Bk | Pixel.Color | |
dlg_Bk | Pixel.Color | |
dlg_BtnBarBk | Pixel.Color | |
btnPush_StrongText | Pixel.Color | |
btnPush_StrongBorder | Pixel.Color | |
btnPush_StrongBk | Pixel.Color | |
btnPush_Text | Pixel.Color | |
btnPush_Border | Pixel.Color | |
btnPush_Bk | Pixel.Color | |
btnPush_PressedText | Pixel.Color | |
btnPush_PressedBorder | Pixel.Color | |
btnPush_PressedBk | Pixel.Color | |
btnPush_HotText | Pixel.Color | |
btnPush_HotBorder | Pixel.Color | |
btnPush_HotBk | Pixel.Color | |
btnPush_DisabledText | Pixel.Color | |
btnPush_DisabledBorder | Pixel.Color | |
btnPush_DisabledBk | Pixel.Color | |
btnPushFlat_DisabledText | Pixel.Color | |
btnPushFlat_DisabledBorder | Pixel.Color | |
btnPushFlat_DisabledBk | Pixel.Color | |
btnPushFlat_Text | Pixel.Color | |
btnPushFlat_Border | Pixel.Color | |
btnPushFlat_Bk | Pixel.Color | |
btnPushFlat_PressedText | Pixel.Color | |
btnPushFlat_PressedBorder | Pixel.Color | |
btnPushFlat_PressedBk | Pixel.Color | |
btnPushFlat_HotText | Pixel.Color | |
btnPushFlat_HotBorder | Pixel.Color | |
btnPushFlat_HotBk | Pixel.Color | |
btnPushDefault_DisabledText | Pixel.Color | |
btnPushDefault_DisabledBorder | Pixel.Color | |
btnPushDefault_DisabledBk | Pixel.Color | |
btnPushDefault_Text | Pixel.Color | |
btnPushDefault_Border | Pixel.Color | |
btnPushDefault_Bk | Pixel.Color | |
btnPushDefault_PressedText | Pixel.Color | |
btnPushDefault_PressedBorder | Pixel.Color | |
btnPushDefault_PressedBk | Pixel.Color | |
btnPushDefault_HotText | Pixel.Color | |
btnPushDefault_HotBorder | Pixel.Color | |
btnPushDefault_HotBk | Pixel.Color | |
btnIcon_Icon | Pixel.Color | |
btnIcon_Text | Pixel.Color | |
btnIcon_Bk | Pixel.Color | |
btnIcon_DisabledIcon | Pixel.Color | |
btnIcon_DisabledText | Pixel.Color | |
btnIcon_DisabledBk | Pixel.Color | |
btnIcon_PressedIcon | Pixel.Color | |
btnIcon_PressedText | Pixel.Color | |
btnIcon_PressedBk | Pixel.Color | |
btnIcon_HotIcon | Pixel.Color | |
btnIcon_HotText | Pixel.Color | |
btnIcon_HotBk | Pixel.Color | |
btnIcon_CheckedDisabledIcon | Pixel.Color | |
btnIcon_CheckedDisabledText | Pixel.Color | |
btnIcon_CheckedPressedIcon | Pixel.Color | |
btnIcon_CheckedPressedText | Pixel.Color | |
btnIcon_CheckedHotIcon | Pixel.Color | |
btnIcon_CheckedHotText | Pixel.Color | |
btnIcon_CheckedIcon | Pixel.Color | |
btnIcon_CheckedText | Pixel.Color | |
btnIcon_CheckedDisabledBk | Pixel.Color | |
btnIcon_CheckedPressedBk | Pixel.Color | |
btnIcon_CheckedHotBk | Pixel.Color | |
btnIcon_CheckedBk | Pixel.Color | |
btnIcon_CheckedMark | Pixel.Color | |
btnIcon_CheckedPressedMark | Pixel.Color | |
btnIcon_CheckedHotMark | Pixel.Color | |
btnIcon_CheckedDisabledMark | Pixel.Color | |
label_Text | Pixel.Color | |
label_TextLight | Pixel.Color | |
label_Text1 | Pixel.Color | |
label_Text2 | Pixel.Color | |
label_Text3 | Pixel.Color | |
label_DisabledText | Pixel.Color | |
label_Icon | Pixel.Color | |
label_DisabledIcon | Pixel.Color | |
btnCheck_Text | Pixel.Color | |
btnCheck_Border | Pixel.Color | |
btnCheck_Mark | Pixel.Color | |
btnCheck_Bk | Pixel.Color | |
btnCheck_PressedText | Pixel.Color | |
btnCheck_PressedBorder | Pixel.Color | |
btnCheck_PressedMark | Pixel.Color | |
btnCheck_PressedBk | Pixel.Color | |
btnCheck_HotText | Pixel.Color | |
btnCheck_HotBorder | Pixel.Color | |
btnCheck_HotMark | Pixel.Color | |
btnCheck_HotBk | Pixel.Color | |
btnCheck_DisabledText | Pixel.Color | |
btnCheck_DisabledBorder | Pixel.Color | |
btnCheck_DisabledMark | Pixel.Color | |
btnCheck_DisabledBk | Pixel.Color | |
btnCheck_CheckedText | Pixel.Color | |
btnCheck_CheckedBk | Pixel.Color | |
btnCheck_CheckedBorder | Pixel.Color | |
btnCheck_CheckedMark | Pixel.Color | |
toolTip_Bk | Pixel.Color | |
toolTip_Border | Pixel.Color | |
toolTip_Text | Pixel.Color | |
url_Text | Pixel.Color | |
url_HotText | Pixel.Color | |
edit_Border | Pixel.Color | |
edit_FocusBorder | Pixel.Color | |
edit_HotBorder | Pixel.Color | |
edit_DisabledBorder | Pixel.Color | |
edit_Bk | Pixel.Color | |
edit_DisabledBk | Pixel.Color | |
edit_ErrorBk | Pixel.Color | |
edit_HotBk | Pixel.Color | |
edit_FocusBk | Pixel.Color | |
edit_Note | Pixel.Color | |
edit_Text | Pixel.Color | |
edit_TextUnit | Pixel.Color | |
edit_DisabledText | Pixel.Color | |
edit_SelectedText | Pixel.Color | |
edit_SelectedBk | Pixel.Color | |
edit_ErrorBorder | Pixel.Color | |
richEdit_Bk | Pixel.Color | |
richEdit_TextSpecial | Pixel.Color | |
richEdit_Text | Pixel.Color | |
richEdit_SelText | Pixel.Color | |
richEdit_SelTextNoFocus | Pixel.Color | |
richEdit_SelBk | Pixel.Color | |
richEdit_SelBkNoFocus | Pixel.Color | |
richEdit_Caret | Pixel.Color | |
richEdit_CurLineBorder | Pixel.Color | |
btnToggle_DisabledBorder | Pixel.Color | |
btnToggle_DisabledMark | Pixel.Color | |
btnToggle_DisabledBk | Pixel.Color | |
btnToggle_OffBorder | Pixel.Color | |
btnToggle_OffMark | Pixel.Color | |
btnToggle_OffBk | Pixel.Color | |
btnToggle_OffHotBorder | Pixel.Color | |
btnToggle_OffHotMark | Pixel.Color | |
btnToggle_OffHotBk | Pixel.Color | |
btnToggle_OffPressedBorder | Pixel.Color | |
btnToggle_OffPressedMark | Pixel.Color | |
btnToggle_OffPressedBk | Pixel.Color | |
btnToggle_OnBorder | Pixel.Color | |
btnToggle_OnMark | Pixel.Color | |
btnToggle_OnBk | Pixel.Color | |
btnToggle_OnHotBorder | Pixel.Color | |
btnToggle_OnHotMark | Pixel.Color | |
btnToggle_OnHotBk | Pixel.Color | |
btnToggle_OnPressedBorder | Pixel.Color | |
btnToggle_OnPressedMark | Pixel.Color | |
btnToggle_OnPressedBk | Pixel.Color | |
slider_BkLeft | Pixel.Color | |
slider_BkMiddle | Pixel.Color | |
slider_BkRight | Pixel.Color | |
slider_HilightBk | Pixel.Color | |
slider_Mark | Pixel.Color | |
slider_HotMark | Pixel.Color | |
slider_PressedMark | Pixel.Color | |
slider_DisabledMark | Pixel.Color | |
slider_DisabledBk | Pixel.Color | |
slider_StepBk | Pixel.Color | |
slider_HilightStepBk | Pixel.Color | |
slider_HotStepBk | Pixel.Color | |
tabItem_DisabledText | Pixel.Color | |
tabItem_SelectedText | Pixel.Color | |
tabItem_UnSelectedText | Pixel.Color | |
tabItem_FlatSelected | Pixel.Color | |
tabItem_FlatHot | Pixel.Color | |
tabItem_RoundSelected | Pixel.Color | |
tabItem_RoundHot | Pixel.Color | |
tabItem_ButtonSelected | Pixel.Color | |
tabItem_ButtonHot | Pixel.Color | |
tabItem_PushButtonSelected | Pixel.Color | |
tabItem_PushButtonSelectedBorder | Pixel.Color | |
tabItem_PushButtonHot | Pixel.Color | |
tabItem_PushButtonHotBorder | Pixel.Color | |
tabItem_PushButtonBk | Pixel.Color | |
tabItem_PushButtonBkBorder | Pixel.Color | |
tabBar_FlatBk | Pixel.Color | |
tabBar_RoundBk | Pixel.Color | |
tabView_FlatBk | Pixel.Color | |
tabView_RoundBk | Pixel.Color | |
menuPopup_Bk | Pixel.Color | |
menuPopup_Border | Pixel.Color | |
menuPopup_Shadow | Pixel.Color | |
menuPopup_Separator | Pixel.Color | |
menuBar_Bk | Pixel.Color | |
menuBar_Border | Pixel.Color | |
menuBar_SelectedBk | Pixel.Color | |
popupItem_Text | Pixel.Color | |
popupItem_RightText | Pixel.Color | |
popupItem_DisabledText | Pixel.Color | |
popupItem_HotText | Pixel.Color | |
popupItem_HotRightText | Pixel.Color | |
popupItem_HotBk | Pixel.Color | |
scrollBar_Bk | Pixel.Color | |
scrollBar_HotBk | Pixel.Color | |
scrollBar_DisabledBk | Pixel.Color | |
scrollBar_Box | Pixel.Color | |
scrollBar_HotBox | Pixel.Color | |
scrollBar_PressedBox | Pixel.Color | |
comboBox_Border | Pixel.Color | |
comboBox_HotBorder | Pixel.Color | |
comboBox_DisabledBorder | Pixel.Color | |
comboBox_SelectedBorder | Pixel.Color | |
comboBox_Bk | Pixel.Color | |
comboBox_HotBk | Pixel.Color | |
comboBox_DisabledBk | Pixel.Color | |
comboBox_SelectedBk | Pixel.Color | |
comboBox_Text | Pixel.Color | |
comboBox_HotText | Pixel.Color | |
comboBox_DisabledText | Pixel.Color | |
comboBox_SelectedText | Pixel.Color | |
comboBoxItem_Text | Pixel.Color | |
comboBoxItem_HotBk | Pixel.Color | |
comboBoxItem_HotText | Pixel.Color | |
comboBoxItem_CheckMark | Pixel.Color | |
comboBoxItem_HotCheckMark | Pixel.Color | |
popupList_Separator | Pixel.Color | |
popupList_HotBk | Pixel.Color | |
popupList_Text | Pixel.Color | |
popupList_HotText | Pixel.Color | |
popupList_CheckMark | Pixel.Color | |
popupList_HotCheckMark | Pixel.Color | |
frameWnd_SmallShadow | Pixel.Color | |
frameWnd_Border | Pixel.Color | |
frameWnd_PopupBorder | Pixel.Color | |
frameWnd_FocusBorder | Pixel.Color | |
frameWnd_DisabledBorder | Pixel.Color | |
frameWnd_Bk | Pixel.Color | |
frameWnd_DisabledBk | Pixel.Color | |
frameWnd_FocusBk | Pixel.Color | |
listItem_FocusSelectedBk | Pixel.Color | |
listItem_SelectedBk | Pixel.Color | |
listItem_HotBk | Pixel.Color | |
listItem_DisabledText | Pixel.Color | |
listItem_SelectedText | Pixel.Color | |
listItem_Text | Pixel.Color | |
listItem_Separator | Pixel.Color | |
listItem_AlternateBk | Pixel.Color | |
listItem_Line | Pixel.Color | |
headerItem_DisabledText | Pixel.Color | |
headerItem_HotText | Pixel.Color | |
headerItem_HotBk | Pixel.Color | |
headerItem_ClickedBk | Pixel.Color | |
headerItem_Text | Pixel.Color | |
headerItem_Separator | Pixel.Color | |
header_Bk | Pixel.Color | |
splitView_TitleBk | Pixel.Color | |
splitView_Bar | Pixel.Color | |
splitView_BarHot | Pixel.Color | |
progressBar_DisabledBorder | Pixel.Color | |
progressBar_DisabledBk | Pixel.Color | |
progressBar_DisabledMark | Pixel.Color | |
progressBar_Border | Pixel.Color | |
progressBar_Bk | Pixel.Color | |
progressBar_Mark | Pixel.Color | |
palPicker_Border | Pixel.Color | |
palPicker_HotBorder | Pixel.Color | |
colorPicker_Border | Pixel.Color | |
colorPicker_BackAlpha | Pixel.Color | |
colorPicker_Mark | Pixel.Color | |
imageRect_Fg | Pixel.Color | |
embInfo_CriticalBk | Pixel.Color | |
embInfo_InformationBk | Pixel.Color | |
prop_FocusBk | Pixel.Color | |
prop_FocusBorder | Pixel.Color | |
prop_HotBk | Pixel.Color | |
prop_HotBorder | Pixel.Color | |
prop_GridBorder | Pixel.Color | |
prop_GridColumn | Pixel.Color | |
prop_SectionBk | Pixel.Color | |
prop_CategBk | Pixel.Color | |
prop_Bk1 | Pixel.Color |
enum Gui.ThemeIcons24 | [src] |
WndMinimize | |
WndMaximize | |
WndClose | |
Search | |
RightPopupArrow | |
BottomPopupArrow | |
SortArrowDown | |
SortArrowUp | |
SortArrowRight | |
Picker | |
Play | |
Pause | |
Stop | |
SendToBack | |
SendBackward | |
BringForward | |
BringToFront | |
Plus | |
More | |
Undo | |
Redo | |
Copy | |
Paste | |
Cut | |
Expanded | |
Collapsed | |
RemoveAll | |
Remove | |
Options | |
About | |
ZoomIn | |
ZoomOut | |
Save | |
SaveAs | |
Export | |
Download | |
OpenFile | |
Update | |
Duplicate | |
Quit |
enum Gui.ThemeIcons64 | [src] |
Question | |
Warning | |
Critical | |
Information | |
HourGlass |
struct Gui.ThemeImageRect | [src] |
rect | Core.Math.Rectangle | |
corner | f32 | |
keepBordersRatio | bool |
struct Gui.ThemeImageRects | [src] |
surfaceWnd_Shadow | ThemeImageRect | |
wnd_Border | ThemeImageRect | |
wnd_Caption | ThemeImageRect | |
wnd_CaptionSmall | ThemeImageRect | |
dlg_BtnBar | ThemeImageRect | |
btnPush_Normal | ThemeImageRect | |
btnPush_NormalBorder | ThemeImageRect | |
btnPush_Hot | ThemeImageRect | |
btnPush_HotBorder | ThemeImageRect | |
btnPush_Pressed | ThemeImageRect | |
btnPush_PressedBorder | ThemeImageRect | |
btnPush_Disabled | ThemeImageRect | |
btnPush_DisabledBorder | ThemeImageRect | |
btnIcon_SquareBk | ThemeImageRect | |
btnIcon_RoundBk | ThemeImageRect | |
btnIcon_RoundSquareBk | ThemeImageRect | |
btnIcon_CheckedBottom | ThemeImageRect | |
btnIcon_CheckedTop | ThemeImageRect | |
btnIcon_CheckedLeft | ThemeImageRect | |
btnIcon_CheckedRight | ThemeImageRect | |
btnIcon_CheckedFull | ThemeImageRect | |
btnIcon_ArrowDown | ThemeImageRect | |
btnIcon_ArrowLeft | ThemeImageRect | |
btnIcon_ArrowUp | ThemeImageRect | |
btnIcon_ArrowRight | ThemeImageRect | |
btnCheck_Normal | ThemeImageRect | |
btnCheck_NormalBorder | ThemeImageRect | |
btnCheck_Undefined | ThemeImageRect | |
btnCheck_UndefinedBorder | ThemeImageRect | |
btnCheck_UndefinedMark | ThemeImageRect | |
btnCheck_Checked | ThemeImageRect | |
btnCheck_CheckedBorder | ThemeImageRect | |
btnCheck_CheckedMark | ThemeImageRect | |
btnRadio_NormalBorder | ThemeImageRect | |
btnRadio_Normal | ThemeImageRect | |
btnRadio_CheckedBorder | ThemeImageRect | |
btnRadio_Checked | ThemeImageRect | |
btnRadio_CheckedMark | ThemeImageRect | |
edit_SquareBk | ThemeImageRect | |
edit_SquareBorder | ThemeImageRect | |
edit_RoundBk | ThemeImageRect | |
edit_RoundBorder | ThemeImageRect | |
edit_FlatBk | ThemeImageRect | |
edit_FlatBorder | ThemeImageRect | |
btnToggle_Bk | ThemeImageRect | |
btnToggle_Border | ThemeImageRect | |
btnToggle_Mark | ThemeImageRect | |
slider_BkLeft | ThemeImageRect | |
slider_BkMiddle | ThemeImageRect | |
slider_BkRight | ThemeImageRect | |
slider_BkLeftVert | ThemeImageRect | |
slider_BkMiddleVert | ThemeImageRect | |
slider_BkRightVert | ThemeImageRect | |
slider_Mark | ThemeImageRect | |
slider_Step | ThemeImageRect | |
tabItem_FlatSelected | ThemeImageRect | |
tabItem_RoundSelected | ThemeImageRect | |
tabItem_RoundHot | ThemeImageRect | |
tabItem_ButtonSelected | ThemeImageRect | |
tabItem_ButtonHot | ThemeImageRect | |
tabItem_PushButtonSelected | ThemeImageRect | |
tabItem_PushButtonHot | ThemeImageRect | |
tabItem_PushButtonBk | ThemeImageRect | |
tabItem_PushButtonBorder | ThemeImageRect | |
tabBar_FlatBk | ThemeImageRect | |
tabBar_FlatRoundBk | ThemeImageRect | |
tabBar_RoundBk | ThemeImageRect | |
tabView_FlatBk | ThemeImageRect | |
tabView_RoundBk | ThemeImageRect | |
menuPopup_Shadow | ThemeImageRect | |
menuPopup_Bk | ThemeImageRect | |
menuPopup_Border | ThemeImageRect | |
menuPopup_HotBk | ThemeImageRect | |
menuBar_Bk | ThemeImageRect | |
menuBar_Border | ThemeImageRect | |
menuBar_SelectedBk | ThemeImageRect | |
menuItem_CheckedMark | ThemeImageRect | |
scrollBar_BkV | ThemeImageRect | |
scrollBar_BkH | ThemeImageRect | |
scrollBar_BoxV | ThemeImageRect | |
scrollBar_BoxH | ThemeImageRect | |
scrollBar_Corner | ThemeImageRect | |
frameWnd_SmallShadow | ThemeImageRect | |
frameWnd_SquareBk | ThemeImageRect | |
frameWnd_SquareBorder | ThemeImageRect | |
frameWnd_RoundBk | ThemeImageRect | |
frameWnd_RoundBorder | ThemeImageRect | |
frameWnd_AnchorTop | ThemeImageRect | |
frameWnd_AnchorTopBk | ThemeImageRect | |
frameWnd_AnchorBottom | ThemeImageRect | |
frameWnd_AnchorBottomBk | ThemeImageRect | |
frameWnd_AnchorRight | ThemeImageRect | |
frameWnd_AnchorRightBk | ThemeImageRect | |
frameWnd_AnchorLeft | ThemeImageRect | |
frameWnd_AnchorLeftBk | ThemeImageRect | |
header_FlatBk | ThemeImageRect | |
header_RoundBk | ThemeImageRect | |
selectionBox_Bk | ThemeImageRect | |
splitView_HorzBarBk | ThemeImageRect | |
splitView_HorzBarHotBk | ThemeImageRect | |
splitView_VertBarBk | ThemeImageRect | |
splitView_VertBarHotBk | ThemeImageRect | |
progressBar_Bk | ThemeImageRect | |
progressBar_Border | ThemeImageRect | |
progressBar_Mark | ThemeImageRect | |
colorPicker_RoundPick | ThemeImageRect | |
colorPicker_SquarePick | ThemeImageRect | |
colorPicker_Bk | ThemeImageRect | |
colorPicker_Border | ThemeImageRect |
struct Gui.ThemeMetrics | [src] |
defaultFontSize | u32 | |
defaultFixedFontSize | u32 | |
surfaceWnd_ShadowSize | f32 | |
wnd_BorderSize | f32 | |
wnd_BigCaptionCY | f32 | |
wnd_SmallCaptionCY | f32 | |
wnd_CaptionMarginTitle | f32 | |
tabBar_FlatHeight | f32 | |
tabBar_RoundHeight | f32 | |
tabBar_ButtonHeight | f32 | |
btnPush_Padding | f32 | |
btnPush_Width | f32 | |
btnPush_Height | f32 | |
iconText_Margin | f32 | |
btnCheck_Size | f32 | |
btnCheck_Padding | f32 | |
dialog_Padding | f32 | |
dialog_BtnPadding | f32 | |
editBox_SquarePadding | Core.Math.Vector4 | |
editBox_RoundPadding | Core.Math.Vector4 | |
editBox_FlatPadding | Core.Math.Vector4 | |
editBox_Width | f32 | |
editBox_Height | f32 | |
editBox_UnitMargin | f32 | |
btnToggle_Width | f32 | |
btnToggle_Height | f32 | |
slider_Width | f32 | |
slider_Height | f32 | |
slider_BoxSize | f32 | |
slider_StepSize | f32 | |
menuPopup_Padding | f32 | |
menuPopup_SpaceLines | f32 | |
menuPopup_ShadowSize | f32 | |
menuPopup_IconTextMargin | f32 | |
menuPopup_SeparatorHeight | f32 | |
menuBar_Height | f32 | |
menuBar_SpaceBetween | f32 | |
iconBar_ButtonsPadding | f32 | |
scrollBar_NormalSize | f32 | |
scrollBar_SmallSize | f32 | |
scrollBar_BoxPadding | f32 | |
scrollBar_BoxMinSize | f32 | |
comboBox_Width | f32 | |
comboBox_Height | f32 | |
comboBox_RightMargin | f32 | |
comboBox_Padding | f32 | |
comboBox_IconTextMargin | f32 | |
popupList_Padding | f32 | |
popupList_IconTextMargin | f32 | |
popupList_SeparatorPadding | f32 | |
btnIcon_WidthArrow | f32 | |
btnIcon_HeightArrow | f32 | |
btnIcon_Padding | f32 | |
btnIcon_MarginArrow | f32 | |
btnIcon_SpacingIcon | f32 | |
btnIcon_SpacingArrowH | f32 | |
btnIcon_SpacingArrowV | f32 | |
btnIcon_SpacingTextH | f32 | |
btnIcon_SpacingTextV | f32 | |
frameWnd_SquarePadding | f32 | |
frameWnd_RoundPadding | f32 | |
frameWnd_FlatPadding | f32 | |
frameWnd_SmallShadowSize | Core.Math.Vector4 | |
frameWnd_AnchorWidth | f32 | |
frameWnd_AnchorHeight | f32 | |
frameWnd_AnchorOverlap | f32 | |
frameWnd_AnchorRoundBorderMargin | f32 | |
frameWnd_AnchorSquareBorderMargin | f32 | |
list_Padding | f32 | |
list_ExpandSize | f32 | |
header_Height | f32 | |
header_Padding | Core.Math.Vector4 | |
header_Separator | f32 | |
splitView_BarSize | f32 | |
progressBar_Height | f32 | |
progressBar_ClipOffset | f32 | |
progressBar_SpeedInf | f32 | |
colorPicker_RoundPick | f32 | |
colorPicker_SquarePick | f32 | |
label_Height | f32 | |
richEdit_Padding | f32 | |
toolTip_Padding | f32 |
struct Gui.ThemeResources | [src] |
imgWidgets | Pixel.Texture | |
icons24 | *ImageList | |
icons64 | *ImageList | |
spin | *ImageList | |
defaultTypeFaceR | *Pixel.TypeFace | |
defaultTypeFaceB | *Pixel.TypeFace | |
defaultTypeFaceI | *Pixel.TypeFace | |
defaultTypeFaceBI | *Pixel.TypeFace | |
defaultFsTypeFaceR | *Pixel.TypeFace | |
defaultFsTypeFaceB | *Pixel.TypeFace | |
defaultFsTypeFaceI | *Pixel.TypeFace | |
defaultFsTypeFaceBI | *Pixel.TypeFace | |
fontDefault | Pixel.FontFamily | |
fontDefaultFs | Pixel.FontFamily |
struct Gui.ThemeStyle | [src] |
refr | *ThemeStyleRef | |
dirty | bool | |
styleSheetMetrics | Core.String | |
styleSheetColors | Core.String | |
font | Pixel.FontFamily |
addStyleSheetColors | |
addStyleSheetMetrics | |
clearFont | |
clearStyleSheetColors | |
create | Create a specific style based on the parent. |
getFont | |
setFont(self, *Font, FontFamilyStyle) | |
setFont(self, const &FontFamily) | |
setStyleSheetColors | |
setStyleSheetMetrics |
opDrop |
func ThemeStyle.addStyleSheetColors | [src] |
func ThemeStyle.addStyleSheetMetrics | [src] |
func ThemeStyle.clearFont | [src] |
func ThemeStyle.clearStyleSheetColors | [src] |
func ThemeStyle.create | [src] |
Create a specific style based on the parent.
func ThemeStyle.getFont | [src] |
func ThemeStyle.opDrop | [src] |
func ThemeStyle.setFont | [src] |
func ThemeStyle.setStyleSheetColors | [src] |
func ThemeStyle.setStyleSheetMetrics | [src] |
struct Gui.ThemeStyleRef | [src] |
theme | *Theme | |
count | u32 |
struct Gui.Timer | [src] |
timeMs | s32 | |
target | *Wnd | |
stopwatch | Core.Time.Stopwatch | |
toDelete | bool |
restart |
func Timer.restart | [src] |
struct Gui.TimerEvent | [src] |
using base | Event | |
timer | *Timer |
struct Gui.ToggleButton | [src] |
using button | Button | |
isToggled | bool | |
sigChanged | func(*ToggleButton) | |
aniBk | BlendColor | |
aniBorder | BlendColor | |
aniMark | BlendColor |
create |
func IWnd.onMouseEvent | [src] |
func IWnd.onPaintEvent | [src] |
func ToggleButton.create | [src] |
namespace Gui.ToolTip |
hide | Hide the current tooltip, if visible. |
show | Show a tooltip. |
func ToolTip.hide | [src] |
Hide the current tooltip, if visible.
func ToolTip.show | [src] |
Show a tooltip.
struct Gui.Wnd | [src] |
itf | IWnd | |
type | const *Swag.TypeInfo | |
surface | *Surface | |
style | ThemeStyle | |
wndFlags | WndFlags | |
userData | *void | |
position | Core.Math.Rectangle | |
minSize | Core.Math.Point | |
maxSize | Core.Math.Point | |
scrollPos | Core.Math.Point | |
invalidatePadding | Core.Math.Vector4 | |
parent | *Wnd | |
owner | *Wnd | |
childs | Core.Array'(*Gui.Wnd) | |
name | Pixel.RichString | |
id | WndId | |
cursor | Cursor | |
toolTip | Core.String | |
keyShortcuts | Core.Array'(Gui.KeyShortcut) | |
actions | Core.Array'(Gui.IActionUI) | |
margin | Core.Math.Vector4 | |
padding | Core.Math.Vector4 | |
dockStyle | DockStyle | |
anchorStyle | AnchorStyle | |
focusStrategy | FocusStategy | |
backgroundStyle | BackgroundStyle | |
isAllocated | bool | |
isPendingDestroy | bool | |
createEventDone | bool | |
hookOnEvent | HookEvent | Will be called before processing the event of the window. |
hookOnChildEvent | HookEvent | Will be called before processing whatever event of a child window. |
applyLayout(self) | Apply the current layout (childs constraints). |
applyLayout(self, const &Point) | |
bringToFront | Force the window to be the first painted (before all siblings). |
bringToTop | Force the window to be the last painted (on top of siblings). |
captureMouse | |
computeStyle | |
create(*Wnd, WndId, HookEvent) | |
create(*Wnd, const &Rectangle, WndId, HookEvent) | |
create(*Wnd, string, const &Rectangle, WndId, HookEvent) | |
destroy | Destroy the window. |
destroyNow | Destroy the window. |
disable | Disable the window. |
enable | Enable/Disable the window. |
fitPosInParent | Be sure rect is fully inside the parent rectangle (if possible). |
getApp | |
getChildById | Retrieve the child with the given id. |
getClientRect | Returns the client area. |
getClientRectPadding | Returns the client area, with padding applied. |
getFocus | Get the window with the keyboard focus. |
getFont | |
getKeyShortcut | Get the id associated with a shortcut. null if none. |
getKeyShortcutNameFor | Get the name associated with a given id shortcut. |
getMouseCapture | |
getOwner | Get the owner of the window. |
getParentById | Retrieve the parent with the given id. |
getRectIn | Get the wnd position relative to a given parent. |
getSurfaceRect | Get the wnd position in the surface. |
getTheme | |
getThemeColors | |
getThemeMetrics | |
getThemeRects | |
getTiming | |
getTopView | |
getTopWnd | |
getWndAt | Get the child window at the given coordinate Coordinate is expressed in the parent system. |
hasFocus | Returns true if the window has the keyboard focus. |
hide | Hide the window. |
invalidate | Force the window to be repainted. |
invalidateRect | Force o local position to be repainted. |
isDisabled | Returns true if window, or one of its parent, is disabled. |
isEnabled | Returns true if window, and all its parents, are enabled. |
isEnabledState | Returns true if the window has the enabled state. |
isHidden | Returns true if window, or one of its parent, is hidden. |
isOwnerOf | Returns true if child is in the owner/child hieararchy of self. |
isParentOf | Returns true if child is in the child hieararchy of self. |
isVisible | Returns true if window and all its parents are visible. |
isVisibleState | Returns true if the window has the visible state. |
localToSurface(self, const &Point) | Convert a local coordinate to a surface coordinate. |
localToSurface(self, const &Rectangle) | Convert a local coordinate to a surface coordinate. |
move | Move the wnd. |
notifyEvent | Send a notification event. |
ownerNotifyEvent | Send a notification event. |
paint | |
postCommandEvent | |
postEvent | |
postInvalidateEvent | |
postQuitEvent | |
postResizeEvent | |
processEvent | |
registerAction | Register one new action. |
registerKeyShortcut | Register a keyboard shortcut. |
releaseMouse | |
resize | Resize the wnd. |
screenToSurface | Convert a screen coordinate to a surface coordinate (relative to my surface). |
sendCommandEvent | Send the command event with the given id to the window. |
sendComputeCommandStateEvent | Send the command state event with the given id to the window. |
sendCreateEvent | |
sendEvent | |
sendResizeEvent | |
sendStateEvent | |
serializeState | |
setAllMargins(self, const &Vector4) | |
setAllMargins(self, f32) | |
setAllPaddings(self, const &Vector4) | |
setAllPaddings(self, f32) | |
setFocus | Set the keyboard focus. |
setMargin | Set margin for childs If a value is Swag.F32.Inf, then it won't be changed. |
setPadding | Set padding for childs If a value is Swag.F32.Inf, then it won't be changed. |
setParent | Set window parent. |
setPosition(self, const &Rectangle, bool) | Move and size the wnd. |
setPosition(self, f32, f32, f32, f32, bool) | Move and size the wnd. |
show | Show the window. |
surfaceToLocal | Convert a surface coordinate to a local coordinate (relative to me). |
updateCommandState | Main function to update command state of various windows/widgets. |
func IWnd.onApplyStateEvent | [src] |
func IWnd.onCommandEvent | [src] |
func IWnd.onComputeStateEvent | [src] |
func IWnd.onCreateEvent | [src] |
func IWnd.onDestroyEvent | [src] |
func IWnd.onEvent | [src] |
func IWnd.onFocusEvent | [src] |
func IWnd.onFrameEvent | [src] |
func IWnd.onHookEvent | [src] |
func IWnd.onKeyEvent | [src] |
func IWnd.onMouseEvent | [src] |
func IWnd.onNotifyEvent | [src] |
func IWnd.onPaintEvent | [src] |
func IWnd.onPostPaintEvent | [src] |
func IWnd.onPrePaintEvent | [src] |
func IWnd.onResizeEvent | [src] |
func IWnd.onSerializeStateEvent | [src] |
func IWnd.onSetThemeEvent | [src] |
func IWnd.onStateEvent | [src] |
func IWnd.onSysCommandEvent | [src] |
func IWnd.onSysUserEvent | [src] |
func IWnd.onTimerEvent | [src] |
func Wnd.applyLayout | [src] |
Apply the current layout (childs constraints).
func Wnd.bringToFront | [src] |
Force the window to be the first painted (before all siblings).
func Wnd.bringToTop | [src] |
Force the window to be the last painted (on top of siblings).
func Wnd.captureMouse | [src] |
func Wnd.computeStyle | [src] |
func Wnd.create | [src] |
func Wnd.destroy | [src] |
Destroy the window.
func Wnd.destroyNow | [src] |
Destroy the window.
func Wnd.disable | [src] |
Disable the window.
func Wnd.enable | [src] |
Enable/Disable the window.
func Wnd.fitPosInParent | [src] |
Be sure rect is fully inside the parent rectangle (if possible).
func Wnd.getApp | [src] |
func Wnd.getChildById | [src] |
Retrieve the child with the given id.
func Wnd.getClientRect | [src] |
Returns the client area.
func Wnd.getClientRectPadding | [src] |
Returns the client area, with padding applied.
func Wnd.getFocus | [src] |
Get the window with the keyboard focus.
func Wnd.getFont | [src] |
func Wnd.getKeyShortcut | [src] |
Get the id associated with a shortcut. null if none.
func Wnd.getKeyShortcutNameFor | [src] |
Get the name associated with a given id shortcut.
func Wnd.getMouseCapture | [src] |
func Wnd.getOwner | [src] |
Get the owner of the window.
func Wnd.getParentById | [src] |
Retrieve the parent with the given id.
func Wnd.getRectIn | [src] |
Get the wnd position relative to a given parent.
func Wnd.getSurfaceRect | [src] |
Get the wnd position in the surface.
func Wnd.getTheme | [src] |
func Wnd.getThemeColors | [src] |
func Wnd.getThemeMetrics | [src] |
func Wnd.getThemeRects | [src] |
func Wnd.getTiming | [src] |
func Wnd.getTopView | [src] |
func Wnd.getTopWnd | [src] |
func Wnd.getWndAt | [src] |
Get the child window at the given coordinate Coordinate is expressed in the parent system.
func Wnd.hasFocus | [src] |
Returns true if the window has the keyboard focus.
func Wnd.hide | [src] |
Hide the window.
func Wnd.invalidate | [src] |
Force the window to be repainted.
func Wnd.invalidateRect | [src] |
Force o local position to be repainted.
func Wnd.isDisabled | [src] |
Returns true if window, or one of its parent, is disabled.
func Wnd.isEnabled | [src] |
Returns true if window, and all its parents, are enabled.
func Wnd.isEnabledState | [src] |
Returns true if the window has the enabled state.
Will return true even if one of the parent is hidden.
func Wnd.isHidden | [src] |
Returns true if window, or one of its parent, is hidden.
func Wnd.isOwnerOf | [src] |
Returns true if child is in the owner/child hieararchy of self.
func Wnd.isParentOf | [src] |
Returns true if child is in the child hieararchy of self.
func Wnd.isVisible | [src] |
Returns true if window and all its parents are visible.
func Wnd.isVisibleState | [src] |
Returns true if the window has the visible state.
Will return true even if one of the parent is hidden.
func Wnd.localToSurface | [src] |
Convert a local coordinate to a surface coordinate.
func Wnd.move | [src] |
Move the wnd.
func Wnd.notifyEvent | [src] |
Send a notification event.
func Wnd.ownerNotifyEvent | [src] |
Send a notification event.
func Wnd.paint | [src] |
func Wnd.postCommandEvent | [src] |
func Wnd.postEvent | [src] |
func Wnd.postInvalidateEvent | [src] |
func Wnd.postQuitEvent | [src] |
func Wnd.postResizeEvent | [src] |
func Wnd.processEvent | [src] |
func Wnd.registerAction | [src] |
Register one new action.
func Wnd.registerKeyShortcut | [src] |
Register a keyboard shortcut.
func Wnd.releaseMouse | [src] |
func Wnd.resize | [src] |
Resize the wnd.
func Wnd.screenToSurface | [src] |
Convert a screen coordinate to a surface coordinate (relative to my surface).
func Wnd.sendCommandEvent | [src] |
Send the command event with the given id to the window.
The command will be updated first, and if it is not disabled, it will be sent.
func Wnd.sendComputeCommandStateEvent | [src] |
Send the command state event with the given id to the window.
Returns the updated command state.
func Wnd.sendCreateEvent | [src] |
func Wnd.sendEvent | [src] |
func Wnd.sendResizeEvent | [src] |
func Wnd.sendStateEvent | [src] |
func Wnd.serializeState | [src] |
func Wnd.setAllMargins | [src] |
func Wnd.setAllPaddings | [src] |
func Wnd.setFocus | [src] |
Set the keyboard focus.
func Wnd.setMargin | [src] |
Set margin for childs If a value is Swag.F32.Inf, then it won't be changed.
func Wnd.setPadding | [src] |
Set padding for childs If a value is Swag.F32.Inf, then it won't be changed.
func Wnd.setParent | [src] |
Set window parent.
func Wnd.setPosition | [src] |
Move and size the wnd.
func Wnd.show | [src] |
Show the window.
func Wnd.surfaceToLocal | [src] |
Convert a surface coordinate to a local coordinate (relative to me).
func Wnd.updateCommandState | [src] |
Main function to update command state of various windows/widgets.
This will update the state of this window, and all of its childs
enum Gui.WndFlags | [src] |
Zero | |
NoScroll | |
ClipChildren | |
Disabled | |
Hidden | |
PreChildsPaint | |
PostChildsPaint | |
TopMost |
struct Gui.WrapLayoutCtrl | [src] |
using wnd | Wnd | |
spacing | f32 | |
wrapWidth | f32 | |
wrapHeight | f32 | |
resultHeight | f32 |
computeLayout | Recompute layout of all childs. |
create | Create a layout control. |
func IWnd.onResizeEvent | [src] |
func WrapLayoutCtrl.computeLayout | [src] |
Recompute layout of all childs.
func WrapLayoutCtrl.create | [src] |
Create a layout control.