Versions in this module Expand all Collapse all v0 v0.2.0 Aug 19, 2021 Changes in this version + const OnFocus + const OnFocusLost + const OnMouseDownOut + const OnMouseUpOut + func Manager() *manager type Edit + func (ed *Edit) OnFocusLost(evname string, ev interface{}) type Folder + func (f *Folder) Height() float32 type IPanel + Enabled func() bool + Height func() float32 + InsideBorders func(x, y float32) bool + SetEnabled func(bool) + SetPositionZ func(y float32) + SetZLayerDelta func(zLayerDelta int) + Width func() float32 + ZLayerDelta func() int type Panel + func (p *Panel) SetZLayerDelta(zLayerDelta int) + func (p *Panel) ZLayerDelta() int type Window + func (w *Window) Remove(ichild IPanel) bool v0.1.0 Mar 14, 2019 Changes in this version + const AlignBottom + const AlignCenter + const AlignHeight + const AlignLeft + const AlignNone + const AlignRight + const AlignTop + const AlignWidth + const AttribAlignh + const AttribAlignv + const AttribAspectHeight + const AttribAspectWidth + const AttribAutoHeight + const AttribAutoWidth + const AttribBgColor + const AttribBorderColor + const AttribBorders + const AttribChecked + const AttribColSpan + const AttribColor + const AttribCols + const AttribColumns + const AttribContent + const AttribCountStepx + const AttribEdge + const AttribEnabled + const AttribExpand + const AttribExpandh + const AttribExpandv + const AttribFirstx + const AttribFontColor + const AttribFontDPI + const AttribFontSize + const AttribFormat + const AttribGroup + const AttribHeader + const AttribHeight + const AttribHidden + const AttribIcon + const AttribId + const AttribImageFile + const AttribImageLabel + const AttribItems + const AttribLayout + const AttribLayoutParams + const AttribLineSpacing + const AttribLines + const AttribMargin + const AttribMargins + const AttribMinwidth + const AttribName + const AttribPaddings + const AttribPanel0 + const AttribPanel1 + const AttribParentInternal + const AttribPinned + const AttribPlaceHolder + const AttribPosition + const AttribRangeAuto + const AttribRangeMax + const AttribRangeMin + const AttribRender + const AttribResize + const AttribResizeBorders + const AttribScaleFactor + const AttribScalex + const AttribScaley + const AttribShortcut + const AttribShowHeader + const AttribSortType + const AttribSpacing + const AttribSplit + const AttribStepx + const AttribText + const AttribTitle + const AttribType + const AttribUserData + const AttribValue + const AttribVisible + const AttribWidth + const DockBottom + const DockCenter + const DockLeft + const DockRight + const DockTop + const IgnoreSuffix + const OnChange + const OnChar + const OnChild + const OnClick + const OnCursor + const OnCursorEnter + const OnCursorLeave + const OnEnable + const OnKeyDown + const OnKeyRepeat + const OnKeyUp + const OnListItemResize + const OnMouseDown + const OnMouseOut + const OnMouseUp + const OnRadioGroup + const OnResize + const OnRightClick + const OnScroll + const OnTableClick + const OnTableRowCount + const ScrollBoth + const ScrollHorizontal + const ScrollModifierKey + const ScrollNone + const ScrollVertical + const ScrollbarBottom + const ScrollbarInterlockingHorizontal + const ScrollbarInterlockingNone + const ScrollbarInterlockingVertical + const ScrollbarLeft + const ScrollbarRight + const ScrollbarTop + const Stop3D + const StopAll + const StopGUI + const StyleDef + const StyleDisabled + const StyleFocus + const StyleNormal + const StyleOver + const TypeButton + const TypeChart + const TypeCheckBox + const TypeDockLayout + const TypeDropDown + const TypeEdit + const TypeGridLayout + const TypeHBoxLayout + const TypeHList + const TypeHSlider + const TypeHSplitter + const TypeImageLabel + const TypeImagePanel + const TypeLabel + const TypeMenu + const TypeMenuBar + const TypePanel + const TypeRadioButton + const TypeSeparator + const TypeTabBar + const TypeTable + const TypeTree + const TypeTreeNode + const TypeVBoxLayout + const TypeVList + const TypeVSlider + const TypeVSplitter + const TypeWindow + func AttribCheckAlign(b *Builder, am map[string]interface{}, fname string) error + func AttribCheckBool(b *Builder, am map[string]interface{}, fname string) error + func AttribCheckBorderSizes(b *Builder, am map[string]interface{}, fname string) error + func AttribCheckColor(b *Builder, am map[string]interface{}, fname string) error + func AttribCheckEdge(b *Builder, am map[string]interface{}, fname string) error + func AttribCheckFloat(b *Builder, am map[string]interface{}, fname string) error + func AttribCheckIcons(b *Builder, am map[string]interface{}, fname string) error + func AttribCheckInt(b *Builder, am map[string]interface{}, fname string) error + func AttribCheckInterface(b *Builder, am map[string]interface{}, fname string) error + func AttribCheckLayout(b *Builder, am map[string]interface{}, fname string) error + func AttribCheckListMap(b *Builder, am map[string]interface{}, fname string) error + func AttribCheckMap(b *Builder, am map[string]interface{}, fname string) error + func AttribCheckMenuShortcut(b *Builder, am map[string]interface{}, fname string) error + func AttribCheckPosition(b *Builder, am map[string]interface{}, fname string) error + func AttribCheckResizeBorders(b *Builder, am map[string]interface{}, fname string) error + func AttribCheckString(b *Builder, am map[string]interface{}, fname string) error + func AttribCheckStringLower(b *Builder, am map[string]interface{}, fname string) error + func AttribCheckTableSortType(b *Builder, am map[string]interface{}, fname string) error + func SetStyleDefault(s *Style) + type Align int + type AttribCheckFunc func(b *Builder, am map[string]interface{}, fname string) error + type BasicStyle struct + FgColor math32.Color4 + type Builder struct + func NewBuilder() *Builder + func (b *Builder) AddAttrib(typename string, acf AttribCheckFunc) + func (b *Builder) AddBuilderLayout(typename string, bl IBuilderLayout) + func (b *Builder) AddBuilderPanel(typename string, bf BuilderFunc) + func (b *Builder) Build(name string) (IPanel, error) + func (b *Builder) Names() []string + func (b *Builder) ParseFile(filepath string) error + func (b *Builder) ParseString(desc string) error + func (b *Builder) SetAttribs(am map[string]interface{}, ipan IPanel) error + func (b *Builder) SetImagepath(path string) + type BuilderFunc func(*Builder, map[string]interface{}) (IPanel, error) + type BuilderLayoutDock struct + func (bl *BuilderLayoutDock) BuildLayout(b *Builder, am map[string]interface{}) (ILayout, error) + func (bl *BuilderLayoutDock) BuildParams(b *Builder, am map[string]interface{}) (interface{}, error) + type BuilderLayoutGrid struct + func (bl *BuilderLayoutGrid) BuildLayout(b *Builder, am map[string]interface{}) (ILayout, error) + func (bl *BuilderLayoutGrid) BuildParams(b *Builder, am map[string]interface{}) (interface{}, error) + type BuilderLayoutHBox struct + func (bl *BuilderLayoutHBox) BuildLayout(b *Builder, am map[string]interface{}) (ILayout, error) + func (bl *BuilderLayoutHBox) BuildParams(b *Builder, am map[string]interface{}) (interface{}, error) + type BuilderLayoutVBox struct + func (bl *BuilderLayoutVBox) BuildLayout(b *Builder, am map[string]interface{}) (ILayout, error) + func (bl *BuilderLayoutVBox) BuildParams(b *Builder, am map[string]interface{}) (interface{}, error) + type Button struct + Label *Label + func NewButton(text string) *Button + func (b *Button) SetIcon(icode string) + func (b *Button) SetImage(imgfile string) error + func (b *Button) SetStyles(bs *ButtonStyles) + type ButtonState int + const ButtonDisabled + const ButtonNormal + const ButtonOver + const ButtonPressed + type ButtonStyle BasicStyle + type ButtonStyles struct + Disabled ButtonStyle + Focus ButtonStyle + Normal ButtonStyle + Over ButtonStyle + Pressed ButtonStyle + type Chart struct + func NewChart(width, height float32) *Chart + func (ch *Chart) AddLineGraph(color *math32.Color, data []float32) *Graph + func (ch *Chart) ClearScaleX() + func (ch *Chart) ClearScaleY() + func (ch *Chart) Init(width float32, height float32) + func (ch *Chart) RangeY() (minY, maxY float32) + func (ch *Chart) RemoveGraph(g *Graph) + func (ch *Chart) SetFontSizeX(size float64) + func (ch *Chart) SetFontSizeY(size float64) + func (ch *Chart) SetFormatX(format string) + func (ch *Chart) SetFormatY(format string) + func (ch *Chart) SetMarginX(bottom float32) + func (ch *Chart) SetMarginY(left float32) + func (ch *Chart) SetRangeX(firstX float32, stepX float32, countStepX float32) + func (ch *Chart) SetRangeY(min float32, max float32) + func (ch *Chart) SetRangeYauto(auto bool) + func (ch *Chart) SetScaleX(lines int, color *math32.Color) + func (ch *Chart) SetScaleY(lines int, color *math32.Color) + func (ch *Chart) SetTitle(title string, size float64) + type CheckRadio struct + Label *Label + func NewCheckBox(text string) *CheckRadio + func NewRadioButton(text string) *CheckRadio + func (cb *CheckRadio) Group() string + func (cb *CheckRadio) SetGroup(group string) *CheckRadio + func (cb *CheckRadio) SetStyles(bs *CheckRadioStyles) + func (cb *CheckRadio) SetValue(state bool) *CheckRadio + func (cb *CheckRadio) Value() bool + type CheckRadioStyle BasicStyle + type CheckRadioStyles struct + Disabled CheckRadioStyle + Focus CheckRadioStyle + Normal CheckRadioStyle + Over CheckRadioStyle + type ColorStyle struct + BgDark math32.Color4 + BgMed math32.Color4 + BgNormal math32.Color4 + BgOver math32.Color4 + Highlight math32.Color4 + Select math32.Color4 + Text math32.Color4 + TextDis math32.Color4 + type ControlFolder struct + func NewControlFolder(text string, width float32) *ControlFolder + func (f *ControlFolder) AddCheckBox(text string) *CheckRadio + func (f *ControlFolder) AddGroup(text string) *ControlFolderGroup + func (f *ControlFolder) AddPanel(pan IPanel) + func (f *ControlFolder) AddSlider(text string, sf, v float32) *Slider + func (f *ControlFolder) Clear() + func (f *ControlFolder) Initialize(text string, width float32) + func (f *ControlFolder) RemoveAt(pos int) IPanel + func (f *ControlFolder) SetStyles(fs *ControlFolderStyles) + type ControlFolderGroup struct + func (g *ControlFolderGroup) AddCheckBox(text string) *CheckRadio + func (g *ControlFolderGroup) AddPanel(pan IPanel) + func (g *ControlFolderGroup) AddSlider(text string, sf, v float32) *Slider + type ControlFolderStyles struct + Folder *FolderStyles + Tree *TreeStyles + type DockLayout struct + func NewDockLayout() *DockLayout + func (dl *DockLayout) Recalc(ipan IPanel) + type DockLayoutParams struct + Edge int + type DropDown struct + func NewDropDown(width float32, item *ImageLabel) *DropDown + func (dd *DropDown) Add(item *ImageLabel) + func (dd *DropDown) InsertAt(pos int, item *ImageLabel) + func (dd *DropDown) ItemAt(pos int) *ImageLabel + func (dd *DropDown) Len() int + func (dd *DropDown) RemoveAt(pos int) + func (dd *DropDown) SelectPos(pos int) + func (dd *DropDown) Selected() *ImageLabel + func (dd *DropDown) SelectedPos() int + func (dd *DropDown) SetSelected(item *ImageLabel) + func (dd *DropDown) SetStyles(dds *DropDownStyles) + type DropDownStyle BasicStyle + type DropDownStyles struct + Disabled DropDownStyle + Focus DropDownStyle + Normal DropDownStyle + Over DropDownStyle + type Edit struct + MaxLength int + func NewEdit(width int, placeHolder string) *Edit + func (ed *Edit) CursorBack() + func (ed *Edit) CursorDelete() + func (ed *Edit) CursorEnd() + func (ed *Edit) CursorHome() + func (ed *Edit) CursorInput(s string) + func (ed *Edit) CursorLeft() + func (ed *Edit) CursorPos(col int) + func (ed *Edit) CursorRight() + func (ed *Edit) LostKeyFocus() + func (ed *Edit) SetFontSize(size float64) *Edit + func (ed *Edit) SetStyles(es *EditStyles) + func (ed *Edit) SetText(text string) *Edit + func (ed *Edit) Text() string + type EditStyle struct + BgAlpha float32 + BgColor math32.Color4 + Border RectBounds + BorderColor math32.Color4 + FgColor math32.Color4 + HolderColor math32.Color4 + Paddings RectBounds + type EditStyles struct + Disabled EditStyle + Focus EditStyle + Normal EditStyle + Over EditStyle + type FillLayout struct + func NewFillLayout(width, height bool) *FillLayout + func (f *FillLayout) Recalc(ipan IPanel) + type Folder struct + func NewFolder(text string, width float32, contentPanel IPanel) *Folder + func (f *Folder) Initialize(text string, width float32, contentPanel IPanel) + func (f *Folder) SetAlignRight(state bool) + func (f *Folder) SetStyles(fs *FolderStyles) + func (f *Folder) TotalHeight() float32 + type FolderStyle struct + FgColor math32.Color4 + Icons [2]string + type FolderStyles struct + Disabled FolderStyle + Focus FolderStyle + Normal FolderStyle + Over FolderStyle + type Graph struct + func (lg *Graph) RenderSetup(gs *gls.GLS, rinfo *core.RenderInfo) + func (lg *Graph) SetColor(color *math32.Color) + func (lg *Graph) SetData(data []float32) + func (lg *Graph) SetLineWidth(width float32) + type GridLayout struct + func NewGridLayout(ncols int) *GridLayout + func (g *GridLayout) Recalc(ipan IPanel) + func (g *GridLayout) SetAlignH(align Align) + func (g *GridLayout) SetAlignV(align Align) + func (g *GridLayout) SetColAlignH(col int, align Align) + func (g *GridLayout) SetColAlignV(col int, align Align) + func (g *GridLayout) SetExpandH(expand bool) + func (g *GridLayout) SetExpandV(expand bool) + type GridLayoutParams struct + AlignH Align + AlignV Align + ColSpan int + type HBoxLayout struct + func NewHBoxLayout() *HBoxLayout + func (bl *HBoxLayout) Recalc(ipan IPanel) + func (bl *HBoxLayout) SetAlignH(align Align) + func (bl *HBoxLayout) SetAutoHeight(state bool) + func (bl *HBoxLayout) SetAutoWidth(state bool) + func (bl *HBoxLayout) SetSpacing(spacing float32) + type HBoxLayoutParams struct + AlignV Align + Expand float32 + type IBuilderLayout interface + BuildLayout func(b *Builder, am map[string]interface{}) (ILayout, error) + BuildParams func(b *Builder, am map[string]interface{}) (interface{}, error) + type ILayout interface + Recalc func(ipan IPanel) + type IPanel interface + GetPanel func() *Panel + LostKeyFocus func() + Root func() *Root + SetLayout func(ILayout) + SetPosition func(x, y float32) + SetPositionX func(x float32) + SetPositionY func(y float32) + SetRoot func(*Root) + TotalHeight func() float32 + TotalWidth func() float32 + type Image struct + func NewImage(imgfile string) (image *Image, err error) + func NewImageFromRGBA(rgba *image.RGBA) *Image + func NewImageFromTex(tex *texture.Texture2D) *Image + func (i *Image) SetImage(imgfile string) error + func (i *Image) SetTexture(tex *texture.Texture2D) *texture.Texture2D + type ImageButton struct + func NewImageButton(normalImgPath string) (*ImageButton, error) + func (b *ImageButton) Dispose() + func (b *ImageButton) SetFontSize(size float64) + func (b *ImageButton) SetIcon(icode string) + func (b *ImageButton) SetImage(state ButtonState, imgfile string) error + func (b *ImageButton) SetStyles(bs *ImageButtonStyles) + func (b *ImageButton) SetText(text string) + type ImageButtonStyle BasicStyle + type ImageButtonStyles struct + Disabled ImageButtonStyle + Focus ImageButtonStyle + Normal ImageButtonStyle + Over ImageButtonStyle + Pressed ImageButtonStyle + type ImageLabel struct + func NewImageLabel(text string) *ImageLabel + func (il *ImageLabel) CopyFields(other *ImageLabel) + func (il *ImageLabel) ImageVisible() bool + func (il *ImageLabel) SetBgColor(color *math32.Color) + func (il *ImageLabel) SetBgColor4(color *math32.Color4) + func (il *ImageLabel) SetColor(color *math32.Color) + func (il *ImageLabel) SetColor4(color *math32.Color4) + func (il *ImageLabel) SetFontSize(size float64) + func (il *ImageLabel) SetIcon(icon string) + func (il *ImageLabel) SetImage(img *Image) + func (il *ImageLabel) SetImageFromFile(imgfile string) error + func (il *ImageLabel) SetImageVisible(vis bool) + func (il *ImageLabel) SetText(text string) + func (il *ImageLabel) Text() string + type ImageLabelStyle BasicStyle + type ItemScroller struct + func NewHScroller(width, height float32) *ItemScroller + func NewVScroller(width, height float32) *ItemScroller + func (s *ItemScroller) Add(item IPanel) + func (s *ItemScroller) ApplyStyle(style int) + func (s *ItemScroller) Clear() + func (s *ItemScroller) First() int + func (s *ItemScroller) InsertAt(pos int, item IPanel) + func (s *ItemScroller) ItemAt(pos int) IPanel + func (s *ItemScroller) ItemPosition(item IPanel) int + func (s *ItemScroller) ItemVisible(pos int) bool + func (s *ItemScroller) Len() int + func (s *ItemScroller) Remove(item IPanel) + func (s *ItemScroller) RemoveAt(pos int) IPanel + func (s *ItemScroller) ScrollDown() + func (s *ItemScroller) ScrollUp() + func (s *ItemScroller) SetAutoButtonSize(autoButtonSize bool) + func (s *ItemScroller) SetAutoHeight(maxHeight float32) + func (s *ItemScroller) SetAutoWidth(maxWidth float32) + func (s *ItemScroller) SetFirst(pos int) + func (s *ItemScroller) SetStyles(ss *ItemScrollerStyles) + type ItemScrollerStyle BasicStyle + type ItemScrollerStyles struct + Disabled ItemScrollerStyle + Focus ItemScrollerStyle + Normal ItemScrollerStyle + Over ItemScrollerStyle + type Label struct + func NewIcon(icon string) *Label + func NewLabel(text string) *Label + func NewLabelWithFont(msg string, font *text.Font) *Label + func (l *Label) BgColor() math32.Color4 + func (l *Label) Color() math32.Color4 + func (l *Label) Font() *text.Font + func (l *Label) FontDPI() float64 + func (l *Label) FontSize() float64 + func (l *Label) LineSpacing() float64 + func (l *Label) SetBgColor(color *math32.Color) *Label + func (l *Label) SetBgColor4(color *math32.Color4) *Label + func (l *Label) SetColor(color *math32.Color) *Label + func (l *Label) SetColor4(color4 *math32.Color4) *Label + func (l *Label) SetFont(f *text.Font) + func (l *Label) SetFontDPI(dpi float64) *Label + func (l *Label) SetFontSize(size float64) *Label + func (l *Label) SetLineSpacing(spacing float64) *Label + func (l *Label) SetText(text string) + func (l *Label) Text() string + type LabelStyle struct + FgColor math32.Color4 + type List struct + func NewHList(width, height float32) *List + func NewVList(width, height float32) *List + func (li *List) Add(item IPanel) + func (li *List) InsertAt(pos int, item IPanel) + func (li *List) ItemAt(pos int) IPanel + func (li *List) ItemPosition(item IPanel) int + func (li *List) Remove(item IPanel) + func (li *List) RemoveAt(pos int) IPanel + func (li *List) SelectPos(pos int, state bool) + func (li *List) Selected() []IPanel + func (li *List) SetItemPadLeftAt(pos int, pad float32) + func (li *List) SetSelected(item IPanel, state bool) + func (li *List) SetSingle(state bool) + func (li *List) SetStyles(s *ListStyles) + func (li *List) Single() bool + type ListItem struct + func (litem *ListItem) SetHighlighted(state bool) + func (litem *ListItem) SetSelected(state bool) + type ListItemStyle BasicStyle + type ListItemStyles struct + Highlighted ListItemStyle + Normal ListItemStyle + Over ListItemStyle + SelHigh ListItemStyle + Selected ListItemStyle + type ListStyles struct + Item *ListItemStyles + Scroller *ItemScrollerStyles + type Menu struct + func NewMenu() *Menu + func NewMenuBar() *Menu + func (m *Menu) AddMenu(text string, subm *Menu) *MenuItem + func (m *Menu) AddOption(text string) *MenuItem + func (m *Menu) AddSeparator() *MenuItem + func (m *Menu) RemoveItem(mi *MenuItem) + type MenuBodyStyle BasicStyle + type MenuBodyStyles struct + Disabled MenuBodyStyle + Focus MenuBodyStyle + Normal MenuBodyStyle + Over MenuBodyStyle + type MenuItem struct + func (mi *MenuItem) Id() string + func (mi *MenuItem) IdPath() []string + func (mi *MenuItem) SetEnabled(enabled bool) *MenuItem + func (mi *MenuItem) SetIcon(icon string) *MenuItem + func (mi *MenuItem) SetId(id string) *MenuItem + func (mi *MenuItem) SetImage(img *Image) + func (mi *MenuItem) SetShortcut(mods window.ModifierKey, key window.Key) *MenuItem + func (mi *MenuItem) SetSubmenu(smi *MenuItem) *MenuItem + func (mi *MenuItem) SetText(text string) *MenuItem + type MenuItemStyle struct + FgColor math32.Color4 + IconPaddings RectBounds + RiconPaddings RectBounds + ShortcutPaddings RectBounds + type MenuItemStyles struct + Disabled MenuItemStyle + Normal MenuItemStyle + Over MenuItemStyle + Separator MenuItemStyle + type MenuStyles struct + Body *MenuBodyStyles + Item *MenuItemStyles + type Panel struct + func NewPanel(width, height float32) *Panel + func (p *Panel) Add(ichild IPanel) *Panel + func (p *Panel) ApplyStyle(ps *PanelStyle) + func (p *Panel) Borders() RectBounds + func (p *Panel) BordersColor4() math32.Color4 + func (p *Panel) Bounded() bool + func (p *Panel) Color4() math32.Color4 + func (p *Panel) ContainsPosition(x, y float32) bool + func (p *Panel) ContentCoords(wx, wy float32) (float32, float32) + func (p *Panel) ContentHeight() float32 + func (p *Panel) ContentWidth() float32 + func (p *Panel) Enabled() bool + func (p *Panel) GetPanel() *Panel + func (p *Panel) Height() float32 + func (p *Panel) Initialize(width, height float32) + func (p *Panel) InitializeGraphic(width, height float32, gr *graphic.Graphic) + func (p *Panel) InsideBorders(x, y float32) bool + func (p *Panel) Intersects(other *Panel) bool + func (p *Panel) Layout() ILayout + func (p *Panel) LayoutParams() interface{} + func (p *Panel) LostKeyFocus() + func (p *Panel) Margins() RectBounds + func (p *Panel) Material() *material.Material + func (p *Panel) MinHeight() float32 + func (p *Panel) MinWidth() float32 + func (p *Panel) NDC2Pix(nx, ny float32) (x, y float32) + func (p *Panel) Paddings() RectBounds + func (p *Panel) Pix2NDC(px, py float32) (nx, ny float32) + func (p *Panel) Pospix() math32.Vector3 + func (p *Panel) Remove(ichild IPanel) bool + func (p *Panel) RenderSetup(gl *gls.GLS, rinfo *core.RenderInfo) + func (p *Panel) Root() *Root + func (p *Panel) SetBorders(top, right, bottom, left float32) + func (p *Panel) SetBordersColor(color *math32.Color) + func (p *Panel) SetBordersColor4(color *math32.Color4) + func (p *Panel) SetBordersFrom(src *RectBounds) + func (p *Panel) SetBounded(bounded bool) + func (p *Panel) SetColor(color *math32.Color) *Panel + func (p *Panel) SetColor4(color *math32.Color4) *Panel + func (p *Panel) SetContentAspectHeight(height float32) + func (p *Panel) SetContentAspectWidth(width float32) + func (p *Panel) SetContentHeight(height float32) + func (p *Panel) SetContentSize(width, height float32) + func (p *Panel) SetContentWidth(width float32) + func (p *Panel) SetEnabled(state bool) + func (p *Panel) SetHeight(height float32) + func (p *Panel) SetLayout(ilayout ILayout) + func (p *Panel) SetLayoutParams(params interface{}) + func (p *Panel) SetMargins(top, right, bottom, left float32) + func (p *Panel) SetMarginsFrom(src *RectBounds) + func (p *Panel) SetModelMatrix(gl *gls.GLS, mm *math32.Matrix4) + func (p *Panel) SetPaddings(top, right, bottom, left float32) + func (p *Panel) SetPaddingsColor(color *math32.Color) + func (p *Panel) SetPaddingsFrom(src *RectBounds) + func (p *Panel) SetPosition(x, y float32) + func (p *Panel) SetRoot(root *Root) + func (p *Panel) SetSize(width, height float32) + func (p *Panel) SetTopChild(ipan IPanel) + func (p *Panel) SetWidth(width float32) + func (p *Panel) Size() (float32, float32) + func (p *Panel) TotalHeight() float32 + func (p *Panel) TotalWidth() float32 + func (p *Panel) UpdateMatrixWorld() + func (p *Panel) Width() float32 + type PanelStyle struct + BgColor math32.Color4 + Border RectBounds + BorderColor math32.Color4 + Margin RectBounds + Padding RectBounds + type Rect struct + Height float32 + Width float32 + X float32 + Y float32 + func (r *Rect) Contains(x, y float32) bool + type RectBounds struct + Bottom float32 + Left float32 + Right float32 + Top float32 + func (bs *RectBounds) Set(top, right, bottom, left float32) + type Root struct + func NewRoot(gs *gls.GLS, win window.IWindow) *Root + func (r *Root) Add(ipan IPanel) + func (r *Root) ClearKeyFocus() + func (r *Root) HasKeyFocus(ipan IPanel) bool + func (r *Root) HasMouseFocus(ipan IPanel) bool + func (r *Root) SetCursorCrosshair() + func (r *Root) SetCursorDiagResize1() + func (r *Root) SetCursorDiagResize2() + func (r *Root) SetCursorHResize() + func (r *Root) SetCursorHand() + func (r *Root) SetCursorNormal() + func (r *Root) SetCursorText() + func (r *Root) SetCursorVResize() + func (r *Root) SetKeyFocus(ipan IPanel) + func (r *Root) SetModal(ipan IPanel) + func (r *Root) SetMouseFocus(ipan IPanel) + func (r *Root) SetScrollFocus(ipan IPanel) + func (r *Root) StopPropagation(events int) + func (r *Root) SubscribeWin() + func (r *Root) Window() window.IWindow + type ScrollBar struct + func NewHScrollBar(width, height float32) *ScrollBar + func NewVScrollBar(width, height float32) *ScrollBar + func (sb *ScrollBar) SetButtonSize(size float32) + func (sb *ScrollBar) SetValue(v float32) + func (sb *ScrollBar) Value() float64 + type ScrollBarStyle struct + Button PanelStyle + ButtonLength float32 + type ScrollBarStyles struct + Disabled ScrollBarStyle + Normal ScrollBarStyle + Over ScrollBarStyle + type ScrollMode int + type ScrollbarInterlocking int + type ScrollbarPosition int + type Scroller struct + func NewScroller(width, height float32, mode ScrollMode, target IPanel) *Scroller + func (s *Scroller) CornerCovered() bool + func (s *Scroller) HorizontalScrollbarAutoSizeButton() bool + func (s *Scroller) HorizontalScrollbarBroadness() float32 + func (s *Scroller) HorizontalScrollbarOverlapping() bool + func (s *Scroller) HorizontalScrollbarPosition() ScrollbarPosition + func (s *Scroller) ScrollMode() ScrollMode + func (s *Scroller) ScrollTo(x, y float32) + func (s *Scroller) ScrollbarInterlocking() ScrollbarInterlocking + func (s *Scroller) SetCornerCovered(state bool) + func (s *Scroller) SetHorizontalScrollbarAutoSizeButton(state bool) + func (s *Scroller) SetHorizontalScrollbarBroadness(broadness float32) + func (s *Scroller) SetHorizontalScrollbarOverlapping(state bool) + func (s *Scroller) SetHorizontalScrollbarPosition(pos ScrollbarPosition) + func (s *Scroller) SetScrollMode(mode ScrollMode) + func (s *Scroller) SetScrollbarInterlocking(interlocking ScrollbarInterlocking) + func (s *Scroller) SetVerticalScrollbarAutoSizeButton(state bool) + func (s *Scroller) SetVerticalScrollbarBroadness(broadness float32) + func (s *Scroller) SetVerticalScrollbarOverlapping(state bool) + func (s *Scroller) SetVerticalScrollbarPosition(pos ScrollbarPosition) + func (s *Scroller) Update() + func (s *Scroller) VerticalScrollbarAutoSizeButton() bool + func (s *Scroller) VerticalScrollbarBroadness() float32 + func (s *Scroller) VerticalScrollbarOverlapping() bool + func (s *Scroller) VerticalScrollbarPosition() ScrollbarPosition + type ScrollerScrollbarStyle struct + AutoSizeButton bool + Broadness float32 + OverlapContent bool + Position ScrollbarPosition + type ScrollerStyle struct + CornerCovered bool + CornerPanel PanelStyle + HorizontalScrollbar ScrollerScrollbarStyle + ScrollbarInterlocking ScrollbarInterlocking + VerticalScrollbar ScrollerScrollbarStyle + type Slider struct + func NewHSlider(width, height float32) *Slider + func NewVSlider(width, height float32) *Slider + func (s *Slider) ScaleFactor() float32 + func (s *Slider) SetScaleFactor(factor float32) *Slider + func (s *Slider) SetStyles(ss *SliderStyles) *Slider + func (s *Slider) SetText(text string) *Slider + func (s *Slider) SetValue(value float32) *Slider + func (s *Slider) Value() float32 + type SliderStyle BasicStyle + type SliderStyles struct + Disabled SliderStyle + Focus SliderStyle + Normal SliderStyle + Over SliderStyle + type Splitter struct + P0 Panel + P1 Panel + func NewHSplitter(width, height float32) *Splitter + func NewVSplitter(width, height float32) *Splitter + func (s *Splitter) SetSplit(pos float32) + func (s *Splitter) Split() float32 + type SplitterStyle struct + SpacerBorderColor math32.Color4 + SpacerColor math32.Color4 + SpacerSize float32 + type SplitterStyles struct + Drag SplitterStyle + Normal SplitterStyle + Over SplitterStyle + type Style struct + Button ButtonStyles + CheckRadio CheckRadioStyles + Color ColorStyle + ControlFolder ControlFolderStyles + DropDown DropDownStyles + Edit EditStyles + Folder FolderStyles + Font *text.Font + FontIcon *text.Font + ImageButton ImageButtonStyles + ItemScroller ItemScrollerStyles + Label LabelStyle + List ListStyles + Menu MenuStyles + ScrollBar ScrollBarStyles + Scroller ScrollerStyle + Slider SliderStyles + Splitter SplitterStyles + TabBar TabBarStyles + Table TableStyles + Tree TreeStyles + Window WindowStyles + func NewDarkStyle() *Style + func NewLightStyle() *Style + func StyleDefault() *Style + type Tab struct + func (tab *Tab) Content() IPanel + func (tab *Tab) Header() *Panel + func (tab *Tab) Pinned() bool + func (tab *Tab) SetContent(ipan IPanel) + func (tab *Tab) SetIcon(icon string) *Tab + func (tab *Tab) SetImage(imgfile string) error + func (tab *Tab) SetPinned(pinned bool) + func (tab *Tab) SetText(text string) *Tab + type TabBar struct + func NewTabBar(width, height float32) *TabBar + func (tb *TabBar) AddTab(text string) *Tab + func (tb *TabBar) InsertTab(text string, pos int) *Tab + func (tb *TabBar) MoveTab(src, dest int) error + func (tb *TabBar) RemoveTab(pos int) error + func (tb *TabBar) Selected() int + func (tb *TabBar) SetSelected(pos int) *Tab + func (tb *TabBar) TabAt(pos int) *Tab + func (tb *TabBar) TabCount() int + func (tb *TabBar) TabPosition(tab *Tab) int + type TabBarStyle BasicStyle + type TabBarStyles struct + Disabled TabBarStyle + Focus TabBarStyle + ListButtonIcon string + ListButtonPaddings RectBounds + Normal TabBarStyle + Over TabBarStyle + SepHeight float32 + Tab TabStyles + type TabStyle BasicStyle + type TabStyles struct + Disabled TabStyle + Focus TabStyle + IconClose string + IconPaddings RectBounds + ImagePaddings RectBounds + Normal TabStyle + Over TabStyle + Selected TabStyle + type Table struct + func NewTable(width, height float32, cols []TableColumn) (*Table, error) + func (t *Table) AddRow(values map[string]interface{}) + func (t *Table) Cell(col string, ri int) interface{} + func (t *Table) Clear() + func (t *Table) EnableColResize(colid string, enable bool) + func (t *Table) InsertRow(row int, values map[string]interface{}) + func (t *Table) RemoveRow(row int) + func (t *Table) Row(ri int) map[string]interface{} + func (t *Table) RowCount() int + func (t *Table) Rows(fi, li int) []map[string]interface{} + func (t *Table) SelectedRows() []int + func (t *Table) SetCell(row int, colid string, value interface{}) + func (t *Table) SetColExpand(colid string, expand float32) + func (t *Table) SetColFormat(id, format string) + func (t *Table) SetColOrder(colid string, order int) + func (t *Table) SetColWidth(colid string, width float32) + func (t *Table) SetRow(row int, values map[string]interface{}) + func (t *Table) SetRows(values []map[string]interface{}) + func (t *Table) SetSelectionType(sel TableSelType) + func (t *Table) SetStatusText(text string) + func (t *Table) SetStyles(ts *TableStyles) + func (t *Table) ShowAllColumns() + func (t *Table) ShowColumn(col string, show bool) + func (t *Table) ShowHeader(show bool) + func (t *Table) ShowStatus(show bool) + func (t *Table) SortColumn(col string, asString bool, asc bool) + type TableCell struct + Col string + Row int + Tab *Table + Value interface{} + type TableClickEvent struct + Col string + ColOrder int + Header bool + Row int + X float32 + Y float32 + type TableColumn struct + Align Align + Expand float32 + Format string + FormatFunc TableFormatFunc + Header string + Hidden bool + Id string + Minwidth float32 + Resize bool + Sort TableSortType + Width float32 + type TableFormatFunc func(cell TableCell) string + type TableHeaderStyle BasicStyle + type TableResizerStyle struct + BgColor math32.Color4 + Border RectBounds + BorderColor math32.Color4 + Width float32 + type TableRowStyle BasicStyle + type TableSelType int + const TableSelMultiRow + const TableSelSingleRow + type TableSortType int + const TableSortNone + const TableSortNumber + const TableSortString + type TableStatusStyle BasicStyle + type TableStyles struct + Header TableHeaderStyle + Resizer TableResizerStyle + RowCursor TableRowStyle + RowEven TableRowStyle + RowOdd TableRowStyle + RowSel TableRowStyle + Status TableStatusStyle + type Tree struct + func NewTree(width, height float32) *Tree + func (t *Tree) Add(ichild IPanel) + func (t *Tree) AddNode(text string) *TreeNode + func (t *Tree) FindChild(child IPanel) (*TreeNode, int) + func (t *Tree) Initialize(width, height float32) + func (t *Tree) InsertAt(pos int, child IPanel) + func (t *Tree) InsertNodeAt(pos int, text string) *TreeNode + func (t *Tree) Remove(child IPanel) + func (t *Tree) Selected() IPanel + func (t *Tree) SetStyles(s *TreeStyles) + type TreeNode struct + func (n *TreeNode) Add(child IPanel) + func (n *TreeNode) AddNode(text string) *TreeNode + func (n *TreeNode) FindChild(child IPanel) (*TreeNode, int) + func (n *TreeNode) InsertAt(pos int, child IPanel) + func (n *TreeNode) InsertNodeAt(pos int, text string) *TreeNode + func (n *TreeNode) Len() int + func (n *TreeNode) Remove(child IPanel) + func (n *TreeNode) SetExpanded(state bool) + type TreeNodeStyle struct + FgColor math32.Color4 + Icons [2]string + type TreeNodeStyles struct + Normal TreeNodeStyle + type TreeStyles struct + List *ListStyles + Node *TreeNodeStyles + Padlevel float32 + type VBoxLayout struct + func NewVBoxLayout() *VBoxLayout + func (bl *VBoxLayout) Recalc(ipan IPanel) + func (bl *VBoxLayout) SetAlignV(align Align) + func (bl *VBoxLayout) SetAutoHeight(state bool) + func (bl *VBoxLayout) SetAutoWidth(state bool) + func (bl *VBoxLayout) SetSpacing(spacing float32) + type VBoxLayoutParams struct + AlignH Align + Expand float32 + type Window struct + func NewWindow(width, height float32) *Window + func (w *Window) Add(ichild IPanel) *Window + func (w *Window) SetCloseButton(state bool) + func (w *Window) SetLayout(layout ILayout) + func (w *Window) SetResizable(state bool) + func (w *Window) SetTitle(text string) + type WindowStyle struct + TitleStyle WindowTitleStyle + type WindowStyles struct + Disabled WindowStyle + Focus WindowStyle + Normal WindowStyle + Over WindowStyle + type WindowTitle struct + type WindowTitleStyle struct + FgColor math32.Color4