gxui: github.com/nelsam/gxui/themes/basic Index | Files

package basic

import "github.com/nelsam/gxui/themes/basic"

Index

Package Files

bubble_overlay.go button.go code_editor.go colors.go drop_down_list.go image.go label.go linear_layout.go list.go panel_holder.go panel_tab.go progress_bar.go scroll_bar.go scroll_layout.go splitter_layout.go style.go table_layout.go textbox.go theme.go tree.go window.go

Variables

var Blue30 = gxui.Color{R: 0.0, G: 0.0, B: 0.3, A: 1.0}

func CreateBubbleOverlay Uses

func CreateBubbleOverlay(theme *Theme) gxui.BubbleOverlay

func CreateButton Uses

func CreateButton(theme *Theme) gxui.Button

func CreateCodeEditor Uses

func CreateCodeEditor(theme *Theme) gxui.CodeEditor

func CreateDropDownList Uses

func CreateDropDownList(theme *Theme) gxui.DropDownList

func CreateImage Uses

func CreateImage(theme *Theme) gxui.Image

func CreateLabel Uses

func CreateLabel(theme *Theme) gxui.Label

func CreateLinearLayout Uses

func CreateLinearLayout(theme *Theme) gxui.LinearLayout

func CreateList Uses

func CreateList(theme *Theme) gxui.List

func CreatePanelHolder Uses

func CreatePanelHolder(theme *Theme) gxui.PanelHolder

func CreatePanelTab Uses

func CreatePanelTab(theme *Theme) mixins.PanelTab

func CreateProgressBar Uses

func CreateProgressBar(theme *Theme) gxui.ProgressBar

func CreateScrollBar Uses

func CreateScrollBar(theme *Theme) gxui.ScrollBar

func CreateScrollLayout Uses

func CreateScrollLayout(theme *Theme) gxui.ScrollLayout

func CreateSplitterLayout Uses

func CreateSplitterLayout(theme *Theme) gxui.SplitterLayout

func CreateTableLayout Uses

func CreateTableLayout(theme *Theme) gxui.TableLayout

func CreateTextBox Uses

func CreateTextBox(theme *Theme) gxui.TextBox

func CreateTree Uses

func CreateTree(theme *Theme) gxui.Tree

func CreateWindow Uses

func CreateWindow(theme *Theme, width, height int, title string) gxui.Window

type BubbleOverlay Uses

type BubbleOverlay struct {
    mixins.BubbleOverlay
    // contains filtered or unexported fields
}

type Button Uses

type Button struct {
    mixins.Button
    // contains filtered or unexported fields
}

func (*Button) Paint Uses

func (b *Button) Paint(c gxui.Canvas)

Button internal overrides

type CodeEditor Uses

type CodeEditor struct {
    mixins.CodeEditor
    // contains filtered or unexported fields
}

func (*CodeEditor) CreateSuggestionList Uses

func (t *CodeEditor) CreateSuggestionList() gxui.List

func (*CodeEditor) Paint Uses

func (t *CodeEditor) Paint(c gxui.Canvas)

mixins.CodeEditor overrides

type DropDownList struct {
    mixins.DropDownList
    // contains filtered or unexported fields
}
func (l *DropDownList) DrawSelection(c gxui.Canvas, r math.Rect)
func (l *DropDownList) Paint(c gxui.Canvas)

mixin.List overrides

type List Uses

type List struct {
    mixins.List
    // contains filtered or unexported fields
}

func (*List) Paint Uses

func (l *List) Paint(c gxui.Canvas)

mixin.List overrides

func (*List) PaintMouseOverBackground Uses

func (l *List) PaintMouseOverBackground(c gxui.Canvas, r math.Rect)

func (*List) PaintSelection Uses

func (l *List) PaintSelection(c gxui.Canvas, r math.Rect)

type PanelHolder Uses

type PanelHolder struct {
    mixins.PanelHolder
    // contains filtered or unexported fields
}

func (*PanelHolder) CreatePanelTab Uses

func (p *PanelHolder) CreatePanelTab() mixins.PanelTab

func (*PanelHolder) Paint Uses

func (p *PanelHolder) Paint(c gxui.Canvas)

type PanelTab Uses

type PanelTab struct {
    mixins.Button
    // contains filtered or unexported fields
}

func (*PanelTab) HasFixedLength Uses

func (t *PanelTab) HasFixedLength() bool

func (*PanelTab) LabelLength Uses

func (t *PanelTab) LabelLength() int

func (*PanelTab) Paint Uses

func (t *PanelTab) Paint(c gxui.Canvas)

func (*PanelTab) SetActive Uses

func (t *PanelTab) SetActive(active bool)

