diff options
| author | Pietro Gagliardi <[email protected]> | 2014-02-13 05:28:26 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-02-13 05:28:26 -0500 |
| commit | 5626b9e35c5824707a905a26f9b074240cd54e7a (patch) | |
| tree | a5f4a22013ad236a65aadf38d3346e6bffd70653 /sysdata.go | |
| parent | ae9afced2afe8d4d80ecaf4ff3d09f09d3c9c3df (diff) | |
Added sizing of windows and the main window control. It presently deadlocks; I'll need to redo my mutexes...
Diffstat (limited to 'sysdata.go')
| -rw-r--r-- | sysdata.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -9,6 +9,7 @@ import ( type cSysData struct { ctype int event chan struct{} + resize func(x int, y int, width int, height int) error } func (c *cSysData) make(initText string, initWidth int, initHeight int, window *sysData) error { panic(runtime.GOOS + " sysData does not define make()") @@ -22,6 +23,9 @@ func (c *cSysData) hide() error { func (c *cSysData) setText(text string) error { panic(runtime.GOOS + " sysData does not define setText()") } +func (c *cSysData) setRect(x int, y int, width int, height int) error { + panic(runtime.GOOS + " sysData does not define setRect()") +} const ( c_window = iota |
