Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(name string, provider EnvironmentProvider)
Types ¶
type Deployer ¶
type Deployer interface { //Deploy copia a imagem im para a tela(screen). a imagem im deve ter ordem MSB(Most Significant Byte First) Deploy(im *image.RGBA, area image.Rectangle) }
Deployer é responsável por instalar a imagem na tela(screen)
type Environment ¶
type Environment interface { // CreateHandler creates a new handler. CreateHandler(Title string, X, Y, Width, Height int) (Handler, error) // Run the application. // this function must handler all events and must draw the window. Run() error }
Environment is where the gui will run.
type EnvironmentProvider ¶
type EnvironmentProvider func() Environment
EnvironmentProvider provides a new environment.
func Get ¶
func Get(name string) EnvironmentProvider
Click to show internal directories.
Click to hide internal directories.