0.0.5 Parsing xml pallette. /JL

This commit is contained in:
2022-12-09 22:51:50 +01:00
parent a8ee74b373
commit 23d813b432
6 changed files with 1121 additions and 1020 deletions
+8 -3
View File
@@ -14,11 +14,13 @@ type MyMainWindow struct {
colors *walk.ScrollView
canvas *walk.ScrollView
properties *walk.ScrollView
pallette Pallette
beads []*BeadColor
}
const (
AppName string = "BeadImager"
Version string = "0.0.4"
Version string = "0.0.5"
CopyRight string = "©2022 Jan Lerking"
STD_MESS string = "Ready"
UserPath string = "C:\\Users\\janle\\BeadImager"
@@ -55,6 +57,7 @@ func InitLogFile() {
func main() {
InitLogFile()
walk.AppendToWalkInit(func() {
walk.FocusEffect, _ = walk.NewBorderGlowEffect(walk.RGB(0, 63, 255))
walk.InteractionEffect, _ = walk.NewDropShadowEffect(walk.RGB(63, 63, 63))
@@ -62,8 +65,10 @@ func main() {
})
mw := &MyMainWindow{}
log.Println("MainWindow created")
//ss := mw.MainWindow.MaxSize()
//log.Println(ss)
CreatePallette(mw)
log.Println("Pallette created: ", mw.pallette)
LoadBeads(mw)
log.Println("Beads loaded: ", mw.beads)
if _, err := (MainWindow{
AssignTo: &mw.MainWindow,