visual of standard window layout
This commit is contained in:
parent
809f2e564d
commit
9289ed7f2c
|
@ -3,15 +3,47 @@
|
||||||
|
|
||||||
package gadgets
|
package gadgets
|
||||||
|
|
||||||
// This model works for 99.9% of all windows
|
|
||||||
// This is the Default Standard Window Model
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"go.wit.com/log"
|
"go.wit.com/log"
|
||||||
|
|
||||||
"go.wit.com/gui"
|
"go.wit.com/gui"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// This model works for 99.9% of all windows
|
||||||
|
// This is the Default Standard Window Model
|
||||||
|
//
|
||||||
|
/////////////////////// Win /////////////////////////////////
|
||||||
|
// / / //
|
||||||
|
// / Top / ///////////////////////////////////////
|
||||||
|
// / / / //
|
||||||
|
// / / / Group //
|
||||||
|
// / / / //////////////////////////////////
|
||||||
|
// / / / // //
|
||||||
|
// / / / // //
|
||||||
|
// ////////////////////////////////////////////////////
|
||||||
|
// / / // // // // //
|
||||||
|
// Shelf / / // // // // //
|
||||||
|
// / Middle / // // // // .... //
|
||||||
|
// / / // // // // //
|
||||||
|
// / / // // // // //
|
||||||
|
// ////////////////////////////////////////////////////
|
||||||
|
// / / //
|
||||||
|
// / Bottom //////////////////////////////////////////
|
||||||
|
// / / //
|
||||||
|
// / //////////////////////////////////////////
|
||||||
|
// / / //
|
||||||
|
// / / | //
|
||||||
|
// / / v //
|
||||||
|
// / / //
|
||||||
|
// ////////////////////////////////////////////////////
|
||||||
|
// / //
|
||||||
|
// / //
|
||||||
|
// ////////////////////////////////////////////////////
|
||||||
|
// / //
|
||||||
|
// / | //
|
||||||
|
// / v //
|
||||||
|
// / //
|
||||||
|
/////////////////////////////////////////////////////////////
|
||||||
type GenericWindow struct {
|
type GenericWindow struct {
|
||||||
// Win *BasicWindow // the window widget itself
|
// Win *BasicWindow // the window widget itself
|
||||||
Win *gui.Node // the window widget itself
|
Win *gui.Node // the window widget itself
|
||||||
|
|
Loading…
Reference in New Issue