summaryrefslogtreecommitdiff
path: root/redo/controlbase.sh
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/controlbase.sh
parent155899c65ed32245e2ccad4197a10c77017d835b (diff)
...in with the new.
Diffstat (limited to 'redo/controlbase.sh')
-rwxr-xr-xredo/controlbase.sh28
1 files changed, 0 insertions, 28 deletions
diff --git a/redo/controlbase.sh b/redo/controlbase.sh
deleted file mode 100755
index 6d10bb1..0000000
--- a/redo/controlbase.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-sed "s/AAA/$1/g
-s/BBB/$2/g
-s/CCC/$3/g
-s/DDD/$4/g" <<\END
-func (AAA *BBB) CCC() DDD {
- return AAA._CCC
-}
-
-func (AAA *BBB) setParent(p *controlParent) {
- basesetParent(AAA, p)
-}
-
-func (AAA *BBB) allocate(x int, y int, width int, height int, d *sizing) []*allocation {
- return baseallocate(AAA, x, y, width, height, d)
-}
-
-func (AAA *BBB) preferredSize(d *sizing) (width, height int) {
- return basepreferredSize(AAA, d)
-}
-
-func (AAA *BBB) commitResize(a *allocation, d *sizing) {
- basecommitResize(AAA, a, d)
-}
-
-func (AAA *BBB) getAuxResizeInfo(d *sizing) {
- basegetAuxResizeInfo(AAA, d)
-}
-END