Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessEncoding ¶
ProcessEncoding attempts to convert CKJ strings to UTF-8
Types ¶
type Browser ¶
type Browser struct{}
Browser exposes browser methods to the runtime
type Dialog ¶
type Dialog struct {
// contains filtered or unexported fields
}
Dialog exposes an interface to native dialogs
func NewDialog ¶
func NewDialog(renderer interfaces.Renderer) *Dialog
NewDialog creates a new Dialog struct
func (*Dialog) SelectDirectory ¶
SelectDirectory prompts the user to select a directory
func (*Dialog) SelectFile ¶
SelectFile prompts the user to select a file
func (*Dialog) SelectSaveFile ¶
SelectSaveFile prompts the user to select a file for saving
type Events ¶
type Events struct {
// contains filtered or unexported fields
}
Events exposes the events interface
func NewEvents ¶
func NewEvents(eventManager interfaces.EventManager) *Events
NewEvents creates a new Events struct
type FileSystem ¶
type FileSystem struct{}
FileSystem exposes file system utilities to the runtime
func (*FileSystem) HomeDir ¶
func (r *FileSystem) HomeDir() (string, error)
HomeDir returns the user's home directory
type Window ¶
type Window struct {
// contains filtered or unexported fields
}
Window exposes an interface for manipulating the window
func NewWindow ¶
func NewWindow(renderer interfaces.Renderer) *Window
NewWindow creates a new Window struct
func (*Window) UnFullscreen ¶
func (r *Window) UnFullscreen()
UnFullscreen attempts to restore the window to the size/position before fullscreen