Revision 40249d5b
Added by Leszek Koltunski 10 months ago
src/main/java/org/distorted/config/ConfigScreenPane.java | ||
---|---|---|
26 | 26 |
import org.distorted.main.R; |
27 | 27 |
import org.distorted.os.OSInterface; |
28 | 28 |
|
29 |
import static org.distorted.objectlib.shape.ShapeColors.*; |
|
30 |
|
|
29 | 31 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
30 | 32 |
|
31 | 33 |
public class ConfigScreenPane |
... | ... | |
40 | 42 |
private static final float MARGIN_RATIO = 0.017f; |
41 | 43 |
private static final float TEXT_RATIO = 0.025f; |
42 | 44 |
|
43 |
static final int ICO_01= 0xffe191b4; |
|
44 |
static final int ICO_02= 0xff604c94; |
|
45 |
static final int ICO_03= 0xff472258; |
|
46 |
static final int ICO_04= 0xff591218; |
|
47 |
static final int ICO_05= 0xffba365b; |
|
48 |
static final int ICO_06= 0xffe4e000; |
|
49 |
static final int ICO_07= 0xff4a90d5; |
|
50 |
static final int ICO_08= 0xff0e28a3; |
|
51 |
static final int ICO_09= 0xff00ff00; |
|
52 |
static final int ICO_10= 0xffd7660a; |
|
53 |
static final int ICO_11= 0xff092d2b; |
|
54 |
static final int ICO_12= 0xff034d3e; |
|
55 |
static final int ICO_13= 0xff1a7516; |
|
56 |
static final int ICO_14= 0xff58b6be; |
|
57 |
static final int ICO_15= 0xffd3c49b; |
|
58 |
static final int ICO_16= 0xff0a1662; |
|
59 |
static final int ICO_17= 0xffa21a1c; |
|
60 |
static final int ICO_18= 0xffe1b410; |
|
61 |
static final int ICO_19= 0xffff0000; |
|
62 |
static final int ICO_20= 0xff0157ba; |
|
63 |
static final int ICO_21= 0xff000000; |
|
64 |
static final int ICO_22= 0xff222222; |
|
65 |
static final int ICO_23= 0xff555555; |
|
66 |
static final int ICO_24= 0xffffffff; |
|
67 |
|
|
68 | 45 |
private static final int[][] COLORS = |
69 | 46 |
{ |
70 |
{ ICO_01, ICO_02, ICO_03, ICO_04, ICO_05, ICO_21 },
|
|
71 |
{ ICO_06, ICO_07, ICO_08, ICO_09, ICO_10, ICO_22 },
|
|
72 |
{ ICO_11, ICO_12, ICO_13, ICO_14, ICO_15, ICO_23 },
|
|
73 |
{ ICO_16, ICO_17, ICO_18, ICO_19, ICO_20, ICO_24 },
|
|
47 |
{ COLOR_ICO_LPINK , COLOR_ICO_VIOLET , COLOR_ICO_PURPLE, COLOR_ICO_BURGUN, COLOR_ICO_DPINK , COLOR_ICO_YELLOW },
|
|
48 |
{ COLOR_ICO_LGREEN, COLOR_ICO_BLUE , COLOR_ICO_GREY , COLOR_ICO_ORANGE, COLOR_ICO_DGREEN, COLOR_ICO_SELEDY },
|
|
49 |
{ COLOR_ICO_GREEN , COLOR_ICO_BLUEISH, COLOR_ICO_SANDY , COLOR_ICO_DBLUE , COLOR_ICO_RED , COLOR_ICO_DYELLO },
|
|
50 |
{ COLOR_ICO_DWHITE, COLOR_ICO_LBLUE , COLOR_ICO_BLACK , COLOR_ICO_DGREY , COLOR_ICO_LGREY , COLOR_ICO_WHITE },
|
|
74 | 51 |
}; |
75 | 52 |
|
76 | 53 |
private final SeekBar mSeekBarBorders, mSeekBarCorners; |
Also available in: Unified diff
Beginnings of color unification