diff options
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 19 |
1 files changed, 11 insertions, 8 deletions
@@ -72,14 +72,17 @@ type config struct { // settings for the stdout window type stdout struct { - tk *guiWidget // where to show STDOUT - w int // the width - h int // the width - outputOnTop bool // is the STDOUT window on top? - offscreenW int // where to place the window offscreen - offscreenH int // where to place the window offscreen - offsetW int // the current 'w' offset - offsetH int // the current 'h' offset + tk *guiWidget // where to show STDOUT + w int // the width + h int // the width + outputOnTop bool // is the STDOUT window on top? + outputOffscreen bool // is the STDOUT window offscreen? + // offscreenW int // where to place the window offscreen + // offscreenH int // where to place the window offscreen + lastW int // the last 'w' location (used to move from offscreen to onscreen) + lastH int // the last 'h' location (used to move from offscreen to onscreen) + mouseOffsetW int // the current 'w' offset + mouseOffsetH int // the current 'h' offset } // this is the gocui way |
