summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-05-29 12:29:08 -0700
committerJeff Carr <[email protected]>2019-05-29 12:29:08 -0700
commitfdc8f820770ba8b8b7d5e281d24a076dc7065e73 (patch)
treec0778735b9aa975b2b6a1517d28e4ac074211122
parent2dabe5eb9f5722b3d498af03fed274e2d248a6c8 (diff)
more fixes on ui.Area
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--mainCloudBox.go4
-rw-r--r--structs.go4
2 files changed, 4 insertions, 4 deletions
diff --git a/mainCloudBox.go b/mainCloudBox.go
index 7a3c52f..e4ccb6f 100644
--- a/mainCloudBox.go
+++ b/mainCloudBox.go
@@ -235,9 +235,9 @@ func makeCloudWindow() {
Data.Window1.W.SetMargined(true)
text := makeAttributedString()
- Data.cloudBox = ShowSplashBox(text)
+ Data.Window1.B1 = ShowSplashBox(text)
- Data.Window1.T.Append("WIT Splash", Data.cloudBox)
+ Data.Window1.T.Append("WIT Splash", Data.Window1.B1)
Data.Window1.T.SetMargined(0, true)
Data.Window1.W.Show()
diff --git a/structs.go b/structs.go
index 4863246..4433a15 100644
--- a/structs.go
+++ b/structs.go
@@ -60,9 +60,8 @@ type GuiDataStructure struct {
EntryPass *ui.Entry
// stuff for the splash screen / setup tabs
- cloudBox *ui.Box
+// cloudBox *ui.Box
smallBox *ui.Box
-// myAH *AreaHandler
tabcount int
}
@@ -97,6 +96,7 @@ type EntryMap struct {
type WindowMap struct {
W *ui.Window
+ B1 *ui.Box
T *ui.Tab
A *ui.Area