hswindow

package
v0.0.0-...-667d129 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package hswindow contains project's windows

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Window

type Window struct {
	*giu.WindowWidget
	Visible bool
}

Window represents project's window

func New

func New(title string, x, y float32) *Window

New creates new window

func (*Window) Build

func (t *Window) Build()

Build builds window

func (*Window) Cleanup

func (t *Window) Cleanup()

Cleanup hides window

func (*Window) IsVisible

func (t *Window) IsVisible() bool

IsVisible returns true if window is visible

func (*Window) KeyboardShortcuts

func (t *Window) KeyboardShortcuts() []giu.WindowShortcut

KeyboardShortcuts returns a list of local keyboard shortcuts

func (*Window) RegisterKeyboardShortcuts

func (t *Window) RegisterKeyboardShortcuts(s ...giu.WindowShortcut)

RegisterKeyboardShortcuts sets a local shortcuts list

func (*Window) SetVisible

func (t *Window) SetVisible(visible bool)

SetVisible sets window's visibility

func (*Window) Show

func (t *Window) Show()

Show turns visibility to true

func (*Window) State

func (t *Window) State() hsstate.WindowState

State returns window's state

func (*Window) ToggleVisibility

func (t *Window) ToggleVisibility()

ToggleVisibility toggles visibility

Directories

Path Synopsis
Package hsdialog contains project's dialogs
Package hsdialog contains project's dialogs
hsaboutdialog
Package hsaboutdialog provides the "About" window implementation, which shows information about hellspawner.
Package hsaboutdialog provides the "About" window implementation, which shows information about hellspawner.
hspreferencesdialog
Package hspreferencesdialog contains preferences dialog data
Package hspreferencesdialog contains preferences dialog data
hsprojectpropertiesdialog
Package hsprojectpropertiesdialog contains project properties dialog's data
Package hsprojectpropertiesdialog contains project properties dialog's data
Package hseditor provides editors for the various file types.
Package hseditor provides editors for the various file types.
hsanimdataeditor
Package hsanimdataeditor contains D2 editor's data
Package hsanimdataeditor contains D2 editor's data
hscofeditor
Package hscofeditor contains cof editor's data
Package hscofeditor contains cof editor's data
hsdc6editor
Package hsdc6editor represents a dc6 editor window
Package hsdc6editor represents a dc6 editor window
hsdcceditor
Package hsdcceditor contains dcc editor's data
Package hsdcceditor contains dcc editor's data
hsds1editor
Package hsds1editor contains ds1 editor's data
Package hsds1editor contains ds1 editor's data
hsdt1editor
Package hsdt1editor contains dt1 editor's data
Package hsdt1editor contains dt1 editor's data
hsfonteditor
Package hsfonteditor contains font editor's data
Package hsfonteditor contains font editor's data
hsfonttableeditor
Package hsfonttableeditor represents fontTableEditor's window
Package hsfonttableeditor represents fontTableEditor's window
hspaletteeditor
Package hspaletteeditor contains palette editor's data
Package hspaletteeditor contains palette editor's data
hspalettemapeditor
Package hspalettemapeditor contains palette map editor's data
Package hspalettemapeditor contains palette map editor's data
hssoundeditor
Package hssoundeditor represents a soundEditor's window
Package hssoundeditor represents a soundEditor's window
hsstringtableeditor
Package hsstringtableeditor contains string tables editor's data
Package hsstringtableeditor contains string tables editor's data
hstexteditor
Package hstexteditor contains text editor's data
Package hstexteditor contains text editor's data
Package hstoolwindow contains game tool-windows' data
Package hstoolwindow contains game tool-windows' data
hsconsole
Package hsconsole provides a graphical console for logging output while the app is running.
Package hsconsole provides a graphical console for logging output while the app is running.
hsmpqexplorer
Package hsmpqexplorer contains an implementation of a MPQ archive explorer, which displays the archive contents as a tree.
Package hsmpqexplorer contains an implementation of a MPQ archive explorer, which displays the archive contents as a tree.
hsprojectexplorer
Package hsprojectexplorer provides a project explorer, for viewing project directories as trees.
Package hsprojectexplorer provides a project explorer, for viewing project directories as trees.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL