diff options
| author | Pietro Gagliardi <[email protected]> | 2014-05-17 17:10:23 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-05-17 17:10:23 -0400 |
| commit | b9c12da83841b9f967f2579e81389ceade66dcb3 (patch) | |
| tree | 093db2a54d11e01ed27427083bfa3e78671b9ec5 | |
| parent | 24cac41de6ca31a308d0b7e1e982cb1c11c46ad4 (diff) | |
More TODOs (see previous commit).
| -rw-r--r-- | callbacks_unix.go | 1 | ||||
| -rw-r--r-- | stdwndclass_windows.go | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/callbacks_unix.go b/callbacks_unix.go index fde05ce..8fb52b5 100644 --- a/callbacks_unix.go +++ b/callbacks_unix.go @@ -43,6 +43,7 @@ func our_window_configure_event_callback(widget *C.GtkWidget, event *C.GdkEvent, // top-left is (0,0) so no need for winheight s.doResize(0, 0, width, height, 0) } + // TODO redraw the window and all children? // returning false indicates that we continue processing events related to configure-event; if we choose not to, then after some controls have been added, the layout fails completely and everything stays in the starting position/size // TODO make sure this is the case return C.FALSE diff --git a/stdwndclass_windows.go b/stdwndclass_windows.go index 1f860a5..c2f5079 100644 --- a/stdwndclass_windows.go +++ b/stdwndclass_windows.go @@ -55,6 +55,7 @@ func stdWndProc(s *sysData) func(hwnd _HWND, uMsg uint32, wParam _WPARAM, lParam // top-left corner is (0,0) so no need for winheight s.doResize(int(r.left), int(r.top), int(r.right), int(r.bottom), 0) // TODO use the Defer movement functions here? + // TODO redraw window and all children here? } return 0 case _WM_CLOSE: |
