Documentation
¶
Index ¶
- func InitConfig(s Screen)
- type Config
- func (c *Config) GetBackgroundColor() map[string]int
- func (c *Config) GetColor() pixel.Color
- func (c *Config) GetDefaultCursor() string
- func (c *Config) GetImageSaveDirectory() string
- func (c *Config) GetNotificationTime() int
- func (c *Config) SetImageSaveDirectory(directory string)
- func (c *Config) WithBackground() bool
- type Screen
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitConfig ¶
func InitConfig(s Screen)
Types ¶
type Config ¶
type Config struct { Background bool `mapstructure:"background"` BackgroundColor map[string]int `mapstructure:"background_color"` DefaultCursor string `mapstructure:"default_cursor"` DefaultColor map[string]int `mapstructure:"default_color"` Pointer string `mapstructure:"pointer"` PointerColor map[string]int `mapstructure:"pointer_color"` Symbols map[int]map[int]string `mapstructure:"symbols"` ShowFolder bool `mapstructure:"show_folder"` ShowHiddenFolder bool `mapstructure:"show_hidden_folder"` ImageSaveDirectory string `mapstructure:"image_save_directory"` ImageSaveNameFormat string `mapstructure:"image_save_name_format"` NotificationTime int `mapstructure:"notification_time"` Notifications struct { SetSymbol bool `mapstructure:"set_symbol"` Error bool `mapstructure:"error"` SaveImage bool `mapstructure:"save_image"` LoadImageSizeErrors bool `mapstructure:"load_image_size_errors"` } `mapstructure:"notifications"` }
func (*Config) GetBackgroundColor ¶ added in v1.2.6
func (*Config) GetDefaultCursor ¶ added in v1.2.6
func (*Config) GetImageSaveDirectory ¶ added in v1.2.6
func (*Config) GetNotificationTime ¶ added in v1.2.6
func (*Config) SetImageSaveDirectory ¶ added in v1.2.6
func (*Config) WithBackground ¶ added in v1.2.6
Click to show internal directories.
Click to hide internal directories.