Documentation
¶
Index ¶
- Constants
- func AboutYear(year int) string
- func AddWindowIcon(window *fltk.Window, svgText string)
- func DescHtml(appName, version, desc, url, author, year string) string
- func ImageForSvgText(svgText string, size int) *fltk.RgbImage
- func MakeAccelLabel(width, height int, label string) *fltk.Button
- func MakeHBox(x, y, width, height, spacing int) *fltk.Flex
- func MakeInfoForm(title, appName, descHtml, iconSvg string, width, height, textSize int, ...) *fltk.Window
- func MakeSep(y int, hbox *fltk.Flex)
- func MakeToolbutton(svgText string) *fltk.Button
- func MakeVBox(x, y, width, height, spacing int) *fltk.Flex
- func ShowAbout(appName, descHtml, iconSvg string, textSize int)
- func YesNo(title, bodyText, iconSvg string, textSize int) int
Constants ¶
View Source
const ( CANCELED = 0 OK = 1 YES = 1 CANCEL = 2 NO = 2 )
View Source
const ( ButtonHeight = 32 LabelWidth = 60 ButtonWidth = LabelWidth + (LabelWidth / 2) ReturnButtonWidth = ButtonWidth + Pad Pad = 5 Border = 8 )
Variables ¶
This section is empty.
Functions ¶
func AddWindowIcon ¶
func AddWindowIcon(window *fltk.Window, svgText string)
func ImageForSvgText ¶
func MakeAccelLabel ¶ added in v0.2.3
func MakeInfoForm ¶ added in v0.2.9
func MakeToolbutton ¶
func MakeToolbutton(svgText string) *fltk.Button
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.