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