creating your own color scheme

colour scheme image

The image above defines all the different colour schemes available to G4P and you can create new schemes by modifying the image. To get the image it right click on the image and select Save Target As. It is only 60 x 20 pixels in size and each row corresponds to a color scheme and each column represents one of the colours in the scheme. Note that both row numbers and column numbers start from zero, so the top left pixel is (0,0). Rows 0-6 are the 7 standard schemes provided by G4P, I suggest that you leave these untouched and you add your schemes below them. When you have finished editing the file it must be saved as user_col_schema.png and placed in the data folder inside the sketch folder otherwise the default version will be used. The format of each row is

Column Colour for Component
0 tab text Panel
1 tab back
2 panel back
3 border
4 UNUSED
5 text Button
6 mouse off
7 mouse over
8 mouse down
9 border
10 track Slider
11 thumb
12 border
13 UNUSED
14 UNUSED
15 text Textfield
16 background
17 selected text background
18 border
19 UNUSED
20 text Label
21 background
22 border
23 UNUSED
24 UNUSED
25 text Option
26 background
27 border
28 UNUSED
29 UNUSED
30 text Checkbox
31 background
32 border
33 UNUSED
34 UNUSED
35 border ActivityBar
36 track
37 last (trailing circle)
38 first (leading cicle)
39 UNUSED
40 border Knob
41 fill
42 track
43 ticks
44 needle