summaryrefslogtreecommitdiff
path: root/area.go
diff options
context:
space:
mode:
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
+}