func (*PanelTab) SetMaxLabelLength Uses

func (t *PanelTab) SetMaxLabelLength(length int)

func (*PanelTab) SetText Uses

func (t *PanelTab) SetText(str string)

type ProgressBar Uses

type ProgressBar struct {
    mixins.ProgressBar
    // contains filtered or unexported fields
}

func (*ProgressBar) PaintProgress Uses

func (b *ProgressBar) PaintProgress(c gxui.Canvas, r math.Rect, frac float32)

func (*ProgressBar) SetSize Uses

func (b *ProgressBar) SetSize(size math.Size)

type ScrollBar Uses

type ScrollBar struct {
    mixins.ScrollBar
}

type SplitterLayout Uses

type SplitterLayout struct {
    mixins.SplitterLayout
    // contains filtered or unexported fields
}

func (*SplitterLayout) CreateSplitterBar Uses

func (l *SplitterLayout) CreateSplitterBar() gxui.Control

mixins.SplitterLayout overrides

type Style Uses

type Style struct {
    FontColor gxui.Color
    Brush     gxui.Brush
    Pen       gxui.Pen
}

func CreateStyle Uses

func CreateStyle(fontColor, brushColor, penColor gxui.Color, penWidth float32) Style

type TextBox Uses

type TextBox struct {
    mixins.TextBox
    // contains filtered or unexported fields
}

func (*TextBox) Paint Uses

func (t *TextBox) Paint(c gxui.Canvas)

mixins.TextBox overrides

type Theme Uses

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 Uses

func (t *Theme) CreateBubbleOverlay() gxui.BubbleOverlay

func (*Theme) CreateButton Uses

func (t *Theme) CreateButton() gxui.Button

func (*Theme) CreateCodeEditor Uses

func (t *Theme) CreateCodeEditor() gxui.CodeEditor

func (*Theme) CreateDropDownList Uses

func (t *Theme) CreateDropDownList() gxui.DropDownList

func (*Theme) CreateImage Uses

func (t *Theme) CreateImage() gxui.Image

func (*Theme) CreateLabel Uses

func (t *Theme) CreateLabel() gxui.Label

func (*Theme) CreateLinearLayout Uses

func (t *Theme) CreateLinearLayout() gxui.LinearLayout

func (*Theme) CreateList Uses

func (t *Theme) CreateList() gxui.List

func (*Theme) CreatePanelHolder Uses

func (t *Theme) CreatePanelHolder() gxui.PanelHolder

func (*Theme) CreateProgressBar Uses

func (t *Theme) CreateProgressBar() gxui.ProgressBar

func (*Theme) CreateScrollBar Uses

func (t *Theme) CreateScrollBar() gxui.ScrollBar

func (*Theme) CreateScrollLayout Uses

func (t *Theme) CreateScrollLayout() gxui.ScrollLayout

func (*Theme) CreateSplitterLayout Uses

func (t *Theme) CreateSplitterLayout() gxui.SplitterLayout

func (*Theme) CreateTableLayout Uses

func (t *Theme) CreateTableLayout() gxui.TableLayout

func (*Theme) CreateTextBox Uses

func (t *Theme) CreateTextBox() gxui.TextBox

func (*Theme) CreateTree Uses

func (t *Theme) CreateTree() gxui.Tree

func (*Theme) CreateWindow Uses

func (t *Theme) CreateWindow(width, height int, title string) gxui.Window

func (*Theme) DefaultFont Uses

func (t *Theme) DefaultFont() gxui.Font

func (*Theme) DefaultMonospaceFont Uses

func (t *Theme) DefaultMonospaceFont() gxui.Font

func (*Theme) Driver Uses

func (t *Theme) Driver() gxui.Driver

gxui.Theme compliance

func (*Theme) SetDefaultFont Uses

func (t *Theme) SetDefaultFont(f gxui.Font)

func (*Theme) SetDefaultMonospaceFont Uses

func (t *Theme) SetDefaultMonospaceFont(f gxui.Font)

type Tree Uses

type Tree struct {
    mixins.Tree
    // contains filtered or unexported fields
}

func (*Tree) Paint Uses

func (t *Tree) Paint(c gxui.Canvas)

mixins.Tree overrides

func (*Tree) PaintMouseOverBackground Uses

func (t *Tree) PaintMouseOverBackground(c gxui.Canvas, r math.Rect)

func (*Tree) PaintSelection Uses

func (l *Tree) PaintSelection(c gxui.Canvas, r math.Rect)

mixins.List overrides

type Window Uses

type Window struct {
    mixins.Window
}

Package basic imports 4 packages (graph) and is imported by 13 packages. Updated 2019-11-25. Refresh now. Tools for package owners.