Resurrected old colour picker.

This commit is contained in:
darkademic
2023-03-10 16:55:55 +00:00
committed by Pavel Penev
parent dcac966d49
commit 265f915442
13 changed files with 264 additions and 89 deletions

View File

@@ -47,12 +47,25 @@ Background@COLOR_CHOOSER:
Width: PARENT_RIGHT - 91
Height: PARENT_BOTTOM - 34
Children:
Background@MIXERBG:
Background@HUEBG:
Background: panel-black
X: 0
Y: 0
Width: PARENT_RIGHT
Height: 114
Height: 17
Children:
HueSlider@HUE_SLIDER:
X: 2
Y: 2
Width: PARENT_RIGHT - 4
Height: PARENT_BOTTOM - 4
Ticks: 5
Background@MIXERBG:
Background: panel-black
X: 0
Y: 21
Width: PARENT_RIGHT
Height: PARENT_BOTTOM - 21
Children:
ColorMixer@MIXER:
X: 2

View File

@@ -269,8 +269,7 @@ World:
TimeLimitDisplayOrder: 2
ColorPickerManager:
PreviewActor: fact.colorpicker
PresetHues: 0, 0.125, 0.185, 0.4, 0.54, 0.66, 0.79, 0.875, 0, 0.14, 0.23, 0.43, 0.54, 0.625, 0.77, 0.85
PresetSaturations: 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.4, 0.5, 0.4, 0.5, 0.4, 0.5, 0.4, 0.5
PresetColors: F21818, F2BC18, DAF218, 18F26F, 18BEF2, 1821F2, BA18F2, F218BC, F29191, F2DF79, CDF291, 79F2BF, 91DBF2, 7997F2, CD91F2, F279E6
OrderEffects:
TerrainFlashImage: moveflsh
TerrainFlashSequence: idle

View File

@@ -145,7 +145,7 @@ moebius:
Length: 4
Tick: 1600
chan:
chan:
Inherits: moebius
Defaults:
Filename: chan.shp

View File

@@ -41,18 +41,37 @@ Background@COLOR_CHOOSER:
Width: 80
Text: Palette
Font: Bold
Background@MIXER_TAB:
Background: dialog3
Container@MIXER_TAB:
X: 5
Y: 5
Width: PARENT_RIGHT - 90
Height: PARENT_BOTTOM - 34
Children:
ColorMixer@MIXER:
X: 2
Y: 2
Width: PARENT_RIGHT - 4
Height: PARENT_BOTTOM - 4
Background@HUEBG:
Background: dialog3
X: 0
Y: 0
Width: PARENT_RIGHT
Height: 17
Children:
HueSlider@HUE_SLIDER:
X: 2
Y: 2
Width: PARENT_RIGHT - 4
Height: PARENT_BOTTOM - 4
Ticks: 5
Background@MIXERBG:
Background: dialog3
X: 0
Y: 22
Width: PARENT_RIGHT
Height: PARENT_BOTTOM - 22
Children:
ColorMixer@MIXER:
X: 2
Y: 2
Width: PARENT_RIGHT - 4
Height: PARENT_BOTTOM - 4
Background@PALETTE_TAB:
Background: dialog3
X: 5

View File

@@ -240,8 +240,7 @@ World:
TimeLimitDisplayOrder: 2
ColorPickerManager:
PreviewActor: carryall.colorpicker
PresetHues: 0, 0.13, 0.18, 0.3, 0.475, 0.625, 0.82, 0.89, 0.97, 0.05, 0.23, 0.375, 0.525, 0.6, 0.75, 0.85
PresetSaturations: 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.5, 0.35, 0.4, 0.4, 0.5, 0.5, 0.4, 0.35
PresetColors: F21818, F2C218, E1F218, 44F218, 18F2D2, 184FF2, E118F2, F218A8, F2798F, F2B79D, CDF291, 91F2AA, 79E0F2, 79AAF2, C291F2, F29DEA
OrderEffects:
TerrainFlashImage: moveflsh
TerrainFlashSequence: idle

View File

@@ -290,8 +290,7 @@ World:
1: WarningOneMinuteRemaining
ColorPickerManager:
PreviewActor: fact.colorpicker
PresetHues: 0, 0.125, 0.22, 0.375, 0.5, 0.56, 0.8, 0.88, 0, 0.15, 0.235, 0.4, 0.47, 0.55, 0.75, 0.85
PresetSaturations: 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.4, 0.5, 0.4, 0.5, 0.4, 0.5, 0.4, 0.5
PresetColors: F21818, F2BC18, ACF218, 18F24F, 18F2F2, 18A4F2, C718F2, F218B5, F29191, F2E679, CBF291, 79F2AA, 91F2E1, 79CEF2, C291F2, F279E6
OrderEffects:
TerrainFlashImage: moveflsh
TerrainFlashSequence: idle

View File

@@ -42,18 +42,37 @@ Background@COLOR_CHOOSER:
Width: 80
Text: Palette
Font: Bold
Background@MIXER_TAB:
Background: dialog3
Container@MIXER_TAB:
X: 5
Y: 5
Width: PARENT_RIGHT - 94
Height: PARENT_BOTTOM - 34
Children:
ColorMixer@MIXER:
X: 2
Y: 2
Width: PARENT_RIGHT - 4
Height: PARENT_BOTTOM - 4
Background@HUEBG:
Background: dialog3
X: 0
Y: 0
Width: PARENT_RIGHT
Height: 17
Children:
HueSlider@HUE_SLIDER:
X: 2
Y: 2
Width: PARENT_RIGHT - 4
Height: PARENT_BOTTOM - 4
Ticks: 5
Background@MIXERBG:
Background: dialog3
X: 0
Y: 22
Width: PARENT_RIGHT
Height: PARENT_BOTTOM - 22
Children:
ColorMixer@MIXER:
X: 2
Y: 2
Width: PARENT_RIGHT - 4
Height: PARENT_BOTTOM - 4
Background@PALETTE_TAB:
Background: dialog3
X: 5

View File

@@ -388,8 +388,7 @@ World:
FactionPreviewActors:
gdi: hvr.colorpicker
nod: stnk.colorpicker
PresetHues: 0, 0.125, 0.185, 0.4, 0.54, 0.66, 0.79, 0.875, 0, 0.14, 0.23, 0.43, 0.54, 0.625, 0.77, 0.85
PresetSaturations: 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.4, 0.5, 0.4, 0.5, 0.4, 0.5, 0.4, 0.5
PresetColors: F21818, F2BC18, DAF218, 18F26F, 18BEF2, 1821F2, BA18F2, F218BC, F29191, F2DF79, CDF291, 79F2BF, 91DBF2, 7997F2, CD91F2, F279E6
OrderEffects:
TerrainFlashImage: moveflsh
TerrainFlashSequence: idle