summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-05-29 15:46:21 -0700
committerJeff Carr <[email protected]>2019-05-29 15:46:21 -0700
commit77035ad6bdf08097bafd4f4d4668fda4a2db9bac (patch)
treef87d6b772cd5f38bcd945ed020ccb7f23074159f /structs.go
parentfc35ccbfd23aefde013905c8c31668825368ebba (diff)
start moving the area text back to the main program
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/structs.go b/structs.go
index 3ebe61a..6a10517 100644
--- a/structs.go
+++ b/structs.go
@@ -1,6 +1,7 @@
package gui
import "image/color"
+import "golang.org/x/image/font"
import "github.com/andlabs/ui"
import _ "github.com/andlabs/ui/winmanifest"
@@ -92,6 +93,14 @@ type WindowMap struct {
Box2 *ui.Box
AH *AreaHandler
+ AreaText *ui.AttributedString
+}
+
+type FontString struct {
+ S string
+ Size int
+ F font.Face
+ W font.Weight
}
type ButtonMap struct {