diff options
| author | Pietro Gagliardi <[email protected]> | 2014-07-29 23:01:28 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-07-29 23:01:28 -0400 |
| commit | 9daab20fcef427dbf0c27a32d8c5ec5bb3366cea (patch) | |
| tree | da3b816d12434e7c5268c6e873dd60f5e8534257 /redo/controls.go | |
| parent | f4bb7360d4060d9c62c30d6b5508683a4fb6c472 (diff) | |
Changed Control.setParent() to take the same argument type on all platforms; this is needed for re-adding Stack and Grid. This argument type is defined by each platform.
Diffstat (limited to 'redo/controls.go')
| -rw-r--r-- | redo/controls.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redo/controls.go b/redo/controls.go index ef97ed1..cda67db 100644 --- a/redo/controls.go +++ b/redo/controls.go @@ -5,10 +5,10 @@ package ui // Control represents a control. // All Controls have event handlers that take a single argument (the Doer active during the event) and return nothing. type Control interface { - controlParent // platform-specific + setParent(p *controlParent) // controlParent defined per-platform // TODO enable/disable (public) // TODO show/hide (public) - containerShow() // for Windows, where all controls need ot belong to an overlapped window, not to a container control; these respect programmer settings + containerShow() // for Windows, where all controls need ot belong to an overlapped window, not to a container control; these respect programmer settings containerHide() controlSizing } |
