Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Preferences ¶
type Preferences struct {
InputGamma prefs.Float
OutputGamma prefs.Float
Mask prefs.Bool
Scanlines prefs.Bool
Noise prefs.Bool
MaskBrightness prefs.Float
ScanlinesBrightness prefs.Float
NoiseLevel prefs.Float
MaskScanlineScaling prefs.Int
Vignette prefs.Bool
// contains filtered or unexported fields
}
func NewPreferences ¶
func NewPreferences() (*Preferences, error)
NewPreferences is the preferred method of initialisation for the Preferences type.
func (*Preferences) Load ¶
func (p *Preferences) Load() error
Load disassembly preferences and apply to the current disassembly.
func (*Preferences) Save ¶
func (p *Preferences) Save() error
Save current disassembly preferences to disk.
func (*Preferences) SetDefaults ¶
func (p *Preferences) SetDefaults()
SetDefaults revers all CRT settings to default values.
func (*Preferences) String ¶
func (p *Preferences) String() string
Click to show internal directories.
Click to hide internal directories.