diff options
| author | Pietro Gagliardi <[email protected]> | 2014-07-28 14:00:01 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-07-28 14:00:01 -0400 |
| commit | bea4df1abf6f4df34016727a300e4826fc31cc05 (patch) | |
| tree | 7f481ac4a25f72a72e549e26a5d44f87891e0a84 /redo/window_unix.go | |
| parent | 3f124a016ea9d88db3c7b368b836fc296d1475e2 (diff) | |
Began final simplification of size code. spaced is now a global variable; either all controls are given spacing now, or none will. beginResize() is a method on container again. Done on GTK+ and Mac OS X for now. I'm going to go ahead and implement this on Windows in a bit, regardless of whether that Stack Overflow question get answered or not, because ugggggggggh I just want to continue working on this project for fuck's sake!
Diffstat (limited to 'redo/window_unix.go')
| -rw-r--r-- | redo/window_unix.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/redo/window_unix.go b/redo/window_unix.go index 953de49..5e9bbec 100644 --- a/redo/window_unix.go +++ b/redo/window_unix.go @@ -110,7 +110,6 @@ func windowClosing(wid *C.GtkWidget, e *C.GdkEvent, data C.gpointer) C.gboolean //export windowResizing func windowResizing(wid *C.GtkWidget, r *C.GdkRectangle, data C.gpointer) { w := (*window)(unsafe.Pointer(data)) - w.container.d = w.beginResize() w.resize(int(r.width), int(r.height)) fmt.Printf("new size %d x %d\n", r.width, r.height) } |
