0.2.0 Refactored pallette. /JL

This commit is contained in:
2022-12-17 23:16:03 +01:00
parent ee92757cd6
commit abb43aada8
5 changed files with 1526 additions and 1216 deletions
+17 -8
View File
@@ -45,19 +45,29 @@ func CreateBeadsGroup(mw *MyMainWindow) {
} }
func LoadBeads(mw *MyMainWindow) { func LoadBeads(mw *MyMainWindow) {
for _, brand := range mw.pallette.Brands.Brand { var located bool
for _, brand := range mw.pallette.Brand {
if brand.BrandName == mw.brand_combo.Text() { if brand.BrandName == mw.brand_combo.Text() {
log.Println("Loading beads for brand: " + brand.BrandName + " ...") log.Println("Loading beads for brand: " + brand.BrandName + " ...")
for _, series := range brand.Series.Serie { log.Println("Loading beads for serie: " + mw.serie_combo.Text() + " ...")
if series.SerieName == mw.serie_combo.Text() { for _, bead := range brand.Colors {
log.Println("Loading beads for serie: " + series.SerieName + " ...") for _, serie := range bead.Series.Serie {
for _, bead := range series.Beads.Color { if serie == mw.serie_combo.Text() {
located = true
}
}
if located {
log.Println("Loading bead: " + bead.ColorName + " ...") log.Println("Loading bead: " + bead.ColorName + " ...")
if !bead.Disabled { if !bead.Disabled {
bc := NewBeadColor(mw, bead.ColorName, bead.ColorIndex, bead.OnHand, bead.Red, bead.Green, bead.Blue) bc := NewBeadColor(mw, bead.ColorName, bead.ColorIndex, bead.OnHand, bead.Red, bead.Green, bead.Blue)
bc.Brand = brand.BrandName for _, series := range brand.Series {
bc.Series = series.SerieName if series.Serie == mw.serie_combo.Text() {
bc.Series = series.Serie
bc.Weight = series.Weight bc.Weight = series.Weight
}
}
bc.Brand = brand.BrandName
bc.Name = bead.ColorName bc.Name = bead.ColorName
bc.ColorID = bead.ColorIndex bc.ColorID = bead.ColorIndex
bc.Red = bead.Red bc.Red = bead.Red
@@ -77,7 +87,6 @@ func LoadBeads(mw *MyMainWindow) {
} }
} }
} }
}
} }
func NewBeadColor(mw *MyMainWindow, name string, id int, onhand int, red byte, green byte, blue byte) *BeadColor { func NewBeadColor(mw *MyMainWindow, name string, id int, onhand int, red byte, green byte, blue byte) *BeadColor {
+1 -1
View File
@@ -40,7 +40,7 @@ func CreateDefaultConfig() {
Config.AddSection("pallette") Config.AddSection("pallette")
Config.Set("pallette", "brand", "Hama") Config.Set("pallette", "brand", "Hama")
Config.Set("pallette", "serie", "Midi") Config.Set("pallette", "serie", "Midi")
Config.Set("pallette", "pegboard", "Large 29x29") Config.Set("pallette", "pegboard", "Square 29x29")
Config.AddSection("canvas") Config.AddSection("canvas")
Config.Set("canvas", "scale", "100") Config.Set("canvas", "scale", "100")
Config.Set("canvas", "showgrid", "true") Config.Set("canvas", "showgrid", "true")
+1 -1
View File
@@ -30,7 +30,7 @@ type MyMainWindow struct {
const ( const (
AppName string = "BeadImager" AppName string = "BeadImager"
Version string = "0.1.3" Version string = "0.2.0"
CopyRight string = "©2022 Jan Lerking" CopyRight string = "©2022 Jan Lerking"
STD_MESS string = "Ready" STD_MESS string = "Ready"
LogFile string = "BeadImager.log" LogFile string = "BeadImager.log"
+29 -40
View File
@@ -12,52 +12,32 @@ import (
type ( type (
Pallette struct { Pallette struct {
XMLName xml.Name `xml:"pallette"` XMLName xml.Name `xml:"pallette"`
Brands Brandsstruct `xml:"brands"`
}
Brandsstruct struct {
XMLName xml.Name `xml:"brands"`
Brand []Brandstruct `xml:"brand"` Brand []Brandstruct `xml:"brand"`
} }
Brandstruct struct { Brandstruct struct {
XMLName xml.Name `xml:"brand"` BrandName string `xml:"name,attr"`
BrandName string `xml:"brandname"` Series []Seriestruct `xml:"serie"`
Series Seriesstruct `xml:"series"` Pegboards []Pegboardstruct `xml:"pegboard"`
} Colors []Colorstruct `xml:"color"`
Seriesstruct struct {
XMLName xml.Name `xml:"series"`
Serie []Seriestruct `xml:"serie"`
} }
Seriestruct struct { Seriestruct struct {
XMLName xml.Name `xml:"serie"` Serie string `xml:"name,attr"`
SerieName string `xml:"seriename"`
Weight int `xml:"weightPerThousand"` Weight int `xml:"weightPerThousand"`
Pegboards Pegboardsstruct `xml:"pegboards"`
Beads Beadsstruct `xml:"beads"`
}
Pegboardsstruct struct {
XMLName xml.Name `xml:"pegboards"`
Pegboard []Pegboardstruct `xml:"pegboard"`
} }
Pegboardstruct struct { Pegboardstruct struct {
XMLName xml.Name `xml:"pegboard"` Serie string `xml:"serie,attr"`
Type string `xml:"type"` Type string `xml:"type"`
Width string `xml:"width"` Size string `xml:"size"`
Height string `xml:"height"`
}
Beadsstruct struct {
XMLName xml.Name `xml:"beads"`
Color []Colorstruct `xml:"color"`
} }
Colorstruct struct { Colorstruct struct {
XMLName xml.Name `xml:"color"` Series struct {
XMLName xml.Name `xml:"series"`
Serie []string `xml:"serie"`
}
ColorIndex int `xml:"colorIndex,attr"` ColorIndex int `xml:"colorIndex,attr"`
ColorName string `xml:"colorname"` ColorName string `xml:"colorname"`
ProductCode string `xml:"productCode"` ProductCode string `xml:"productCode"`
@@ -75,6 +55,10 @@ type (
} }
) )
var (
serie_triggered bool = false
)
func CreatePalletteGroup(mw *MyMainWindow) *walk.GroupBox { func CreatePalletteGroup(mw *MyMainWindow) *walk.GroupBox {
mw.leftPanel, _ = walk.NewComposite(mw.content) mw.leftPanel, _ = walk.NewComposite(mw.content)
vb := walk.NewVBoxLayout() vb := walk.NewVBoxLayout()
@@ -102,6 +86,13 @@ func CreatePalletteGroup(mw *MyMainWindow) *walk.GroupBox {
mw.serie_combo, _ = walk.NewComboBox(comp) mw.serie_combo, _ = walk.NewComboBox(comp)
mw.serie_combo.SetModel(CreateSeriesList(mw)) mw.serie_combo.SetModel(CreateSeriesList(mw))
mw.serie_combo.SetText(ConfigSerie) mw.serie_combo.SetText(ConfigSerie)
mw.serie_combo.CurrentIndexChanged().Attach(func() {
if !serie_triggered {
mw.colors.Children().Clear()
LoadBeads(mw)
serie_triggered = true
}
})
comp, _ = walk.NewComposite(pallette_group) comp, _ = walk.NewComposite(pallette_group)
comp.SetLayout(walk.NewHBoxLayout()) comp.SetLayout(walk.NewHBoxLayout())
comp.Layout().SetMargins(walk.Margins{0, 0, 0, 0}) comp.Layout().SetMargins(walk.Margins{0, 0, 0, 0})
@@ -115,26 +106,24 @@ func CreatePalletteGroup(mw *MyMainWindow) *walk.GroupBox {
func CreatePegboardsList(mw *MyMainWindow) []string { func CreatePegboardsList(mw *MyMainWindow) []string {
pegboards := make([]string, 0) pegboards := make([]string, 0)
for _, brand := range mw.pallette.Brands.Brand { for _, brand := range mw.pallette.Brand {
if brand.BrandName == mw.brand_combo.Text() { if brand.BrandName == mw.brand_combo.Text() {
for _, serie := range brand.Series.Serie { for _, pegboard := range brand.Pegboards {
if serie.SerieName == mw.serie_combo.Text() { if pegboard.Serie == mw.serie_combo.Text() {
for _, pegboard := range serie.Pegboards.Pegboard {
pegboards = append(pegboards, pegboard.Type) pegboards = append(pegboards, pegboard.Type)
} }
} }
} }
} }
}
return pegboards return pegboards
} }
func CreateSeriesList(mw *MyMainWindow) []string { func CreateSeriesList(mw *MyMainWindow) []string {
series := make([]string, 0) series := make([]string, 0)
for _, brand := range mw.pallette.Brands.Brand { for _, brand := range mw.pallette.Brand {
if brand.BrandName == mw.brand_combo.Text() { if brand.BrandName == mw.brand_combo.Text() {
for _, serie := range brand.Series.Serie { for _, serie := range brand.Series {
series = append(series, serie.SerieName) series = append(series, serie.Serie)
} }
} }
} }
@@ -143,7 +132,7 @@ func CreateSeriesList(mw *MyMainWindow) []string {
func CreateBrandsList(mw *MyMainWindow) []string { func CreateBrandsList(mw *MyMainWindow) []string {
brands := make([]string, 0) brands := make([]string, 0)
for _, brand := range mw.pallette.Brands.Brand { for _, brand := range mw.pallette.Brand {
brands = append(brands, brand.BrandName) brands = append(brands, brand.BrandName)
} }
return brands return brands
+342 -30
View File
@@ -1,32 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<pallette> <pallette>
<pallettename>Pallette</pallettename> <brand name="Hama">
<brands> <serie name="Mini">
<brandsname>Brands</brandsname> // Weight is per 1000 beads in grams
<brand> <weightPerThousand>20</weightPerThousand>
<brandname>Hama</brandname>
<series>
<serie>
<seriename>Mini</seriename>
</serie> </serie>
<serie> <serie name="Midi">
<seriename>Midi</seriename>
// Weight is per 1000 beads in grams // Weight is per 1000 beads in grams
<weightPerThousand>60</weightPerThousand> <weightPerThousand>60</weightPerThousand>
<pegboards> </serie>
<pegboard> <serie name="Maxi">
<type>Large 29x29</type> // Weight is per 1000 beads in grams
<width>29</width> <weightPerThousand>100</weightPerThousand>
<height>29</height> </serie>
<pegboard serie="Mini">
<type>Square 57x57</type>
<size>57</size>
</pegboard> </pegboard>
<pegboard> <pegboard serie="Mini">
<type>Small 14x14</type> <type>Square 28x28</type>
<width>14</width> <size>28</size>
<height>14</height> </pegboard>
<pegboard serie="Mini">
<type>Round 29</type>
<size>29</size>
</pegboard>
<pegboard serie="Midi">
<type>Square 29x29</type>
<size>29</size>
</pegboard>
<pegboard serie="Midi">
<type>Square 14x14</type>
<size>14</size>
</pegboard>
<pegboard serie="Maxi">
<type>Square 16x16</type>
<size>16</size>
</pegboard>
<pegboard serie="Maxi">
<type>Round 15</type>
<size>15</size>
</pegboard> </pegboard>
</pegboards>
<beads>
<color colorIndex="01"> <color colorIndex="01">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
<serie>Maxi</serie>
</series>
<colorname>White</colorname> <colorname>White</colorname>
<productCode>H01</productCode> <productCode>H01</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -42,6 +62,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="02"> <color colorIndex="02">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Creme</colorname> <colorname>Creme</colorname>
<productCode>H02</productCode> <productCode>H02</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -57,6 +81,11 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="03"> <color colorIndex="03">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
<serie>Maxi</serie>
</series>
<colorname>Yellow</colorname> <colorname>Yellow</colorname>
<productCode>H03</productCode> <productCode>H03</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -72,6 +101,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="04"> <color colorIndex="04">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Orange</colorname> <colorname>Orange</colorname>
<productCode>H04</productCode> <productCode>H04</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -87,6 +120,11 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="05"> <color colorIndex="05">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
<serie>Maxi</serie>
</series>
<colorname>Red</colorname> <colorname>Red</colorname>
<productCode>H05</productCode> <productCode>H05</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -102,6 +140,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="06"> <color colorIndex="06">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Pink</colorname> <colorname>Pink</colorname>
<productCode>H06</productCode> <productCode>H06</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -117,6 +159,11 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="07"> <color colorIndex="07">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
<serie>Maxi</serie>
</series>
<colorname>Purple</colorname> <colorname>Purple</colorname>
<productCode>H07</productCode> <productCode>H07</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -132,6 +179,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="08"> <color colorIndex="08">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Blue</colorname> <colorname>Blue</colorname>
<productCode>H08</productCode> <productCode>H08</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -147,6 +198,11 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="09"> <color colorIndex="09">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
<serie>Maxi</serie>
</series>
<colorname>Light blue</colorname> <colorname>Light blue</colorname>
<productCode>H09</productCode> <productCode>H09</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -162,6 +218,11 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="10"> <color colorIndex="10">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
<serie>Maxi</serie>
</series>
<colorname>Green</colorname> <colorname>Green</colorname>
<productCode>H10</productCode> <productCode>H10</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -177,6 +238,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="11"> <color colorIndex="11">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Light green</colorname> <colorname>Light green</colorname>
<productCode>H11</productCode> <productCode>H11</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -192,6 +257,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="12"> <color colorIndex="12">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Brown</colorname> <colorname>Brown</colorname>
<productCode>H12</productCode> <productCode>H12</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -207,6 +276,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="13"> <color colorIndex="13">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Translucent red</colorname> <colorname>Translucent red</colorname>
<productCode>H13</productCode> <productCode>H13</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -222,6 +295,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="14"> <color colorIndex="14">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Translucent yellow</colorname> <colorname>Translucent yellow</colorname>
<productCode>H14</productCode> <productCode>H14</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -237,6 +314,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="15"> <color colorIndex="15">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Translucent blue</colorname> <colorname>Translucent blue</colorname>
<productCode>H15</productCode> <productCode>H15</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -252,6 +333,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="16"> <color colorIndex="16">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Translucent green</colorname> <colorname>Translucent green</colorname>
<productCode>H16</productCode> <productCode>H16</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -267,6 +352,11 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="17"> <color colorIndex="17">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
<serie>Maxi</serie>
</series>
<colorname>Grey</colorname> <colorname>Grey</colorname>
<productCode>H17</productCode> <productCode>H17</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -282,6 +372,11 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="18"> <color colorIndex="18">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
<serie>Maxi</serie>
</series>
<colorname>Black</colorname> <colorname>Black</colorname>
<productCode>H18</productCode> <productCode>H18</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -297,6 +392,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="19"> <color colorIndex="19">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Clear</colorname> <colorname>Clear</colorname>
<productCode>H19</productCode> <productCode>H19</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -312,6 +411,11 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="20"> <color colorIndex="20">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
<serie>Maxi</serie>
</series>
<colorname>Red brown</colorname> <colorname>Red brown</colorname>
<productCode>H20</productCode> <productCode>H20</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -327,6 +431,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="21"> <color colorIndex="21">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Light brown</colorname> <colorname>Light brown</colorname>
<productCode>H21</productCode> <productCode>H21</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -342,6 +450,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="22"> <color colorIndex="22">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Dark red</colorname> <colorname>Dark red</colorname>
<productCode>H22</productCode> <productCode>H22</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -357,6 +469,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="24"> <color colorIndex="24">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Translucent purple</colorname> <colorname>Translucent purple</colorname>
<productCode>H24</productCode> <productCode>H24</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -372,6 +488,9 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="25"> <color colorIndex="25">
<series>
<serie>Midi</serie>
</series>
<colorname>Translucent brown</colorname> <colorname>Translucent brown</colorname>
<productCode>H25</productCode> <productCode>H25</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -387,6 +506,11 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="26"> <color colorIndex="26">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
<serie>Maxi</serie>
</series>
<colorname>Flesh</colorname> <colorname>Flesh</colorname>
<productCode>H26</productCode> <productCode>H26</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -402,6 +526,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="27"> <color colorIndex="27">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Beige</colorname> <colorname>Beige</colorname>
<productCode>H27</productCode> <productCode>H27</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -417,6 +545,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="28"> <color colorIndex="28">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Dark green</colorname> <colorname>Dark green</colorname>
<productCode>H28</productCode> <productCode>H28</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -432,6 +564,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="29"> <color colorIndex="29">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Rapsberry</colorname> <colorname>Rapsberry</colorname>
<productCode>H29</productCode> <productCode>H29</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -447,6 +583,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="30"> <color colorIndex="30">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Burgrundy</colorname> <colorname>Burgrundy</colorname>
<productCode>H30</productCode> <productCode>H30</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -462,6 +602,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="31"> <color colorIndex="31">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Turquoise</colorname> <colorname>Turquoise</colorname>
<productCode>H31</productCode> <productCode>H31</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -477,6 +621,11 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="32"> <color colorIndex="32">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
<serie>Maxi</serie>
</series>
<colorname>Neon Fuchsia</colorname> <colorname>Neon Fuchsia</colorname>
<productCode>H32</productCode> <productCode>H32</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -492,6 +641,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="33"> <color colorIndex="33">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Fluorescent cerise</colorname> <colorname>Fluorescent cerise</colorname>
<productCode>H33</productCode> <productCode>H33</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -507,6 +660,11 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="34"> <color colorIndex="34">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
<serie>Maxi</serie>
</series>
<colorname>Neon yellow</colorname> <colorname>Neon yellow</colorname>
<productCode>H34</productCode> <productCode>H34</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -522,6 +680,11 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="35"> <color colorIndex="35">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
<serie>Maxi</serie>
</series>
<colorname>Neon red</colorname> <colorname>Neon red</colorname>
<productCode>H35</productCode> <productCode>H35</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -537,6 +700,11 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="36"> <color colorIndex="36">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
<serie>Maxi</serie>
</series>
<colorname>Neon blue</colorname> <colorname>Neon blue</colorname>
<productCode>H36</productCode> <productCode>H36</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -552,6 +720,11 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="37"> <color colorIndex="37">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
<serie>Maxi</serie>
</series>
<colorname>Neon green</colorname> <colorname>Neon green</colorname>
<productCode>H37</productCode> <productCode>H37</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -567,6 +740,11 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="38"> <color colorIndex="38">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
<serie>Maxi</serie>
</series>
<colorname>Neon orange</colorname> <colorname>Neon orange</colorname>
<productCode>H38</productCode> <productCode>H38</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -582,6 +760,9 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="39"> <color colorIndex="39">
<series>
<serie>Midi</serie>
</series>
<colorname>Fluorescent yellow</colorname> <colorname>Fluorescent yellow</colorname>
<productCode>H39</productCode> <productCode>H39</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -597,6 +778,9 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="40"> <color colorIndex="40">
<series>
<serie>Midi</serie>
</series>
<colorname>Fluorescent orange</colorname> <colorname>Fluorescent orange</colorname>
<productCode>H40</productCode> <productCode>H40</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -612,6 +796,9 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="41"> <color colorIndex="41">
<series>
<serie>Midi</serie>
</series>
<colorname>Fluroescent blue</colorname> <colorname>Fluroescent blue</colorname>
<productCode>H41</productCode> <productCode>H41</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -627,6 +814,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="42"> <color colorIndex="42">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Flourecent green</colorname> <colorname>Flourecent green</colorname>
<productCode>H42</productCode> <productCode>H42</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -642,6 +833,11 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="43"> <color colorIndex="43">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
<serie>Maxi</serie>
</series>
<colorname>Pastel yellow</colorname> <colorname>Pastel yellow</colorname>
<productCode>H43</productCode> <productCode>H43</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -657,6 +853,11 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="44"> <color colorIndex="44">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
<serie>Maxi</serie>
</series>
<colorname>Pastel coral</colorname> <colorname>Pastel coral</colorname>
<productCode>H44</productCode> <productCode>H44</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -672,6 +873,11 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="45"> <color colorIndex="45">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
<serie>Maxi</serie>
</series>
<colorname>Pastel purple</colorname> <colorname>Pastel purple</colorname>
<productCode>H45</productCode> <productCode>H45</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -687,6 +893,11 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="46"> <color colorIndex="46">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
<serie>Maxi</serie>
</series>
<colorname>Pastel blue</colorname> <colorname>Pastel blue</colorname>
<productCode>H46</productCode> <productCode>H46</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -702,6 +913,11 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="47"> <color colorIndex="47">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
<serie>Maxi</serie>
</series>
<colorname>pastel green</colorname> <colorname>pastel green</colorname>
<productCode>H47</productCode> <productCode>H47</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -717,6 +933,11 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="48"> <color colorIndex="48">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
<serie>Maxi</serie>
</series>
<colorname>pastel pink</colorname> <colorname>pastel pink</colorname>
<productCode>H48</productCode> <productCode>H48</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -732,6 +953,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="49"> <color colorIndex="49">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Azure</colorname> <colorname>Azure</colorname>
<productCode>H49</productCode> <productCode>H49</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -747,6 +972,9 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="55"> <color colorIndex="55">
<series>
<serie>Midi</serie>
</series>
<colorname>Flourecent green</colorname> <colorname>Flourecent green</colorname>
<productCode>H55</productCode> <productCode>H55</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -762,6 +990,9 @@
<onHand>500</onHand> <onHand>500</onHand>
</color> </color>
<color colorIndex="56"> <color colorIndex="56">
<series>
<serie>Midi</serie>
</series>
<colorname>Flourecent red</colorname> <colorname>Flourecent red</colorname>
<productCode>H56</productCode> <productCode>H56</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -777,6 +1008,9 @@
<onHand>500</onHand> <onHand>500</onHand>
</color> </color>
<color colorIndex="57"> <color colorIndex="57">
<series>
<serie>Midi</serie>
</series>
<colorname>Flourecent blue</colorname> <colorname>Flourecent blue</colorname>
<productCode>H57</productCode> <productCode>H57</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -792,6 +1026,10 @@
<onHand>500</onHand> <onHand>500</onHand>
</color> </color>
<color colorIndex="60"> <color colorIndex="60">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Teddybear brown</colorname> <colorname>Teddybear brown</colorname>
<productCode>H60</productCode> <productCode>H60</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -807,6 +1045,9 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="61"> <color colorIndex="61">
<series>
<serie>Midi</serie>
</series>
<colorname>Gold</colorname> <colorname>Gold</colorname>
<productCode>H61</productCode> <productCode>H61</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -822,6 +1063,9 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="62"> <color colorIndex="62">
<series>
<serie>Midi</serie>
</series>
<colorname>Silver</colorname> <colorname>Silver</colorname>
<productCode>H62</productCode> <productCode>H62</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -837,6 +1081,9 @@
<onHand>500</onHand> <onHand>500</onHand>
</color> </color>
<color colorIndex="63"> <color colorIndex="63">
<series>
<serie>Midi</serie>
</series>
<colorname>Bronze</colorname> <colorname>Bronze</colorname>
<productCode>H63</productCode> <productCode>H63</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -852,6 +1099,9 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="64"> <color colorIndex="64">
<series>
<serie>Midi</serie>
</series>
<colorname>Pearl</colorname> <colorname>Pearl</colorname>
<productCode>H64</productCode> <productCode>H64</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -867,6 +1117,11 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="70"> <color colorIndex="70">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
<serie>Maxi</serie>
</series>
<colorname>Light grey</colorname> <colorname>Light grey</colorname>
<productCode>H70</productCode> <productCode>H70</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -882,6 +1137,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="71"> <color colorIndex="71">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Dark grey</colorname> <colorname>Dark grey</colorname>
<productCode>H71</productCode> <productCode>H71</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -897,6 +1156,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="72"> <color colorIndex="72">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Translucent pink</colorname> <colorname>Translucent pink</colorname>
<productCode>H72</productCode> <productCode>H72</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -912,6 +1175,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="73"> <color colorIndex="73">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Translucent aqua</colorname> <colorname>Translucent aqua</colorname>
<productCode>H73</productCode> <productCode>H73</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -927,6 +1194,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="74"> <color colorIndex="74">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Translucent lilac</colorname> <colorname>Translucent lilac</colorname>
<productCode>H74</productCode> <productCode>H74</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -942,6 +1213,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="75"> <color colorIndex="75">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Tan</colorname> <colorname>Tan</colorname>
<productCode>H75</productCode> <productCode>H75</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -957,6 +1232,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="76"> <color colorIndex="76">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Nougat</colorname> <colorname>Nougat</colorname>
<productCode>H76</productCode> <productCode>H76</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -972,6 +1251,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="77"> <color colorIndex="77">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Cloudy white</colorname> <colorname>Cloudy white</colorname>
<productCode>H77</productCode> <productCode>H77</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -987,6 +1270,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="78"> <color colorIndex="78">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Light peach</colorname> <colorname>Light peach</colorname>
<productCode>H78</productCode> <productCode>H78</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -1002,6 +1289,11 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="79"> <color colorIndex="79">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
<serie>Maxi</serie>
</series>
<colorname>Apricot</colorname> <colorname>Apricot</colorname>
<productCode>H79</productCode> <productCode>H79</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -1017,6 +1309,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="82"> <color colorIndex="82">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Plum</colorname> <colorname>Plum</colorname>
<productCode>H82</productCode> <productCode>H82</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -1032,6 +1328,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="83"> <color colorIndex="83">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Petrol Blue</colorname> <colorname>Petrol Blue</colorname>
<productCode>H83</productCode> <productCode>H83</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -1047,6 +1347,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="84"> <color colorIndex="84">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Olive</colorname> <colorname>Olive</colorname>
<productCode>H84</productCode> <productCode>H84</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -1062,6 +1366,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="95"> <color colorIndex="95">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Pastel rosa</colorname> <colorname>Pastel rosa</colorname>
<productCode>H95</productCode> <productCode>H95</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -1077,6 +1385,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="96"> <color colorIndex="96">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Pastel lilac</colorname> <colorname>Pastel lilac</colorname>
<productCode>H96</productCode> <productCode>H96</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -1092,6 +1404,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="97"> <color colorIndex="97">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Pastel ice blue</colorname> <colorname>Pastel ice blue</colorname>
<productCode>H97</productCode> <productCode>H97</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -1107,6 +1423,10 @@
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
<color colorIndex="98"> <color colorIndex="98">
<series>
<serie>Mini</serie>
<serie>Midi</serie>
</series>
<colorname>Pastel mint</colorname> <colorname>Pastel mint</colorname>
<productCode>H98</productCode> <productCode>H98</productCode>
<brand>Hama</brand> <brand>Hama</brand>
@@ -1121,16 +1441,8 @@
<inStock>true</inStock> <inStock>true</inStock>
<onHand>100</onHand> <onHand>100</onHand>
</color> </color>
</beads>
</serie>
<serie>
<seriename>Maxi</seriename>
</serie>
</series>
</brand> </brand>
<brand> <brand name="Perler">
<brandname>Perler</brandname>
<series></series> <series></series>
</brand> </brand>
</brands>
</pallette> </pallette>