Use ActorPreviewWidget for the color pickers.

This commit is contained in:
Paul Chote
2015-02-09 23:48:42 +00:00
parent aa9db669e7
commit 8d51fb0e66
18 changed files with 63 additions and 100 deletions

View File

@@ -30,14 +30,12 @@ Background@COLOR_CHOOSER:
Y: 2
Width: 144
Height: 72
SpriteSequence@PREVIEW:
ActorPreview@PREVIEW:
X: 153
Y: 1
Width: 80
Height: 73
Palette: colorpicker
Unit: fact
Sequence: idle
Animate: true
Button@RANDOM_BUTTON:
Key: tab
X: 158

View File

@@ -20,6 +20,7 @@ Metrics:
TextContrast: false
TextContrastColor: 0,0,0
ColorPickerRemapIndices: 176, 178, 180, 182, 184, 186, 189, 191, 177, 179, 181, 183, 185, 187, 188, 190
ColorPickerActorType: ^fact.colorpicker
SpawnFont: TinyBold
SpawnColor: 255,255,255
SpawnContrastColor: 0,0,0

View File

@@ -42,6 +42,12 @@ waypoint:
RenderEditorOnly:
BodyOrientation:
^fact.colorpicker:
Inherits: FACT
RenderBuilding:
Image: fact
Palette: colorpicker
CAMERA:
Immobile:
OccupiesSpace: false