diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-09 21:27:28 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-09 21:27:28 -0400 |
| commit | eec2f985b0a78b3c15a3e71e14f897a3ccab5c97 (patch) | |
| tree | 822f3bbfbac44916776d4ef3ceb83c4f04d4d14f /redo/area_darwin.go | |
| parent | 9217250d5c5ec8de9bbbac45e3c66d80f6419244 (diff) | |
Renamed display() to areaRepaintAll() and resolved a TODO on the Mac OS X side.
Diffstat (limited to 'redo/area_darwin.go')
| -rw-r--r-- | redo/area_darwin.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redo/area_darwin.go b/redo/area_darwin.go index 1d715ac..ba466e1 100644 --- a/redo/area_darwin.go +++ b/redo/area_darwin.go @@ -31,12 +31,12 @@ func newArea(ab *areabase) Area { func (a *area) SetSize(width, height int) { a.width = width a.height = height - // TODO different? + // set the frame size to set the area's effective size on the Cocoa side C.moveControl(a._id, 0, 0, C.intptr_t(a.width), C.intptr_t(a.height)) } func (a *area) RepaintAll() { - C.display(a._id) + C.areaRepaintAll(a._id) } //export areaView_drawRect |
