diff -r ebf63823c259 -r 655aee5986be ColorEditDialog.st --- a/ColorEditDialog.st Thu Sep 20 11:34:44 2018 +0200 +++ b/ColorEditDialog.st Mon Sep 24 22:13:19 2018 +0200 @@ -1,5 +1,3 @@ -"{ Encoding: utf8 }" - " COPYRIGHT (c) 1995 by eXept Software AG All Rights Reserved @@ -383,12 +381,14 @@ ^ #(FullSpec name: windowSpec + uuid: 'cb8f8338-c034-11e8-b23c-b8f6b1108e05' window: (WindowSpec label: 'Define Color' name: 'Define Color' + uuid: '938aafda-c034-11e8-b23c-b8f6b1108e05' min: (Point 440 360) - bounds: (Rectangle 0 0 440 360) + bounds: (Rectangle 0 0 469 362) ) component: (SpecCollection @@ -396,6 +396,7 @@ (VerticalPanelViewSpec name: 'RGBLabelPanel' layout: (LayoutFrame 0 0 0 0 90 0 76 0) + uuid: '938ab2dc-c034-11e8-b23c-b8f6b1108e05' horizontalLayout: fit verticalLayout: spreadSpace horizontalSpace: 3 @@ -406,6 +407,7 @@ (LabelSpec label: 'Red:' name: 'RedLabel' + uuid: '938ab4c6-c034-11e8-b23c-b8f6b1108e05' translateLabel: true adjust: right useDefaultExtent: true @@ -413,6 +415,7 @@ (LabelSpec label: 'Green:' name: 'GreenLabel' + uuid: '938ab69c-c034-11e8-b23c-b8f6b1108e05' translateLabel: true adjust: right useDefaultExtent: true @@ -420,6 +423,7 @@ (LabelSpec label: 'Blue:' name: 'BlueLabel' + uuid: '938ab7e6-c034-11e8-b23c-b8f6b1108e05' translateLabel: true adjust: right useDefaultExtent: true @@ -431,6 +435,7 @@ (VerticalPanelViewSpec name: 'RGBSliderPanel' layout: (LayoutFrame 90 0 0 0 -177 1 76 0) + uuid: '938ab930-c034-11e8-b23c-b8f6b1108e05' horizontalLayout: fit verticalLayout: spreadSpace horizontalSpace: 3 @@ -440,33 +445,36 @@ collection: ( (SliderSpec name: 'RedSlider' + uuid: '938aba5c-c034-11e8-b23c-b8f6b1108e05' tabable: false model: red orientation: horizontal stop: 255 step: 1 backgroundColor: (Color 100.0 0.0 0.0) - extent: (Point 173 16) + extent: (Point 202 16) ) (SliderSpec name: 'GreenSlider' + uuid: '938abc3c-c034-11e8-b23c-b8f6b1108e05' tabable: false model: green orientation: horizontal stop: 255 step: 1 backgroundColor: (Color 0.0 100.0 0.0) - extent: (Point 173 16) + extent: (Point 202 16) ) (SliderSpec name: 'BlueSlider' + uuid: '938abd5e-c034-11e8-b23c-b8f6b1108e05' tabable: false model: blue orientation: horizontal stop: 255 step: 1 backgroundColor: (Color 0.0 0.0 100.0) - extent: (Point 173 16) + extent: (Point 202 16) ) ) @@ -475,6 +483,7 @@ (VerticalPanelViewSpec name: 'RGBFieldPanel' layout: (LayoutFrame -173 1 0 0 -130 1 76 0) + uuid: '938abe94-c034-11e8-b23c-b8f6b1108e05' horizontalLayout: fit verticalLayout: spreadSpace horizontalSpace: 3 @@ -484,6 +493,7 @@ collection: ( (InputFieldSpec name: 'RedField' + uuid: '938abfc0-c034-11e8-b23c-b8f6b1108e05' model: red type: numberInRange numChars: 3 @@ -494,6 +504,7 @@ ) (InputFieldSpec name: 'GreenField' + uuid: '938ac218-c034-11e8-b23c-b8f6b1108e05' model: green type: numberInRange numChars: 3 @@ -504,6 +515,7 @@ ) (InputFieldSpec name: 'BlueField' + uuid: '938ac3c6-c034-11e8-b23c-b8f6b1108e05' model: blue type: numberInRange numChars: 3 @@ -519,6 +531,7 @@ (VerticalPanelViewSpec name: 'RGBFieldPanelHex' layout: (LayoutFrame -130 1 0 0 -100 1 76 0) + uuid: '938ac56a-c034-11e8-b23c-b8f6b1108e05' horizontalLayout: fit verticalLayout: spreadSpace horizontalSpace: 3 @@ -528,6 +541,7 @@ collection: ( (InputFieldSpec name: 'EntryField4' + uuid: '938ac696-c034-11e8-b23c-b8f6b1108e05' model: red type: hexIntegerInRange numChars: 3 @@ -538,6 +552,7 @@ ) (InputFieldSpec name: 'EntryField5' + uuid: '938ac830-c034-11e8-b23c-b8f6b1108e05' model: green type: hexIntegerInRange numChars: 3 @@ -548,6 +563,7 @@ ) (InputFieldSpec name: 'EntryField6' + uuid: '938ac9b6-c034-11e8-b23c-b8f6b1108e05' model: blue type: hexIntegerInRange numChars: 3 @@ -563,6 +579,7 @@ (VerticalPanelViewSpec name: 'HLSLabelPanel' layout: (LayoutFrame 0 0 86 0 90 0 163 0) + uuid: '938acb50-c034-11e8-b23c-b8f6b1108e05' horizontalLayout: fit verticalLayout: spreadSpace horizontalSpace: 3 @@ -573,6 +590,7 @@ (LabelSpec label: 'Hue:' name: 'Label1' + uuid: '938acc5e-c034-11e8-b23c-b8f6b1108e05' translateLabel: true adjust: right useDefaultExtent: true @@ -580,6 +598,7 @@ (LabelSpec label: 'Light:' name: 'Label2' + uuid: '938acd94-c034-11e8-b23c-b8f6b1108e05' translateLabel: true adjust: right useDefaultExtent: true @@ -587,6 +606,7 @@ (LabelSpec label: 'Saturation:' name: 'Label3' + uuid: '938acec0-c034-11e8-b23c-b8f6b1108e05' translateLabel: true adjust: right useDefaultExtent: true @@ -598,6 +618,7 @@ (VerticalPanelViewSpec name: 'HLSSliderPanel' layout: (LayoutFrame 90 0 86 0 -177 1 163 0) + uuid: '938acff6-c034-11e8-b23c-b8f6b1108e05' horizontalLayout: fit verticalLayout: spreadSpace horizontalSpace: 3 @@ -607,33 +628,36 @@ collection: ( (SliderSpec name: 'HueSlider' + uuid: '938ad104-c034-11e8-b23c-b8f6b1108e05' tabable: false model: hue orientation: horizontal stop: 359 step: 1 keyboardStep: 1 - extent: (Point 173 16) + extent: (Point 202 16) ) (SliderSpec name: 'LightSlider' + uuid: '938ad226-c034-11e8-b23c-b8f6b1108e05' tabable: false model: light orientation: horizontal step: 1 backgroundColor: (Color 67.0 67.0 67.0) keyboardStep: 1 - extent: (Point 173 16) + extent: (Point 202 16) ) (SliderSpec name: 'SaturationSlider' + uuid: '938ad33e-c034-11e8-b23c-b8f6b1108e05' tabable: false model: saturation orientation: horizontal step: 1 backgroundColor: (Color 67.0 67.0 67.0) keyboardStep: 1 - extent: (Point 173 16) + extent: (Point 202 16) ) ) @@ -642,6 +666,7 @@ (VerticalPanelViewSpec name: 'HLSFieldPanel' layout: (LayoutFrame -173 1 86 0 -130 1 163 0) + uuid: '938ad456-c034-11e8-b23c-b8f6b1108e05' horizontalLayout: fit verticalLayout: spreadSpace horizontalSpace: 3 @@ -651,6 +676,7 @@ collection: ( (InputFieldSpec name: 'EntryField1' + uuid: '938ad55a-c034-11e8-b23c-b8f6b1108e05' model: hue type: numberInRange numChars: 3 @@ -661,6 +687,7 @@ ) (InputFieldSpec name: 'EntryField2' + uuid: '938ad6fe-c034-11e8-b23c-b8f6b1108e05' model: light type: numberInRange numChars: 3 @@ -671,6 +698,7 @@ ) (InputFieldSpec name: 'EntryField3' + uuid: '938ad884-c034-11e8-b23c-b8f6b1108e05' model: saturation type: numberInRange numChars: 3 @@ -686,6 +714,7 @@ (ViewSpec name: 'PreviewBoxFrame' layout: (LayoutFrame -100 1 4 0.0 -3 1.0 -39 1.0) + uuid: '938ada28-c034-11e8-b23c-b8f6b1108e05' level: 1 component: (SpecCollection @@ -694,6 +723,7 @@ label: 'Preview' name: 'PreviewBox' layout: (LayoutFrame 2 0.0 2 0.0 -2 1.0 -2 1.0) + uuid: '938adb36-c034-11e8-b23c-b8f6b1108e05' level: -1 translateLabel: true postBuildCallback: postBuildPreviewBox: @@ -707,6 +737,7 @@ name: 'Label5' layout: (LayoutFrame 0 0 175 0 90 0 197 0) activeHelpKey: brightness + uuid: '938adc8a-c034-11e8-b23c-b8f6b1108e05' translateLabel: true adjust: right ) @@ -714,6 +745,7 @@ name: 'EntryField8' layout: (LayoutFrame 90 0 175 0 -277 1 197 0) activeHelpKey: brightness + uuid: '938addb6-c034-11e8-b23c-b8f6b1108e05' model: brightnessStringHolder isReadOnly: true immediateAccept: false @@ -727,13 +759,15 @@ name: 'ColorNameLabel' layout: (LayoutFrame 2 0 214 0 135 0 236 0) activeHelpKey: colorName + uuid: '938adf8c-c034-11e8-b23c-b8f6b1108e05' translateLabel: true adjust: right ) (InputFieldSpec name: 'ColorNameField' - layout: (LayoutFrame 135 0 214 0 -122 1 236 0) + layout: (LayoutFrame 135 0 214 0 -100 1 236 0) activeHelpKey: colorName + uuid: '938ae0b8-c034-11e8-b23c-b8f6b1108e05' model: colorNameHolder immediateAccept: false acceptOnReturn: true @@ -742,17 +776,19 @@ acceptOnPointerLeave: true ) (LabelSpec - label: 'HTML Color Name:' + label: 'HTML Name:' name: 'HTMLColorNameLabel' layout: (LayoutFrame 2 0 240 0 135 0 262 0) activeHelpKey: htmlColorName + uuid: '938ae270-c034-11e8-b23c-b8f6b1108e05' translateLabel: true adjust: right ) (InputFieldSpec name: 'MLHTColorNameFieldField' - layout: (LayoutFrame 135 0 240 0 -122 1 262 0) + layout: (LayoutFrame 135 0 240 0 -100 1 262 0) activeHelpKey: htmlColorName + uuid: '938ae39c-c034-11e8-b23c-b8f6b1108e05' model: htmlColorNameHolder immediateAccept: false acceptOnReturn: true @@ -765,13 +801,15 @@ name: 'Label4' layout: (LayoutFrame 2 0 266 0 135 0 288 0) activeHelpKey: colorDefinitionString + uuid: '938ae540-c034-11e8-b23c-b8f6b1108e05' translateLabel: true adjust: right ) (InputFieldSpec name: 'EntryField7' - layout: (LayoutFrame 135 0 266 0 -122 1 288 0) + layout: (LayoutFrame 135 0 266 0 -100 1 288 0) activeHelpKey: colorDefinitionString + uuid: '938ae66c-c034-11e8-b23c-b8f6b1108e05' model: colorDefinitionStringHolder isReadOnly: true immediateAccept: false @@ -785,6 +823,7 @@ name: 'CopyColor' layout: (LayoutFrame 12 0 298 0 120 0 320 0) activeHelpKey: hlsMixer + uuid: '938ae810-c034-11e8-b23c-b8f6b1108e05' translateLabel: true resizeForLabel: true tabable: true @@ -794,6 +833,7 @@ label: 'Paste Color' name: 'PasteColor' layout: (LayoutFrame 122 0 298 0 240 0 320 0) + uuid: '938aea0e-c034-11e8-b23c-b8f6b1108e05' translateLabel: true resizeForLabel: true tabable: true @@ -804,6 +844,7 @@ name: 'Button1' layout: (LayoutFrame 285 0 298 0 312 0 325 0) activeHelpKey: pickColor + uuid: '938aeb8a-c034-11e8-b23c-b8f6b1108e05' hasCharacterOrientedLabel: false translateLabel: true resizeForLabel: true @@ -813,8 +854,9 @@ (HorizontalPanelViewSpec name: 'HorizontalPanel1' layout: (LayoutFrame 0 0.0 -32 1 -16 1.0 0 1.0) + uuid: '938aed10-c034-11e8-b23c-b8f6b1108e05' horizontalLayout: okCancelBox - verticalLayout: centerMax + verticalLayout: center horizontalSpace: 3 verticalSpace: 3 reverseOrderIfOKAtLeft: true @@ -824,22 +866,24 @@ (ActionButtonSpec label: 'Cancel' name: 'CancelButton' + uuid: '938aee96-c034-11e8-b23c-b8f6b1108e05' translateLabel: true resizeForLabel: false tabable: true model: cancel - useDefaultExtent: true + extent: (Point 220 30) ) (ActionButtonSpec label: 'OK' name: 'OKButton' + uuid: '938af01c-c034-11e8-b23c-b8f6b1108e05' translateLabel: true resizeForLabel: false tabable: true model: accept isDefault: true defaultable: true - useDefaultExtent: true + extent: (Point 221 30) ) )