Documentation
¶
Index ¶
Constants ¶
View Source
const ( DarkFormBG = wcolor.Color(0x202020) DarkFormLighterBG = wcolor.Color(0x272727) DarkButtonBG = wcolor.Color(0x343434) DarkTextTitleFG = wcolor.Color(0xEEEEEE) DarkTextFG = wcolor.Color(0xDBDBD1) DarkTextLinkFG = wcolor.Color(0x99EBFF) DarkSelectHoverBG = wcolor.Color(0x162430) DarkSelectHighlightBG = wcolor.Color(0x143047) )
Variables ¶
This section is empty.
Functions ¶
func IsDarkMode ¶
func IsDarkMode() bool
IsDarkMode returns true if dark mode is enabled and allowed
func IsDarkModeChecked ¶
func IsDarkModeChecked() bool
IsDarkModeChecked returns true if dark mode has been checked already. This can be ignored as it's set automatically
func SetDarkMode ¶
func SetDarkMode(value bool)
SetDarkMode is used to set if dark mode is enabled. This is normally set by the OS automatically, but you can override it too
func SetDarkModeAllowed ¶
func SetDarkModeAllowed(value bool)
SetDarkModeAllowed is used to allow dark mode. This should be called prior to initializing walk
func SetDarkModeChecked ¶
func SetDarkModeChecked(value bool)
SetDarkModeChecked is used to set if dark mode has been checked. This can be ignored as it's set automatically
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.