More TODOs (see previous commit).
This commit is contained in:
parent
24cac41de6
commit
b9c12da838
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue