diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-06 21:34:31 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-06 21:34:31 -0400 |
| commit | ddbb71991891731c43ebb8c6e82b16a8179855cc (patch) | |
| tree | 7b7fe5c7c2b19e09ee0b8c364d7b831b27b3ded2 /redo/tab_windows.go | |
| parent | 2ea9987c98eab0e0a7f53b5495b08a6f091ff6ff (diff) | |
Made containers transparent on Windows. This is the first of a four-part set (though IDK if it will be four commits) to make both containers and areas both transparent and flicker-free. Also added a Space() tab to the test program to test the transparency.
Diffstat (limited to 'redo/tab_windows.go')
| -rw-r--r-- | redo/tab_windows.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/redo/tab_windows.go b/redo/tab_windows.go index 3c1862d..31493cd 100644 --- a/redo/tab_windows.go +++ b/redo/tab_windows.go @@ -94,11 +94,9 @@ func (t *tab) commitResize(c *allocation, d *sizing) { r.top = C.LONG(0) r.right = C.LONG(c.width) r.bottom = C.LONG(c.height) -println(r.left, r.top, r.right, r.bottom) C.tabGetContentRect(t._hwnd, &r) // and resize tabs // don't resize just the current tab; resize all tabs! -println(r.left, r.top, r.right, r.bottom) for _, c := range t.tabs { // because each widget is actually a child of the Window, the origin is the one we calculated above c.move(&r) |
