Documentation ¶
Index ¶
- type Button
- type Style
- type Theme
- func (t *Theme) CreateButton() framework.Button
- func (t *Theme) CreateLabel() framework.Label
- func (t *Theme) CreateWindow(width, height int, title string) framework.Window
- func (t *Theme) DefaultFont() framework.Font
- func (t *Theme) DefaultMonospaceFont() framework.Font
- func (t *Theme) Driver() framework.Driver
- func (t *Theme) SetDefaultFont(f framework.Font)
- func (t *Theme) SetDefaultMonospaceFont(f framework.Font)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Theme ¶
type Theme struct { DriverInfo framework.Driver DefaultFontInfo framework.Font DefaultMonospaceFontInfo framework.Font WindowBackground tools.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) CreateButton ¶
func (t *Theme) CreateBubbleOverlay() framework.BubbleOverlay { return CreateBubbleOverlay(t) }
func (*Theme) CreateLabel ¶
func (t *Theme) CreateDropDownList() framework.DropDownList { return CreateDropDownList(t) }
func (t *Theme) CreateImage() framework.Image { return CreateImage(t) }
func (*Theme) CreateWindow ¶
func (t *Theme) CreateLinearLayout() framework.LinearLayout { return CreateLinearLayout(t) }
func (t *Theme) CreateList() framework.List { return CreateList(t) }
func (t *Theme) CreatePanelHolder() framework.PanelHolder { return CreatePanelHolder(t) }
func (t *Theme) CreateProgressBar() framework.ProgressBar { return CreateProgressBar(t) }
func (t *Theme) CreateScrollBar() framework.ScrollBar { return CreateScrollBar(t) }
func (t *Theme) CreateScrollLayout() framework.ScrollLayout { return CreateScrollLayout(t) }
func (t *Theme) CreateSplitterLayout() framework.SplitterLayout { return CreateSplitterLayout(t) }
func (t *Theme) CreateTableLayout() framework.TableLayout { return CreateTableLayout(t) }
func (t *Theme) CreateTextBox() framework.TextBox { return CreateTextBox(t) }
func (t *Theme) CreateTree() framework.Tree { return CreateTree(t) }
func (*Theme) DefaultFont ¶
func (*Theme) DefaultMonospaceFont ¶
func (*Theme) SetDefaultFont ¶
func (*Theme) SetDefaultMonospaceFont ¶
Click to show internal directories.
Click to hide internal directories.