Documentation
¶
Index ¶
- Variables
- func CreateBubbleOverlay(theme *Theme) gxui.BubbleOverlay
- func CreateButton(theme *Theme) gxui.Button
- func CreateCodeEditor(theme *Theme) gxui.CodeEditor
- func CreateDropDownList(theme *Theme) gxui.DropDownList
- func CreateImage(theme *Theme) gxui.Image
- func CreateLabel(theme *Theme) gxui.Label
- func CreateLinearLayout(theme *Theme) gxui.LinearLayout
- func CreateList(theme *Theme) gxui.List
- func CreatePanelHolder(theme *Theme) gxui.PanelHolder
- func CreatePanelTab(theme *Theme) mixins.PanelTab
- func CreateProgressBar(theme *Theme) gxui.ProgressBar
- func CreateScrollBar(theme *Theme) gxui.ScrollBar
- func CreateScrollLayout(theme *Theme) gxui.ScrollLayout
- func CreateSplitterLayout(theme *Theme) gxui.SplitterLayout
- func CreateTableLayout(theme *Theme) gxui.TableLayout
- func CreateTextBox(theme *Theme) gxui.TextBox
- func CreateTree(theme *Theme) gxui.Tree
- func CreateWindow(theme *Theme, width, height int, title string) gxui.Window
- type BubbleOverlay
- type Button
- type CodeEditor
- type DropDownList
- type List
- type PanelHolder
- type PanelTab
- type ProgressBar
- type ScrollBar
- type SplitterLayout
- type Style
- type TextBox
- type Theme
- func (t *Theme) CreateBubbleOverlay() gxui.BubbleOverlay
- func (t *Theme) CreateButton() gxui.Button
- func (t *Theme) CreateCodeEditor() gxui.CodeEditor
- func (t *Theme) CreateDropDownList() gxui.DropDownList
- func (t *Theme) CreateImage() gxui.Image
- func (t *Theme) CreateLabel() gxui.Label
- func (t *Theme) CreateLinearLayout() gxui.LinearLayout
- func (t *Theme) CreateList() gxui.List
- func (t *Theme) CreatePanelHolder() gxui.PanelHolder
- func (t *Theme) CreateProgressBar() gxui.ProgressBar
- func (t *Theme) CreateScrollBar() gxui.ScrollBar
- func (t *Theme) CreateScrollLayout() gxui.ScrollLayout
- func (t *Theme) CreateSplitterLayout() gxui.SplitterLayout
- func (t *Theme) CreateTableLayout() gxui.TableLayout
- func (t *Theme) CreateTextBox() gxui.TextBox
- func (t *Theme) CreateTree() gxui.Tree
- func (t *Theme) CreateWindow(width, height int, title string) gxui.Window
- func (t *Theme) DefaultFont() gxui.Font
- func (t *Theme) DefaultMonospaceFont() gxui.Font
- func (t *Theme) Driver() gxui.Driver
- func (t *Theme) SetDefaultFont(f gxui.Font)
- func (t *Theme) SetDefaultMonospaceFont(f gxui.Font)
- type Tree
- type Window
Constants ¶
This section is empty.
Variables ¶
View Source
var Blue30 = gxui.Color{R: 0.0, G: 0.0, B: 0.3, A: 1.0}
Functions ¶
func CreateBubbleOverlay ¶
func CreateBubbleOverlay(theme *Theme) gxui.BubbleOverlay
func CreateButton ¶
func CreateCodeEditor ¶
func CreateCodeEditor(theme *Theme) gxui.CodeEditor
func CreateDropDownList ¶
func CreateDropDownList(theme *Theme) gxui.DropDownList
func CreateImage ¶
func CreateLabel ¶
func CreateLinearLayout ¶
func CreateLinearLayout(theme *Theme) gxui.LinearLayout
func CreateList ¶
func CreatePanelHolder ¶
func CreatePanelHolder(theme *Theme) gxui.PanelHolder
func CreatePanelTab ¶
func CreateProgressBar ¶
func CreateProgressBar(theme *Theme) gxui.ProgressBar
func CreateScrollBar ¶
func CreateScrollLayout ¶
func CreateScrollLayout(theme *Theme) gxui.ScrollLayout
func CreateSplitterLayout ¶
func CreateSplitterLayout(theme *Theme) gxui.SplitterLayout
func CreateTableLayout ¶
func CreateTableLayout(theme *Theme) gxui.TableLayout
func CreateTextBox ¶
func CreateTree ¶
Types ¶
type BubbleOverlay ¶
type BubbleOverlay struct {
mixins.BubbleOverlay
// contains filtered or unexported fields
}
type CodeEditor ¶
type CodeEditor struct {
mixins.CodeEditor
// contains filtered or unexported fields
}
func (*CodeEditor) CreateSuggestionList ¶
func (t *CodeEditor) CreateSuggestionList() gxui.List
type DropDownList ¶
type DropDownList struct {
mixins.DropDownList
// contains filtered or unexported fields
}
func (*DropDownList) DrawSelection ¶
func (l *DropDownList) DrawSelection(c gxui.Canvas, r math.Rect)
type List ¶
func (*List) PaintMouseOverBackground ¶
type PanelHolder ¶
type PanelHolder struct {
mixins.PanelHolder
// contains filtered or unexported fields
}
func (*PanelHolder) CreatePanelTab ¶
func (p *PanelHolder) CreatePanelTab() mixins.PanelTab
func (*PanelHolder) Paint ¶
func (p *PanelHolder) Paint(c gxui.Canvas)
type PanelTab ¶
func (*PanelTab) HasFixedLength ¶
func (*PanelTab) LabelLength ¶
func (*PanelTab) SetMaxLabelLength ¶
type ProgressBar ¶
type ProgressBar struct {
mixins.ProgressBar
// contains filtered or unexported fields
}
func (*ProgressBar) PaintProgress ¶
func (*ProgressBar) SetSize ¶
func (b *ProgressBar) SetSize(size math.Size)
type SplitterLayout ¶
type SplitterLayout struct {
mixins.SplitterLayout
// contains filtered or unexported fields
}
func (*SplitterLayout) CreateSplitterBar ¶
func (l *SplitterLayout) CreateSplitterBar() gxui.Control
mixins.SplitterLayout overrides
type Theme ¶
type Theme struct {
DriverInfo gxui.Driver
DefaultFontInfo gxui.Font
DefaultMonospaceFontInfo gxui.Font
WindowBackground gxui.Color
BubbleOverlayStyle Style
ButtonDefaultStyle Style
ButtonOverStyle Style
ButtonPressedStyle Style
CodeSuggestionListStyle Style
DropDownListDefaultStyle Style
DropDownListOverStyle Style
FocusedStyle Style
HighlightStyle Style
LabelStyle Style
PanelBackgroundStyle Style
ScrollBarBarDefaultStyle Style
ScrollBarBarOverStyle Style
ScrollBarRailDefaultStyle Style
ScrollBarRailOverStyle Style
SplitterBarDefaultStyle Style
SplitterBarOverStyle Style
TabActiveHighlightStyle Style
TabDefaultStyle Style
TabOverStyle Style
TabPressedStyle Style
TextBoxDefaultStyle Style
TextBoxOverStyle Style
}
func (*Theme) CreateBubbleOverlay ¶
func (t *Theme) CreateBubbleOverlay() gxui.BubbleOverlay
func (*Theme) CreateButton ¶
func (*Theme) CreateCodeEditor ¶
func (t *Theme) CreateCodeEditor() gxui.CodeEditor
func (*Theme) CreateDropDownList ¶
func (t *Theme) CreateDropDownList() gxui.DropDownList
func (*Theme) CreateImage ¶
func (*Theme) CreateLabel ¶
func (*Theme) CreateLinearLayout ¶
func (t *Theme) CreateLinearLayout() gxui.LinearLayout
func (*Theme) CreateList ¶
func (*Theme) CreatePanelHolder ¶
func (t *Theme) CreatePanelHolder() gxui.PanelHolder
func (*Theme) CreateProgressBar ¶
func (t *Theme) CreateProgressBar() gxui.ProgressBar
func (*Theme) CreateScrollBar ¶
func (*Theme) CreateScrollLayout ¶
func (t *Theme) CreateScrollLayout() gxui.ScrollLayout
func (*Theme) CreateSplitterLayout ¶
func (t *Theme) CreateSplitterLayout() gxui.SplitterLayout
func (*Theme) CreateTableLayout ¶
func (t *Theme) CreateTableLayout() gxui.TableLayout
func (*Theme) CreateTextBox ¶
func (*Theme) CreateTree ¶
func (*Theme) CreateWindow ¶
func (*Theme) DefaultFont ¶
func (*Theme) DefaultMonospaceFont ¶
func (*Theme) SetDefaultFont ¶
func (*Theme) SetDefaultMonospaceFont ¶
type Tree ¶
func (*Tree) PaintMouseOverBackground ¶
Click to show internal directories.
Click to hide internal directories.