forked from google/gxui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.go
30 lines (28 loc) · 840 Bytes
/
theme.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package gxui
type Theme interface {
Driver() Driver
DefaultFont() Font
SetDefaultFont(Font)
DefaultMonospaceFont() Font
SetDefaultMonospaceFont(Font)
CreateBubbleOverlay() BubbleOverlay
CreateButton() Button
CreateCodeEditor() CodeEditor
CreateDropDownList() DropDownList
CreateImage() Image
CreateLabel() Label
CreateLinearLayout() LinearLayout
CreateList() List
CreatePanelHolder() PanelHolder
CreateProgressBar() ProgressBar
CreateScrollBar() ScrollBar
CreateScrollLayout() ScrollLayout
CreateSplitterLayout() SplitterLayout
CreateTableLayout() TableLayout
CreateTextBox() TextBox
CreateTree() Tree
CreateWindow(width, height int, title string) Window
}