summaryrefslogtreecommitdiff
path: root/area.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-12-16 14:03:47 -0500
committerPietro Gagliardi <[email protected]>2015-12-16 14:03:47 -0500
commite67ed84ad93b128cd4afe58b012b0e3889a34b66 (patch)
tree849e8f63fb22bfd9ec1c4411defc45bc7adb6c4e /area.go
parenta6c0fbdb870f6a5fb48824ebeac03360be601f57 (diff)
Did some build fixes.
Diffstat (limited to 'area.go')
-rw-r--r--area.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/area.go b/area.go
new file mode 100644
index 0000000..d43645b
--- /dev/null
+++ b/area.go
@@ -0,0 +1,14 @@
+// 16 december 2015
+
+package ui
+
+// #include "ui.h"
+import "C"
+
+// no need to lock this; only the GUI thread can access it
+var areas = make(map[*C.uiArea]*Area)
+
+// TODO.
+type Area struct {
+ Control
+}