summaryrefslogtreecommitdiff
path: root/redo/control.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-30 23:02:02 -0400
committerPietro Gagliardi <[email protected]>2014-08-30 23:02:02 -0400
commit77bf566ebbcb62acd4d08d905d9542d6ff9b6b80 (patch)
treeeeb8e72bc3bf57f5be7f0c0af4319189ac6de838 /redo/control.go
parent155899c65ed32245e2ccad4197a10c77017d835b (diff)
...in with the new.
Diffstat (limited to 'redo/control.go')
-rw-r--r--redo/control.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/redo/control.go b/redo/control.go
deleted file mode 100644
index 0358965..0000000
--- a/redo/control.go
+++ /dev/null
@@ -1,20 +0,0 @@
-// 30 july 2014
-
-package ui
-
-// Control represents a control.
-type Control interface {
- setParent(p *controlParent) // controlParent defined per-platform
- controlSizing
-}
-
-// this is the same across all platforms
-func baseallocate(c Control, x int, y int, width int, height int, d *sizing) []*allocation {
- return []*allocation{&allocation{
- x: x,
- y: y,
- width: width,
- height: height,
- this: c,
- }}
-}