ColorEditDialog.st
author Stefan Vogel <sv@exept.de>
Tue, 20 Feb 2018 18:46:36 +0100
changeset 3538 54b79608c60d
parent 3527 74f4d5106d99
child 3578 9965b6b7e99b
permissions -rw-r--r--
#REFACTORING by stefan class: UIPainter changed: #commonPostBuild outsource code into #useAlienInfoHolder method
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
"
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
 COPYRIGHT (c) 1995 by eXept Software AG
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
              All Rights Reserved
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
 This software is furnished under a license and may be used
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
 other person.  No title to or ownership of the software is
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
 hereby transferred.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
"
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libtool2' }"
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
3179
174a9f51db76 class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 3175
diff changeset
    14
"{ NameSpace: Smalltalk }"
174a9f51db76 class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 3175
diff changeset
    15
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
SimpleDialog subclass:#ColorEditDialog
2224
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
    17
	instanceVariableNames:'red green blue hue light saturation colorNameHolder
2831
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
    18
		htmlColorNameHolder colorDefinitionStringHolder previewBox
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
    19
		brightnessStringHolder'
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
	classVariableNames:''
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
	poolDictionaries:''
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
	category:'Interface-UIPainter'
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
!
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
!ColorEditDialog class methodsFor:'documentation'!
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
copyright
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
"
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
 COPYRIGHT (c) 1995 by eXept Software AG
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
              All Rights Reserved
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
 This software is furnished under a license and may be used
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
 only in accordance with the terms of that license and with the
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
 inclusion of the above copyright notice.   This software may not
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
 be provided or otherwise made available to, or used by, any
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
 other person.  No title to or ownership of the software is
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
 hereby transferred.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
"
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
!
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
documentation
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
"
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
    An edit-dialog for colors.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
"
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
!
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
examples
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
"
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
                                                                                [exBegin]                                      
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
    |editor color|
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
1846
65558eb9f4d3 comments
Claus Gittinger <cg@exept.de>
parents: 1840
diff changeset
    52
    editor := ColorEditDialog new.
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
    editor color:(Color green).
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
    editor open.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
    editor accepted ifTrue:[
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
        editor color inspect.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
    ]
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
                                                                                [exEnd]
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
"
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
! !
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
2266
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
    62
!ColorEditDialog class methodsFor:'help specs'!
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
    63
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
    64
helpSpec
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
    65
    "This resource specification was automatically generated
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
    66
     by the UIHelpTool of ST/X."
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
    67
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
    68
    "Do not manually edit this!! If it is corrupted,
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
    69
     the UIHelpTool may not be able to read the specification."
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
    70
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
    71
    "
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
    72
     UIHelpTool openOnClass:ColorEditDialog    
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
    73
    "
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
    74
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
    75
    <resource: #help>
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
    76
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
    77
    ^ super helpSpec addPairsFrom:#(
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
    78
3519
4fbc55af0d28 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3194
diff changeset
    79
#pickColor
4fbc55af0d28 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3194
diff changeset
    80
'Pick a Color from the Screen'
4fbc55af0d28 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3194
diff changeset
    81
2831
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
    82
#brightness
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
    83
'The Color''s brightness value (0..1)'
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
    84
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
    85
#colorDefinitionString
2904
bd6cacbab203 changed: #flyByHelpSpec
Claus Gittinger <cg@exept.de>
parents: 2831
diff changeset
    86
'A Smalltalk expression to construct the color'
2831
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
    87
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
    88
#colorName
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
    89
'The standard colorname (as used in the X-Window System), if known'
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
    90
2266
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
    91
#copyToClipboard
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
    92
'Copy the color to the clipboard'
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
    93
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
    94
#hlsMixer
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
    95
'Mix color from hls (hue-light-saturation) components'
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
    96
2831
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
    97
#htmlColorName
2904
bd6cacbab203 changed: #flyByHelpSpec
Claus Gittinger <cg@exept.de>
parents: 2831
diff changeset
    98
'The color as used in an HTML page'
2831
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
    99
2266
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
   100
#pasteFromClipboard
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
   101
'Paste color from the Clipboard'
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
   102
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
   103
#rgbMixer
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
   104
'Mix color from rgb (red-green-blue) components'
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
   105
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
   106
)
2904
bd6cacbab203 changed: #flyByHelpSpec
Claus Gittinger <cg@exept.de>
parents: 2831
diff changeset
   107
bd6cacbab203 changed: #flyByHelpSpec
Claus Gittinger <cg@exept.de>
parents: 2831
diff changeset
   108
    "Modified: / 09-08-2012 / 09:35:29 / cg"
2266
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
   109
! !
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
   110
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
   111
!ColorEditDialog class methodsFor:'image specs'!
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
   112
3175
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   113
hueGradientImage
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   114
    "This resource specification was automatically generated
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   115
     by the ImageEditor of ST/X."
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   116
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   117
    "Do not manually edit this!! If it is corrupted,
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   118
     the ImageEditor may not be able to read the specification."
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   119
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   120
    "
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   121
     self hueGradientImage inspect
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   122
     ImageEditor openOnClass:self andSelector:#hueGradientImage
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   123
     Icon flushCachedIcons
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   124
    "
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   125
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   126
    <resource: #image>
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   127
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   128
    ^Icon
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   129
        constantNamed:'ColorEditDialog hueGradientImage'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   130
        ifAbsentPut:[(Depth8Image new) width:400; height:50; bits:(ByteArray fromPackedString:'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   131
J%YV  XFB@ 4MI=7];&;.5MSPDBV[&:0,D!!HHRE"N#*Z&#NCA0]6MSV (K1N$C<)ZV%+Z9]GGKT^RT$QH(6MN3,=*DJD!!HR2WKJ2C 8NC%EQ%IRT%IPEKPTE
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   132
''I2\''KZ6]AHRD''=(ZG<ZF!!*GV8][!!3^IC0<OTG1<@@AXKE!!X&9.Y&7U5]X>O#8>OLC@0LC@0LCA:NW):^''):^(UCP8VE!!XT<##0<OH:NK2</K2</K2=9^W%9
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   133
^W%9^Z:.+*:.+*9%YVU%YVU%YVUEQPRU%YNST%J:.''!!8CU=]WSD1+XFAUUT>O*V%YH2LR$)2\!!4]&@LCZ&)=_R (I*DLCE9^L#IZV*2@ EQT)*Z$X6M!!X[N3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   134
+;F/+1 XFA"R$+"8.K!!&''"N^''''@I\@%WVU$TEAPA(:N#"(*J"(X_G1-,[F0UEQUOS6]OR;]K\WM1\R8.K"9>_''9>_''9>''Y46''Y6]M#Z************4-KR4
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   135
-KR4-B,+J2,+J2,+J0-LS@-LSD1APTEAPTEAPTFK"8.K"8.K"5YVU")VU(HFA  HMCR_]7^9.;-ST4A@%&9.,KAHRBD!!X#(:&)(3 0\G]#T5(JB<S)@?JV%)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   136
Z6.WQ125G$%IDRJM#S,;OZ!!B!!HRD,%22, 8NC 9QTYRT%IRTAR4EAY2\''I26-''PRD!!I?ZF!!?F!!(Z!!5.GV8\7"P<OC5A<_@@@VB1XVI.[&Y-5]WVO#8>O#3@0
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   137
LC@0LC@0^#%:^''):^''*EP4NE!!XVEOH8<OC2N#"</K2</K2</^W%9^W%9^W&.+*:.+*:.YVU%YVU%YVU%QTTD%YVS$5IR.+)8^@5_WU41LZ6A UUUO#:%)VRL
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   138
#D)J\''H]GY C@6)*_W4(JBZ!!C@1^W#H2V%*, HATUJZ&)FM#XVF3,:>1+;DX[V4X*Z&8Y&Y&Y"L#''"M0BP$IVU%Y@PDA@ZN#^3 8"# _G1<[[A,[E1\WY6]''
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   139
Y;^7R7M3\7M/K"9/@ HB@ I>@#Z]M)6]''SX6************-KR4-KR4-KP+J2,+J2,+J2,KSD0KSD1LE$EAPTEAPQYA"8.K"8.K"8-VU"(*U%ZBA XHBCP4
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   140
''7]7.[.;T5M@PIY.[+B0RD !!HVH:N)*ZL8LGA7X5MZB /D:PO2%)ZV-+%4\\-Q9IRQD"#X4;N36(P(RD!!KI\,+HNC 8NTUFT%IRT%@T-APV\''I2\-+Y4D!!HR
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   141
_6!!(_1(ZF(][!!5.GM8$OC0=P_G0@@E ,VE"[&9&[]WU5#8>O#8<0LC@0LC@0LG(9^''):^''):!!TMC!!XVE!!S2NOC0<#(8/K2</K2</K7%9^W%9^W%9+*:.+*:.
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   142
+&U%YVU%YVU%YTUEAIVU$9MRT+*:^G MW55]LSF- XEUUS8>)ZU$#H1JR''I2GQ6X@0M*Z''5=JB &(P0LW%82L%)Z+HB@UER&)*Q#X6E!!,;N/,[F1[V5-[Z&)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   143
Y&Y&Y&X#H2L#BP$IBU%YVPDA@PE;^7,8NC 8G1<_F1,[F1\WE6]''Y6^7-;]3\7M3[6=/[0HB@ HB@ H6M#Z]''Y46M************+R4-KR4-KR4J2,+J2,+
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   144
J2,+B41LB41LSAYAPTEAPTDVPX.K"8.K"8.KU%X*J%YV  XFB@ 4MI=7];&;.5MSPDBV[&:0,D!!HHRE"N#*Z&#NCA0]6MSV (D9N$I@)ZV%+Z9^WGA8^RT$"
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   145
H(6MN3,=*DJD!!HR2WKJ2C 8NC%EQ%IRT%IPEKPTE''I2\''KZ6]AHRD''=(ZG<ZF!!*GV8][!!3^IC0<OTG1<@@AXKE!!X&9.Y&7U5]X>O#8>OLC@0LC@0LCA:NW):
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   146
^''):^(UCP8VE!!XT<##0<OH:NK2</K2</K2=9^W%9^W%9^Z:.+*:.+*9%YVU%YVU%YVUEQPRU%YNST%J:.''!!8CU=]WSD1+XFAUUT>O*V%YH2LR$)2\!!4]&@LC
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   147
Z&)=_R (I*DLCE9^L#IZV*2@ EQT)*Z$X6M!!X[N3+;F/,Q!!-[Q")*[!!&Y&Y&H2N^H7@IBP%YVU$A@PDA(:M;NC"JNA<_G1-,F1,WE1]''Y6]''-;]K\7M3\6<.
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   148
K&<B@ HB@''8BM)46''Y6]M#Z************4-KR4-KR4-B,+J2,+J2,+J0-LS@,KB0,VPQXVPQXVE!!ZKHB@ HB@ HB(*J")VU(HFA  HMCR_]7^9.;-ST4A@
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   149
%&9.,KAHRBD!!X#(:&)(3 0\G]#T5(JB<S)@?JV%)Z6.WQ125G$%IDRJM#S,;OZ!!B!!HRD,%22, 8NC 9QTYRT%IRTAPTEAY2\''I26-+XRD!!I?_7=?F!!(Z!!8^G
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   150
!!8\7M0=PTE@@@@@@VE!!XVI.[&9-5]WVO#8>O#3@0LC@0LC@0^''):^''):^''*E!!XVE!!XVEOH8<OC2N#"</K2</K2</^W%9^W%9^W&.+*:.+*:.YVU%YVU%YVU%
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   151
QTTD%YVS$5IR.+)8^@5_WU41LZ6A UUUO#:%)VRL#D)J\''H]GY C@6)*_W4(JBZ!!C@1^W#H2V%*, HATUJZ&)FM#XVF3,:>1+:<XFA X$)J8.K"8Y)8#'')90
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   152
BW@IU5%YEAPT@ZN#(8*J"(*FG1<[[F1,EQTUS4=''S4.7R7E3\WD.K"8._''9>_''9>_)6]M)6]''SX6************-KR4-KR4-KP+J2,+J2,+J2,KSD0KSD1L
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   153
E$EAPTEAPQYA"8.K"8.K"8-VU"(*U%ZBA XHBCP4''7]7.[.;T5M@PIY.[+B0RD !!HVH:N)*ZL8LGA7Z"("\''/K0?O2%)ZTQ+Q4\J-[T$IAD"$YD;N36(P(RD
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   154
!!KI\,+HNC 8NTUFT%IRT%@T-APV\''I2\-+Y4D!!HR_6!!(_1(ZF(][!!5.GM8$OC0=P_G0@@E ,VE"[&9&[]WU5#8>O#8<0LC@0LC@0LG(9^''):^''):!!TMC!!XVE
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   155
!!S2NOC0<#(8/K2</K2</K7%9^W%9^W%9+*:.+*:.+&U%YVU%YVU%YTUEAIVU$9MRT+*:^G MW55]LSF- XEUUS8>)ZU$#H1JR''I2GQ6X@0M*Z''5=JB &(P0L
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   156
W%82L%)Z+HB@UER&)*Q#X6E!!,;N/,Z>1FF5-FJ&).FY&Y&X#H98#\@$IBU%YVPDA@PF#(7,8NH(8G1<_F60[F1\WE6]''Y6^7-4-3\7M3[28.[0HB@ HB_ H6
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   157
''SZ]''Y46M************+R4-KR4-KR4J2,+J2,+J2,+B41LB0,KB1YAE!!YAE!!XVE(, HB@ HB@ J"(*J%YV  XFB@ 4MI=7];&;.5MSPDBV[&:0,D!!HHRE"
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   158
N#*Z&#NCA0]6MSV (K1N$C<)ZV%+Z9]GGKT^RT$QH(6MN3,=*DJD!!HR2WKJ2C 8NC%EQ%IRT%IPEKPTE''I2\''KZ6]AHRD''=(ZG<ZF!!*GV8][!!3^IC0<OTG1<
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   159
@@AXKE!!X&9.Y&7U5]X>O#8>OLC@0LC@0LCA:NW):^''):^(UCP8VE!!XT<##0<OH:NK2</K2</K2=9^W%9^W%9^Z:.+*:.+*9%YVU%YVU%YVUEQPRU%YNST%J:
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   160
.''!!8CU=]WSD1+XFAUUT>O*V%YH2LR$)2\!!4]&@LCZ&)=_R (I*DLCE9^L#IZV*2@ EQT)*Z$X6M!!X[N3+;F/,Q!!-[Q")*[!!&Y&Y&H2N^H7@IBP%YVU$A@PDA
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   161
(:M;NC"JNA<_G1-,F1,WE1]''Y6]''-;]K\7M3\6<.K&<B@ HB@''8BM)46''Y6]M#Z************4-KR4-KR4-B,+J2,+J2,+J0-LS@-LSD0VPTEAPTEAE$FK
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   162
"8.K"8.K"5YVJ")VU(HFA  HMCR_]7^9.;-ST4A@%&9.,KAHRBD!!X#(:&)(3 0\G]*J"I2^</C<?JV%)QF-GQ0*5-RP$DRJQ$S,;OZ!!B!!HRD,%1\, 9 XF@P
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   163
TZ^T%IR''KR4EKTYFQ$Y4]GP%IRU?ZF!!(*1*+!!5-[V5.I"P<OC5A<_@A<KB0,KI&Y&Y.H"H"OST6OSS@YFQ$0FQ$YNS$9NS%:^'')CP4MCP8VE#(8<OC2N#"</
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   164
K2</K2</^W%9^W%9^W&.+*:.+*:.YVU%YVU%YVU%QTTD%YVS$5IR.+)8^@5_WU41LZ6A UUUO#:%)VRL#D)J\''H]GY C@6)*_W4(JBZ!!C@1^W#H2V%*, HAT
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   165
UJZ&)FM#XVF3,:>1+;DX[V4X*Z&8Y&Y&Y"L#''"M0BP$IVU%Y@PDA@ZN#^3 8"# _G1<[[A,[E1\WY6]''Y;^7R7M3\7M/K"9/@ HB@ I>@#Z]M)6]''SX6****
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   166
********-KR4-KR4-KP+J2,+J2,+J2,KSD0KB0,KE$DVE$DVE!!XV"2@ HB@ HB@*J"(*U%ZBA XHBCP4''7]7.[.;T5M@PIY.[+B0RD !!HVH:N)*ZL8LGA7X5
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   167
MZB S$:P$B%)ZV-+%9\\G!!9IRRH"#X4;N36(P(RD!!KI\,+HNC 8NTUFT%IRT%@T-APV\''I2\-+Y4D!!HR_6!!(_1(ZF(][!!5.GM8$OC0=P_G0@@E ,VE"[&9&[
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   168
]WU5#8>O#8<0LC@0LC@0LG(9^''):^''):!!TMC!!XVE!!S2NOC0<#(8/K2</K2</K7%9^W%9^W%9+*:.+*:.+&U%YVU%YVU%YTUEAIVU$9MRT+*:^G MW55]LSF-
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   169
 XEUUS8>)ZU$#H1JR''I2GQ6X@0M*Z''5=JB &(P0LW%82L%)Z+HB@UER&)*Q#X6E!!,;N/,Z>1FF5-FJ&).FY&Y&X#H98#\@$IBU%YVPDA@PF#(7,8NH(8G1<_
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   170
F60[F1\WE6]''Y6^7-4-3\7M3[28.[0HB@ HB_ H6''SZ]''Y46M************+R4-KR4-KR4J2,+J2,+J2,+B41LB0,KB1YAE!!YAE!!XVE(, HB@ HB@ J"(*
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   171
J%YV  XFB@ 4MI=7];&;.5MSPDBV[&:0,D!!HHRE"N#*Z&#NCA0]6MSV (K1N$C<)ZV%+Z9]GGKT^RT$QH(6MN3,=*DJD!!HR2WE22C&A XAAQ)9RT%J\-KPT-
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   172
Q$YFQ''Q4]BT%IW=(ZF"+F*.GV5-[V8&IC0<OTG1<@G0,KB0,&Y&Y&8"H"H=MSX=MLA$YFS@YFQ$9NS$9NW):^$MCP4MC!!XVN##0<OH:NK2</K2</K2=9^W%9
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   173
^W%9^Z:.+*:.+*9%YVU%YVU%YVUEQPRU%YNST%J:.''!!8CU=]WSD1+XFAUUT>O*V%YH2LR$)2\!!4]&@LCZ&)=_R (I*DLCE9^L#IZV*2@ EQT)*Z$X6M!!X[N3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   174
+;F/,Q!!-[Q")*[!!&Y&Y&H2N^H7@IBP%YVU$A@PDA(:M;NC"JNA<_G1-,F1,WE1]''Y6]''-;]K\7M3\6<.K&<B@ HB@''8BM)46''Y6]M#Z************4-KR4
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   175
-KR4-B,+J2,+J2,+J0-LS@-LSD0VPTEAPTEAE$FK"8.K"8.K"5YVJ")VU(HFA  HMCR_]7^9.;-ST4A@%&9.,KAHRBD!!X#(:&)(3 0\G]#T5(JB<S)@?JV%)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   176
Z6.WQ125G$%IDRJM#S,;OZ!!B!!HRD,%22, 8NC 9QTYRT%IRTAR4EAY2\''I26-''PRD!!I?ZF!!?F!!(Z!!5.GV8\7"P<OC5A<_@@@VB1XVI.[&Y-5]WVO#8>O#3@0
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   177
LC@0LC@0^#%:^''):^''*EP4NE!!XVEOH8<OC2N#"</K2</K2</^W%9^W%9^W&.+*:.+*:.YVU%YVU%YVU%QTTD%YVS$5IR.+)8^@5_WU41LZ6A UUUO#:%)VRL
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   178
#D)J\''H]GY C@6)*_W4(JBZ!!C@1^W#H2V%*, HATUJZ&)FM#XVF3,:>1+;DX[V4X*Z&8Y&Y&Y"L#''"M0BP$IVU%Y@PDA@ZN#^3 8"# _G1<[[A,[E1\WY6]''
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   179
Y;^7R7M3\7M/K"9/@ HB@ I>@#Z]M)6]''SX6************-KR4-KR4-KP+J2,+J2,+J2,KSD0KB0,KE$DVE$DVE!!XV"2@ HB@ HB@*J"(*U%ZBA XHBCP4
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   180
''7]7.[.;T5M@PIY.[+B0RD !!HVH:N)*ZL8LGA7X5MZB S$:P$B%)ZV-+%9\\G!!9IRRH"#X4;N36(P(RD!!KI\WKHNXFA DEF''%IRT)24-AR5FQ$YF]GQ4IRT%
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   181
_6!!(ZJ,Z*8][V5-["X$OC0=P_G0@_B0,KB2Y&Y&["H"H#45M#440FQ$YLA$YFS$9NS$9^''):P4MCP4NE!!X:NOC0<#(8/K2</K2</K7%9^W%9^W%9+*:.+*:.
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   182
+&U%YVU%YVU%YTUEAIVU$9MRT+*:^G MW55]LSF- XEUUS8>)ZU$#H1JR''I2GQ6X@0M*Z''5=JB &(P0LW%82L%)Z+HB@UER&)*Q#X6E!!,;N/,Z>1FF5-FJ&)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   183
.FY&Y&X#H98#\@$IBU%YVPDA@PF#(7,8NH(8G1<_F60[F1\WE6]''Y6^7-4-3\7M3[28.[0HB@ HB_ H6''SZ]''Y46M************+R4-KR4-KR4J2,+J2,+
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   184
J2,+B41LB41LSDEAPTEAPTEAPX.K"8.K"8.KU%YVJ%YV  XFB@ 4MI=7];&;.5MSPDBV[&:0,D!!HHRE"N#*Z&#NCA0]6MSV (D9N$I@)ZV%+Z9^WGA8^RT$"
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   185
H(6MN3,=*DJD!!HR2WKJ2C 8NC%EQ%IRT%IPEKPTE''I2\''KZ6]AHRD''=(ZG<ZF!!*GV8][!!3^IC0<OTG1<@@AXKE!!X&9.Y&7U5]X>O#8>OLC@0LC@0LCA:NW):
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   186
^''):^(UCP8VE!!XT<##0<OH:NK2</K2</K2=9^W%9^W%9^Z:.+*:.+*9%YVU%YVU%YVUEQPRU%YNST%J:.''!!8CU=]WSD1+XFAUUT>O*V%YH2LR$)2\!!4]&@LC
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   187
Z&)=_R (I*DLCE9^L#IZV*2@ EQT)*Z$X6M!!X[N3+;F1,V5-[V6)*VY&Y&Y&H2L#H0$IBP%YVU$A@PDA^7-;NC 8NA<_G1,[F1,WE1]''Y6]''-;^7\7M3\6=/
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   188
[6<B@ HB@ HBM#X6''Y6]M#Z************4-KR4-KR4-B,+J2,+J2,+J0-LS@-LSD1APTEAPTEAPTFK"8.K"8.K"5YVU")VU(HFA  HMCR_]7^9.;-ST4A@
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   189
%&9.,KAHRBD!!X#(:&)(3 0\G]#T5(JANS)BPJV%)Z6.W%10^G$%IH"JM#S,;OZ!!B!!HRD,%22, 8NC 9QTYRT%IRTAR4EAY2\''I26-''PRD!!I?ZF!!?F!!(Z!!5.G
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   190
V8\7"P<OC5A<_@@@VB1XVI.[&Y-5]WVO#8>O#3@0LC@0LC@0^#%:^''):^''*EP4NE!!XVEOH8<OC2N#"</K2</K2</^W%9^W%9^W&.+*:.+*:.YVU%YVU%YVU%
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   191
QTTD%YVS$5IR.+)8^@5_WU41LZ6A UUUO#:%)VRL#D)J\''H]GY C@6)*_W4(JBZ!!C@1^W#H2V%*, HATUJZ&)FM#XVF3,:>1+;DX[V4X*Z&8Y&Y&Y"L#''"M0
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   192
BP$IVU%Y@PDA@ZN#^3 8"# _G1<[[A,[E1\WY6]''Y;^7R7M3\7M/K"9/@ HB@ I>@#Z]M)6]''SX6************-KR4-KR4-KP+J2,+J2,+J2,KSD0KSD1L
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   193
E$EAPTEAPQYA"8.K"8.K"8-VU"(*U%ZBA XHBCP4''7]7.[.;T5M@PIY.[+B0RD !!HVH:N)*ZL8LGA7X5MZB /D:PO2%)ZV-+%4\\-Q9IRQD"#X4;N36(P(RD
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   194
!!KI\,+HNC 8NTUFT%IRT%@T-APV\''I2\-+Y4D!!HR_6!!(_1(ZF(][!!5.GM8$OC0=P_G0@@E ,VE"[&9&[]WU5#8>O#8<0LC@0LC@0LG(9^''):^''):!!TMC!!XVE
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   195
!!S2NOC0<#(8/K2</K2</K7%9^W%9^W%9+*:.+*:.+&U%YVU%YVU%YTUEAIVU$9MRT+*:^G MW55]LSF- XEUUS8>)ZU$#H1JR''I2GQ6X@0M*Z''5=JB &(P0L
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   196
W%82L%)Z+HB@UER&)*Q#X6E!!,;N/,Z>1FF5-FJ&).FY&Y&X#H98#\@$IBU%YVPDA@PF#(7,8NH(8G1<_F60[F1\WE6]''Y6^7-4-3\7M3[28.[0HB@ HB_ H6
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   197
''SZ]''Y46M************+R4-KR4-KR4J2,+J2,+J2,+B41LB0,KB1YAE!!YAE!!XVE(, HB@ HB@ J"(*J%YV  XFB@ 4MI=7];&;.5MSPDBV[&:0,D!!HHRE"
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   198
N#*Z&#NCA0]6MSV (K1N$C<)ZV%+Z9]GGKT^RT$QH(6MN3,=*DJD!!HR2WKJ2C 8NC%EQ%IRT%IPEKPTE''I2\''KZ6]AHRD''=(ZG<ZF!!*GV8][!!3^IC0<OTG1<
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   199
@@AXKE!!X&9.Y&7U5]X>O#8>OLC@0LC@0LCA:NW):^''):^(UCP8VE!!XT<##0<OH:NK2</K2</K2=9^W%9^W%9^Z:.+*:.+*9%YVU%YVU%YVUEQPRU%YNST%J:
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   200
.''!!8CU=]WSD1+XFAUUT>O*V%YH2LR$)2\!!4]&@LCZ&)=_R (I*DLCE9^L#IZV*2@ EQT)*Z$X6M!!X[N3+;F/,Q!!-[Q")*[!!&Y&Y&H2N^H7@IBP%YVU$A@PDA
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   201
(:M;NC"JNA<_G1-,F1,WE1]''Y6]''-;]K\7M3\6<.K&<B@ HB@''8BM)46''Y6]M#Z************4-KR4-KR4-B,+J2,+J2,+J0-LS@,KB0,VPQXVPQXVE!!ZK
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   202
HB@ HB@ HB(*J")VU(HFA  HMCR_]7^9.;-ST4A@%&9.,KAHRBD!!X#(:&)(3 0\G]*J"I2^</C<?JV%)QF-GQ0*5-RP$DRJQ$S,;OZ!!B!!HRD,%22, 8NC 9Q
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   203
TYRT%IRTAR4EAY2\''I26-''PRD!!I?ZF!!?F!!(Z!!5.GV8\7"P<OC5A<_@@@VB1XVI.[&Y-5]WVO#8>O#3@0LC@0LC@0^#%:^''):^''*EP4NE!!XVEOH8<OC2N#"</
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   204
K2</K2</^W%9^W%9^W&.+*:.+*:.YVU%YVU%YVU%QTTD%YVS$5IR.+)8^@5_WU41LZ6A UUUO#:%)VRL#D)J\''H]GY C@6)*_W4(JBZ!!C@1^W#H2V%*, HAT
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   205
UJZ&)FM#XVF3,:>1,[E-[V5-*Z%&Y&Y&Y"L#H2LIBP$IVU%Y@PDA@W-;^3 8NC _G1<[F1,[E1\WY6]''Y;^7-7M3\7M/[6=/@ HB@ HB@#X6M)6]''SX6****
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   206
********-KR4-KR4-KP+J2,+J2,+J2,KSD0KB0,KE$DVE$DVE!!XV"2@ HB@ HB@*J"(*U%ZBA XHBCP4''7]7.[.;T5M@PIY.[+B0RD !!HVH:N)*ZL8LGA7X5
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   207
MZB /D:PO2%)ZV-+%4\\-Q9IRQD"#X4;N36(P(RD!!KI\,+HNC 8NTUFT%IRT%@TEAPV\''I2\-+Z6D!!HR_7=?_1(ZF(^G!!8^GM3\OTEAP@@@@@E!!XVE"[&9.[
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   208
]WU5#8>O#8<0LC@0LC@0LG):^''):^''):!!XVE!!XVE!!S2NOC0<#(8/K2</K2</K7%9^W%9^W%9+*:.+*:.+&U%YVU%YVU%YTUEAIVU$9MRT+*:^G MW55]LSF-
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   209
 XEUUS8>)ZU$#H1JR''I2GQ6X@0M*Z''5=JB &(P0LW%82L%)Z+HB@UER&)*Q#X6E!!,;N/,[F1[V5-[Z&)Y&Y&Y&X#H2L#BP$IBU%YVPDA@PE;^7,8NC 8G1<_
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   210
F1,[F1\WE6]''Y6^7-;]3\7M3[6=/[0HB@ HB@ H6M#Z]''Y46M************+R4-KR4-KR4J2,+J2,+J2,+B41LB41LSAYAPTEAPTDVPX.K"8.K"8.KU%X*
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   211
J%YV  XFB@ 4MI=7];&;.5MSPDBV[&:0,D!!HHRE"N#*Z&#NCA0]6MSV (K1N$C<)ZV%+Z9]GGKT^RT$QH(6MN3,=*DJD!!HR2WE22C&A XAAQ)9RT%J\-APT-
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   212
Q$YFQ''Q4-"T%IW=?_6"+F*.G!!5.GV8$7C5APT@@@@G0,VB0,&Y&[&8"H"H=MSX=MLA$YFS@YFQ$9^#$9NW):^$NE!!TMC!!XVN##0<OH:NK2</K2</K2=9^W%9
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   213
^W%9^Z:.+*:.+*9%YVU%YVU%YVUEQPRU%YNST%J:.''!!8CU=]WSD1+XFAUUT>O*V%YH2LR$)2\!!4]&@LCZ&)=_R (I*DLCE9^L#IZV*2@ EQT)*Z$X6M!!X[N3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   214
+;F1,V5-[V6)*VY&Y&Y&H2L#H0$IBP%YVU$A@PDA^7-;NC 8NA<_G1,[F1,WE1]''Y6]''-;^7\7M3\6=/[6<B@ HB@ HBM#X6''Y6]M#Z************4-KR4
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   215
-KR4-B,+J2,+J2,+J0-LS@-LSD0VPTEAPTEAE$FK"8.K"8.K"5YVJ")VU(HFA  HMCR_]7^9.;-ST4A@%&9.,KAHRBD!!X#(:&)(3 0\G]#T5(JB<S)@?JV%)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   216
Z6.WQ125G$%IDRJM#S,;OZ!!B!!HRD,%22, 8NC 9QTYRT%IRTAPTEAY2\''I26-+XRD!!I?_7=?F!!(Z!!8^G!!8\7M0=PTE@@@@@@VE!!XVI.[&9-5]WVO#8>O#3@0
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   217
LC@0LC@0^''):^''):^''*E!!XVE!!XVEOH8<OC2N#"</K2</K2</^W%9^W%9^W&.+*:.+*:.YVU%YVU%YVU%QTTD%YVS$5IR.+)8^@5_WU41LZ6A UUUO#:%)VRL
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   218
#D)J\''H]GY C@6)*_W4(JBZ!!C@1^W#H2V%*, HATUJZ&)FM#XVF3,:>1,[E-[V5-*Z%&Y&Y&Y"L#H2LIBP$IVU%Y@PDA@W-;^3 8NC _G1<[F1,[E1\WY6]''
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   219
Y;^7-7M3\7M/[6=/@ HB@ HB@#X6M)6]''SX6************-KR4-KR4-KP+J2,+J2,+J2,KSD0KSD1LE$EAPTEAPQYA"8.K"8.K"8-VU"(*U%ZBA XHBCP4
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   220
''7]7.[.;T5M@PIY.[+B0RD !!HVH:N)*ZL8LGA7X5MZB S$:P$B%)ZV-+%9\\G!!9IRRH"#X4;N36(P(RD!!KI\,+HNC 8NTUFT%IRT%@TEAPV\''I2\-+Z6D!!HR
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   221
_7=?_1(ZF(^G!!8^GM3\OTEAP@@@@@E!!XVE"[&9.[]WU5#8>O#8<0LC@0LC@0LG):^''):^''):!!XVE!!XVE!!S2NOC0<#(8/K2</K2</K7%9^W%9^W%9+*:.+*:.
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   222
+&U%YVU%YVU%YTUEAIVU$9MRT+*:^G MW55]LSF- XEUUS8>)ZU$#H1JR''I2GQ6X@0M*Z''5=JB &(P0LW%82L%)Z+HB@UER&)*Q#X6E!!,;N/,Z>1FF5-FJ&)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   223
.FY&Y&X#H98#\@$IBU%YVPDA@PF#(7,8NH(8G1<_F60[F1\WE6]''Y6^7-4-3\7M3[28.[0HB@ HB_ H6''SZ]''Y46M************+R4-KR4-KR4J2,+J2,+
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   224
J2,+B41LB41LSAYAPTEAPTDVPX.K"8.K"8.KU%X*J%YV  XFB@ 4MI=7];&;.5MSPDBV[&:0,D!!HHRE"N#*Z&#NCA0]6MSV (K1N$C<)ZV%+Z9]GGKT^RT$Q
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   225
H(6MN3,=*DJD!!HR2WKJ2C 8NC%EQ%IRT%IPEKPTE''I2\''KZ6]AHRD''=(ZG<ZF!!*GV8][!!3^IC0<OTG1<@@AXKE!!X&9.Y&7U5]X>O#8>OLC@0LC@0LCA:NW):
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   226
^''):^(UCP8VE!!XT<##0<OH:NK2</K2</K2=9^W%9^W%9^Z:.+*:.+*9%YVU%YVU%YVUEQPRU%YNST%J:.''!!8CU=]WSD1+XFAUUT>O*V%YH2LR$)2\!!4]&@LC
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   227
Z&)=_R (I*DLCE9^L#IZV*2@ EQT)*Z$X6M!!X[N3+;F1,V5-[V6)*VY&Y&Y&H2L#H0$IBP%YVU$A@PDA^7-;NC 8NA<_G1,[F1,WE1]''Y6]''-;^7\7M3\6=/
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   228
[6<B@ HB@ HBM#X6''Y6]M#Z************4-KR4-KR4-B,+J2,+J2,+J0-LS@,KB0,VPQXVPQXVE!!ZKHB@ HB@ HB(*J")VU(HFA  HMCR_]7^9.;-ST4A@
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   229
%&9.,KAHRBD!!X#(:&)(3 0\G]#T5(JANS)BPJV%)Z6.W%10^G$%IH"JM#S,;OZ!!B!!HRD,%22, 8NC 9QTYRT%IRTAR4EAY2\''I26-''PRD!!I?ZF!!?F!!(Z!!5.G
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   230
V8\7"P<OC5A<_@@@VB1XVI.[&Y-5]WVO#8>O#3@0LC@0LC@0^#%:^''):^''*EP4NE!!XVEOH8<OC2N#"</K2</K2</^W%9^W%9^W&.+*:.+*:.YVU%YVU%YVU%
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   231
QTTD%YVS$5IR.+)8^@5_WU41LZ6A UUUO#:%)VRL#D)J\''H]GY C@6)*_W4(JBZ!!C@1^W#H2V%*, HATUJZ&)FM#XVF3,:>1+:<XFA X$)J8.K"8Y)8#'')90
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   232
BW@IU5%YEAPT@ZN#(8*J"(*FG1<[[F1,EQTUS4=''S4.7R7E3\WD.K"8._''9>_''9>_)6]M)6]''SX6************-KR4-KR4-KP+J2,+J2,+J2,KSD0KB0,K
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   233
E$DVE$DVE!!XV"2@ HB@ HB@*J"(*U%ZBA XHBCP4''7]7.[.;T5M@PIY.[+B0RD !!HVH:N)*ZL8LGA7X5MZB /D:PO2%)ZV-+%4\\-Q9IRQD"#X4;N36(P(RD
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   234
!!KI\,+HNC 8NTUFT%IRT%@T-APV\''I2\-+Y4D!!HR_6!!(_1(ZF(][!!5.GM8$OC0=P_G0@@E ,VE"[&9&[]WU5#8>O#8<0LC@0LC@0LG(9^''):^''):!!TMC!!XVE
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   235
!!S2NOC0<#(8/K2</K2</K7%9^W%9^W%9+*:.+*:.+&U%YVU%YVU%YTUEAIVU$9MRT+*:^G MW55]LSF- XEUUS8>)ZU$#H1JR''I2GQ6X@0M*Z''5=JB &(P0L
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   236
W%82L%)Z+HB@UER&)*Q#X6E!!,;N/,Z>1FF5-FJ&).FY&Y&X#H98#\@$IBU%YVPDA@PF#(7,8NH(8G1<_F60[F1\WE6]''Y6^7-4-3\7M3[28.[0HB@ HB_ H6
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   237
''SZ]''Y46M************+R4-KR4-KR4J2,+J2,+J2,+B41LB0,KB1YAE!!YAE!!XVE(, HB@ HB@ J"(*J%YV  XFB@ 4MI=7];&;.5MSPDBV[&:0,D!!HHRE"
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   238
N#*Z&#NCA0]6MSV (K1N$C<)ZV%+Z9]GGKT^RT$QH(6MN3,=*DJD!!HR2WKJ2C 8NC%EQ%IRT%IPEAPTE''I2\''KZ6-!!HRD''=?_7<ZF!!*G!!8^G!!3\7C5APT@@@
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   239
@@AXVE!!X&9.[&7U5]X>O#8>OLC@0LC@0LCA:^''):^''):^(VE!!XVE!!XT<##0<OH:NK2</K2</K2=9^W%9^W%9^Z:.+*:.+*9%YVU%YVU%YVUEQPRU%YNST%J:
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   240
.''!!8CU=]WSD1+XFAUUT>O*V%YH2LR$)2\!!4]&@LCZ&)=_R (I*DLCE9^L#IZV*2@ EQT)*Z$X6M!!X[N3+;F1,V5-[V6)*VY&Y&Y&H2L#H0$IBP%YVU$A@PDA
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   241
^7-;NC 8NA<_G1,[F1,WE1]''Y6]''-;^7\7M3\6=/[6<B@ HB@ HBM#X6''Y6]M#Z************4-KR4-KR4-B,+J2,+J2,+J0-LS@-LSD0VPTEAPTEAE$FK
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   242
"8.K"8.K"5YVJ")VU(HFA  HMCR_]7^9.;-ST4A@%&9.,KAHRBD!!X#(:&)(3 0\G]#T5(JANS)BPJV%)Z6.W%10^G$%IH"JM#S,;OZ!!B!!HRD,%22, 8NC 9Q
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   243
TYRT%IRTAR4EAY2\''I26-''PRD!!I?ZF!!?F!!(Z!!5.GV8\7"P<OC5A<_@@@VB1XVI.[&Y-5]WVO#8>O#3@0LC@0LC@0^#%:^''):^''*EP4NE!!XVEOH8<OC2N#"</
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   244
K2</K2</^W%9^W%9^W&.+*:.+*:.YVU%YVU%YVU%QTTD%YVS$5IR.+)8^@5_WU41LZ6A UUUO#:%)VRL#D)J\''H]GY C@6)*_W4(JBZ!!C@1^W#H2V%*, HAT
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   245
UJZ&)FM#XVF3,:>1+:<XFA X$)J8.K"8Y)8#'')90BW@IU5%YEAPT@ZN#(8*J"(*FG1<[[F1,EQTUS4=''S4.7R7E3\WD.K"8._''9>_''9>_)6]M)6]''SX6****
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   246
********-KR4-KR4-KP+J2,+J2,+J2,KSD0KSD1LE$EAPTEAPQYA"8.K"8.K"8-VU"(*U%ZBA XHBCP4''7]7.[.;T5M@PIY.[+B0RD !!HVH:N)*ZL8LGA7X5
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   247
MZB /D:PO2%)ZV-+%4\\-Q9IRQD"#X4;N36(P(RD!!KI\,+HNC 8NTUFT%IRT%@T-APV\''I2\-+Y4D!!HR_6!!(_1(ZF(][!!5.GM8$OC0=P_G0@@E ,VE"[&9&[
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   248
]WU5#8>O#8<0LC@0LC@0LG(9^''):^''):!!TMC!!XVE!!S2NOC0<#(8/K2</K2</K7%9^W%9^W%9+*:.+*:.+&U%YVU%YVU%YTUEAIVU$9MRT+*:^G MW55]LSF-
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   249
 XEUUS8>)ZU$#H1JR''I2GQ6X@0M*Z''5=JB &(P0LW%82L%)Z+HB@UER&)*Q#X6E!!,;N/,Z>/FA XFIJR.K"8.FZ^H9:^\@%0BU]YVQPTE@F#(:NJ"(*J!!!!<_
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   250
F61,[ATUET=OY4=K-4-1\7E1K"8.K''9>_''9>_'':]''SZ]''Y46M************+R4-KR4-KR4J2,+J2,+J2,+B41LB41LSAYAPTEAPTDVPX.K"8.K"8.KU%X*
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   251
J%YV  XFB@ 4MI=7];&;.5MSPDBV[&:0,D!!HHRE"N#*Z&#NCA0]6MSV (K1N$C<)ZV%+Z9]GGKT^RT$QH(6MN3,=*DJD!!HR2WE22C&A XAAQ)9RT%J\-KPT-
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   252
Q$YFQ''Q4]BT%IW=(ZF"+F*.GV5-[V8&IC0<OTG1<@G0,KB0,&Y&Y&8"H"H=MSX=MLA$YFS@YFQ$9NS$9NW):^$MCP4MC!!XVN##0<OH:NK2</K2</K2=9^W%9
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   253
^W%9^Z:.+*:.+*9%YVU%YVU%YVUEQPRU%YNST%J:.''!!8CU=]WSD1+XFAUUT>O*V%YH2LR$)2\!!4]&@LCZ&)=_R (I*DLCE9^L#IZV*2@ EQT)*Z$X6M!!X[N3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   254
+;F/,Q!!-[Q")*[!!&Y&Y&H2N^H7@IBP%YVU$A@PDA(:M;NC"JNA<_G1-,F1,WE1]''Y6]''-;]K\7M3\6<.K&<B@ HB@''8BM)46''Y6]M#Z************4-KR4
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   255
-KR4-B,+J2,+J2,+J0-LS@-LSD0VPTEAPTEAE$FK"8.K"8.K"5YVJ")VU(HFA  HMCR_]7^9.;-ST4A@%&9.,KAHRBD!!X#(:&)(3 0\G]#T5(JANS)BPJV%)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   256
Z6.W%10^G$%IH"JM#S,;OZ!!B!!HRD,%22, 8NC 9QTYRT%IRTAR4EAY2\''I26-''PRD!!I?ZF!!?F!!(Z!!5.GV8\7"P<OC5A<_@@@VB1XVI.[&Y-5]WVO#8>O#3@0
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   257
LC@0LC@0^#%:^''):^''*EP4NE!!XVEOH8<OC2N#"</K2</K2</^W%9^W%9^W&.+*:.+*:.YVU%YVU%YVU%QTTD%YVS$5IR.+)8^@5_WU41LZ6A UUUO#:%)VRL
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   258
#D)J\''H]GY C@6)*_W4(JBZ!!C@1^W#H2V%*, HATUJZ&)FM#XVF3,:>1+;DX[V4X*Z&8Y&Y&Y"L#''"M0BP$IVU%Y@PDA@ZN#^3 8"# _G1<[[A,[E1\WY6]''
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   259
Y;^7R7M3\7M/K"9/@ HB@ I>@#Z]M)6]''SX6************-KR4-KR4-KP+J2,+J2,+J2,KSD0KSD1LE$EAPTEAPQYA"8.K"8.K"8-VU"(*U%ZBA XHBCP4
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   260
''7]7.[.;T5M@PIY.[+B0RD !!HVH:N)*ZL8LGA7X5MZB S$:P$B%)ZV-+%9\\G!!9IRRH"#X4;N36(P(RD!!KI\,+HNC 8NTUFT%IRT%@T-APV\''I2\-+Y4D!!HR
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   261
_6!!(_1(ZF(][!!5.GM8$OC0=P_G0@@E ,VE"[&9&[]WU5#8>O#8<0LC@0LC@0LG(9^''):^''):!!TMC!!XVE!!S2NOC0<#(8/K2</K2</K7%9^W%9^W%9+*:.+*:.
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   262
+&U%YVU%YVU%YTUEAIVU$9MRT+*:^G MW55]LSF- XEUUS8>)ZU$#H1JR''I2GQ6X@0M*Z''5=JB &(P0LW%82L%)Z+HB@UER&)*Q#X6E!!,;N/,Z>1FF5-FJ&)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   263
.FY&Y&X#H98#\@$IBU%YVPDA@PF#(7,8NH(8G1<_F60[F1\WE6]''Y6^7-4-3\7M3[28.[0HB@ HB_ H6''SZ]''Y46M************+R4-KR4-KR4J2,+J2,+
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   264
J2,+B41LB41LSDEAPTEAPTEAPX.K"8.K"8.KU%YVJ%YV  XFB@ 4MI=7];&;.5MSPDBV[&:0,D!!HHRE"N#*Z&#NCA0]6MSV (D9N$I@)ZV%+Z9^WGA8^RT$"
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   265
H(6MN3,=*DJD!!HR2WKJ2C 8NC%EQ%IRT%IPEAPTE''I2\''KZ6-!!HRD''=?_7<ZF!!*G!!8^G!!3\7C5APT@@@@@AXVE!!X&9.[&7U5]X>O#8>OLC@0LC@0LCA:^''):
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   266
^''):^(VE!!XVE!!XT<##0<OH:NK2</K2</K2=9^W%9^W%9^Z:.+*:.+*9%YVU%YVU%YVUEQPRU%YNST%J:.''!!8CU=]WSD1+XFAUUT>O*V%YH2LR$)2\!!4]&@LC
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   267
Z&)=_R (I*DLCE9^L#IZV*2@ EQT)*Z$X6M!!X[N3+;F/,Q!!-[Q")*[!!&Y&Y&H2N^H7@IBP%YVU$A@PDA(:M;NC"JNA<_G1-,F1,WE1]''Y6]''-;]K\7M3\6<.
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   268
K&<B@ HB@''8BM)46''Y6]M#Z************4-KR4-KR4-B,+J2,+J2,+J0-LS@-LSD0VPTEAPTEAE$FK"8.K"8.K"5YVJ")VU(HFA  HMCR_]7^9.;-ST4A@
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   269
%&9.,KAHRBD!!X#(:&)(3 0\G]#T5(JB<S)@?JV%)Z6.WQ125G$%IDRJM#S,;OZ!!B!!HRD,%22, 8NC 9QTYRT%IRTAR4EAY2\''I26-''PRD!!I?ZF!!?F!!(Z!!5.G
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   270
V8\7"P<OC5A<_@@@VB1XVI.[&Y-5]WVO#8>O#3@0LC@0LC@0^#%:^''):^''*EP4NE!!XVEOH8<OC2N#"</K2</K2</^W%9^W%9^W&.+*:.+*:.YVU%YVU%YVU%
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   271
QTTD%YVS$5IR.+)8^@5_WU41LZ6A UUUO#:%)VRL#D)J\''H]GY C@6)*_W4(JBZ!!C@1^W#H2V%*, HATUJZ&)FM#XVF3,:>1+;DX[V4X*Z&8Y&Y&Y"L#''"M0
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   272
BP$IVU%Y@PDA@ZN#^3 8"# _G1<[[A,[E1\WY6]''Y;^7R7M3\7M/K"9/@ HB@ I>@#Z]M)6]''SX6************-KR4-KR4-KP+J2,+J2,+J2,KSD0KSD1L
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   273
E$EAPTEAPQYA"8.K"8.K"8-VU"(*U%ZBA XHBCP4''7]7.[.;T5M@PIY.[+B0RD !!HVH:N)*ZL8LGA7X5MZB S$:P$B%)ZV-+%9\\G!!9IRRH"#X4;N36(P(RD
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   274
!!KI\,+HNC 8NTUFT%IRT%@T-APV\''I2\-+Y4D!!HR_6!!(_1(ZF(][!!5.GM8$OC0=P_G0@@E ,VE"[&9&[]WU5#8>O#8<0LC@0LC@0LG(9^''):^''):!!TMC!!XVE
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   275
!!S2NOC0<#(8/K2</K2</K7%9^W%9^W%9+*:.+*:.+&U%YVU%YVU%YTUEAIVU$9MRT+*:^G MW55]LSF- XEUUS8>)ZU$#H1JR''I2GQ6X@0M*Z''5=JB &(P0L
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   276
W%82L%)Z+HB@UER&)*Q#X6E!!,;N/,[F1[V5-[Z&)Y&Y&Y&X#H2L#BP$IBU%YVPDA@PE;^7,8NC 8G1<_F1,[F1\WE6]''Y6^7-;]3\7M3[6=/[0HB@ HB@ H6
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   277
M#Z]''Y46M************+R4-KR4-KR4J2,+J2,+J2,+B41LB41LSDEAPTEAPTEAPX.K"8.K"8.KU%YVJ%YV  XFB@ 4MI=7];&;.5MSPDBV[&:0,D!!HHRE"
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   278
N#*Z&#NCA0]6MSV (K1N$C<)ZV%+Z9]GGKT^RT$QH(6MN3,=*DJD!!HR2WKJ2C 8NC%EQ%IRT%IPEKPTE''I2\''KZ6]AHRD''=(ZG<ZF!!*GV8][!!3^IC0<OTG1<
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   279
@@AXKE!!X&9.Y&7U5]X>O#8>OLC@0LC@0LCA:NW):^''):^(UCP8VE!!XT<##0<OH:NK2</K2</K2=9^W%9^W%9^Z:.+*:.+*9%YVU%YVU%YVUEQPRU%YNST%J:
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   280
.''!!8CU=]WSD1+XFAUUT>O*V%YH2LR$)2\!!4]&@LCZ&)=_R (I*DLCE9^L#IZV*2@ EQT)*Z$X6M!!X[N3+;F/+1 XFA"R$+"8.K!!&''"N^''''@I\@%WVU$TEAPA
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   281
(:N#"(*J"(X_G1-,[F0UEQUOS6]OR;]K\WM1\R8.K"9>_''9>_''9>''Y46''Y6]M#Z************4-KR4-KR4-B,+J2,+J2,+J0-LS@-LSD0VPTEAPTEAE$FK
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   282
"8.K"8.K"5YVJ")VU(HFA  HMCR_]7^9.;-ST4A@%&9.,KAHRBD!!X#(:&)(3 0\G]#T5(JANS)BPJV%)Z6.W%10^G$%IH"JM#S,;OZ!!B!!HRD,%22, 8NC 9Q
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   283
TYRT%IRTAPTEAY2\''I26-+XRD!!I?_7=?F!!(Z!!8^G!!8\7M0=PTE@@@@@@VE!!XVI.[&9-5]WVO#8>O#3@0LC@0LC@0^''):^''):^''*E!!XVE!!XVEOH8<OC2N#"</
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   284
K2</K2</^W%9^W%9^W&.+*:.+*:.YVU%YVU%YVU%QTTD%YVS$5IR.+)8^@5_WU41LZ6A UUUO#:%)VRL#D)J\''H]GY C@6)*_W4(JBZ!!C@1^W#H2V%*, HAT
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   285
UJZ&)FM#XVF3,:>1+;DX[V4X*Z&8Y&Y&Y"L#''"M0BP$IVU%Y@PDA@ZN#^3 8"# _G1<[[A,[E1\WY6]''Y;^7R7M3\7M/K"9/@ HB@ I>@#Z]M)6]''SX6****
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   286
********-KR4-KR4-KP+J2,+J2,+J2,KSD0KSD1LPTEAPTEAPTEA"8.K"8.K"8-VU%X*U%ZBA XHBCP4''7]7.[.;T5M@PIY.[+B0RD !!HVH:N)*ZL8LGA7X5
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   287
MZB /D:PO2%)ZV-+%4\\-Q9IRQD"#X4;N36(P(RD!!KI\,+HNC 8NTUFT%IRT%@T-APV\''I2\-+Y4D!!HR_6!!(_1(ZF(][!!5.GM8$OC0=P_G0@@E ,VE"[&9&[
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   288
]WU5#8>O#8<0LC@0LC@0LG(9^''):^''):!!TMC!!XVE!!S2NOC0<#(8/K2</K2</K7%9^W%9^W%9+*:.+*:.+&U%YVU%YVU%YTUEAIVU$9MRT+*:^G MW55]LSF-
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   289
 XEUUS8>)ZU$#H1JR''I2GQ6X@0M*Z''5=JB &(P0LW%82L%)Z+HB@UER&)*Q#X6E!!,;N/,Z>/FA XFIJR.K"8.FZ^H9:^\@%0BU]YVQPTE@F#(:NJ"(*J!!!!<_
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   290
F61,[ATUET=OY4=K-4-1\7E1K"8.K''9>_''9>_'':]''SZ]''Y46M************+R4-KR4-KR4J2,+J2,+J2,+B41LB41LSAYAPTEAPTDVPX.K"8.K"8.KU%X*
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   291
J%YV  XFB@ 4MI=7];&;.5MSPDBV[&:0,D!!HHRE"N#*Z&#NCA0]6MSV (K1N$C<)ZV%+Z9]GGKT^RT$QH(6MN3,=*DJD!!HR2WKJ2C 8NC%EQ%IRT%IPEAPTE
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   292
''I2\''KZ6-!!HRD''=?_7<ZF!!*G!!8^G!!3\7C5APT@@@@@AXVE!!X&9.[&7U5]X>O#8>OLC@0LC@0LCA:^''):^''):^(VE!!XVE!!XT<##0<OH:NK2</K2</K2=9^W%9
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   293
^W%9^Z:.+*:.+*9%YVU%YVU%YVUEQPRU%YNST%J:.''!!8CU=]WSD1+XFAUUT>O*V%YH2LR$)2\!!4]&@LCZ&)=_R (I*DLCE9^L#IZV*2@ EQT)*Z$X6M!!X[N3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   294
+;F/,Q!!-[Q")*[!!&Y&Y&H2N^H7@IBP%YVU$A@PDA(:M;NC"JNA<_G1-,F1,WE1]''Y6]''-;]K\7M3\6<.K&<B@ HB@''8BM)46''Y6]M#Z************4-KR4
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   295
-KR4-B,+J2,+J2,+J0-LS@-LSD0VPTEAPTEAE$FK"8.K"8.K"5YVJ%YVU(HFA  HMCR_]7^9.;-ST4A@%&9.,KAHRBD!!X#(:&)(3 0\G]#T5(JB<S)@?JV%)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   296
Z6.WQ125G$%IDRJM#S,;OZ!!B!!HRD,%22, 8NC 9QTYRT%IRTAR4EAY2\''I26-''PRD!!I?ZF!!?F!!(Z!!5.GV8\7"P<OC5A<_@@@VB1XVI.[&Y-5]WVO#8>O#3@0
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   297
LC@0LC@0^#%:^''):^''*EP4NE!!XVEOH8<OC2N#"</K2</K2</^W%9^W%9^W&.+*:.+*:.YVU%YVU%YVU%QTTD%YVS$5IR.+)8^@5_WU41LZ6A UUUO#:%)VRL
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   298
#D)J\''H]GY C@6)*_W4(JBZ!!C@1^W#H2V%*, HATUJZ&)FM#XVF3,:>1,[E-[V5-*Z%&Y&Y&Y"L#H2LIBP$IVU%Y@PDA@W-;^3 8NC _G1<[F1,[E1\WY6]''
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   299
Y;^7-7M3\7M/[6=/@ HB@ HB@#X6M)6]''SX6************-KR4-KR4-KP+J2,+J2,+J2,KSD0KSD1LE$EAPTEAPQYA"8.K"8.K"8-VU"(*U%ZBA XHBCP4
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   300
''7]7.[.;T5M@PIY.[+B0RD !!HVH:N)*ZL8LGA7X5MZB /D:PO2%)ZV-+%4\\-Q9IRQD"#X4;N36(P(RD!!KI\WKHNXFA DEF''%IRT)24-AR5FQ$YF]GQ4IRT%
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   301
_6!!(ZJ,Z*8][V5-["X$OC0=P_G0@_B0,KB2Y&Y&["H"H#45M#440FQ$YLA$YFS$9NS$9^''):P4MCP4NE!!X:NOC0<#(8/K2</K2</K7%9^W%9^W%9+*:.+*:.
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   302
+&U%YVU%YVU%YTUEAIVU$9MRT+*:^G MW55]LSF- XEUUS8>)ZU$#H1JR''I2GQ6X@0M*Z''5=JB &(P0LW%82L%)Z+HB@UER&)*Q#X6E!!,;N/,Z>1FF5-FJ&)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   303
.FY&Y&X#H98#\@$IBU%YVPDA@PF#(7,8NH(8G1<_F60[F1\WE6]''Y6^7-4-3\7M3[28.[0HB@ HB_ H6''SZ]''Y46M************+R4-KR4-KR4J2,+J2,+
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   304
J2,+B41LB0,KB1YAE!!YAE!!XVE(, HB@ HB@ J"(*J%YV  XFB@ 4MI=7];&;.5MSPDBV[&:0,D!!HHRE"N#*Z&#NCA0]6MSV (K1N$C<)ZV%+Z9]GGKT^RT$Q
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   305
H(6MN3,=*DJD!!HR2WKJ2C 8NC%EQ%IRT%IPEKPTE''I2\''KZ6]AHRD''=(ZG<ZF!!*GV8][!!3^IC0<OTG1<@@AXKE!!X&9.Y&7U5]X>O#8>OLC@0LC@0LCA:NW):
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   306
^''):^(UCP8VE!!XT<##0<OH:NK2</K2</K2=9^W%9^W%9^Z:.+*:.+*9%YVU%YVU%YVUEQPRU%YNST%J:.''!!8CU=]WSD1+XFAUUT>O*V%YH2LR$)2\!!4]&@LC
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   307
Z&)=_R (I*DLCE9^L#IZV*2@ EQT)*Z$X6M!!X[N3+;F/,Q!!-[Q")*[!!&Y&Y&H2N^H7@IBP%YVU$A@PDA(:M;NC"JNA<_G1-,F1,WE1]''Y6]''-;]K\7M3\6<.
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   308
K&<B@ HB@''8BM)46''Y6]M#Z************4-KR4-KR4-B,+J2,+J2,+J0-LS@-LSD0VPTEAPTEAE$FK"8.K"8.K"5YVJ")VU(HFA  HMCR_]7^9.;-ST4A@
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   309
%&9.,KAHRBD!!X#(:&)(3 0\G]#T5(JB<S)@?JV%)Z6.WQ125G$%IDRJM#S,;OZ!!B!!HRD,%22, 8NC 9QTYRT%IRTAR4EAY2\''I26-''PRD!!I?ZF!!?F!!(Z!!5.G
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   310
V8\7"P<OC5A<_@@@VB1XVI.[&Y-5]WVO#8>O#3@0LC@0LC@0^#%:^''):^''*EP4NE!!XVEOH8<OC2N#"</K2</K2</^W%9^W%9^W&.+*:.+*:.YVU%YVU%YVU%
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   311
QTTD%YVS$5IR.+)8^@5_WU41LZ6A UUUO#:%)VRL#D)J\''H]GY C@6)*_W4(JBZ!!C@1^W#H2V%*, HATUJZ&)FM#XVF3,:>1+;DX[V4X*Z&8Y&Y&Y"L#''"M0
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   312
BP$IVU%Y@PDA@ZN#^3 8"# _G1<[[A,[E1\WY6]''Y;^7R7M3\7M/K"9/@ HB@ I>@#Z]M)6]''SX6************-KR4-KR4-KP+J2,+J2,+J2,KSD0KSD1L
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   313
E$EAPTEAPQYA"8.K"8.K"8-VU"(SU%ZBA XHBCP4''7]7.[.;T5M@PIY.[+B0RD !!HVH:N)*ZL8LGA7X5MZB /D:PO2%)ZV-+%4\\-Q9IRQD"#X4;N36(P(RD
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   314
!!KI\,+HNC 8NTUFT%IRT%@T-APV\''I2\-+Y4D!!HR_6!!(_1(ZF(][!!5.GM8$OC0=P_G0@@E ,VE"[&9&[]WU5#8>O#8<0LC@0LC@0LG(9^''):^''):!!TMC!!XVE
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   315
!!S2NOC0<#(8/K2</K2</K7%9^W%9^W%9+*:.+*:.+&U%YVU%YVU%YTUEAIVU$9MRT+*:^G MW55]LSF- XEUUS8>)ZU$#H1JR''I2GQ6X@0M*Z''5=JB &(P0L
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   316
W%82L%)Z+HB@UER&)*Q#X6E!!,;N/,Z>1FF5-FJ&).FY&Y&X#H98#\@$IBU%YVPDA@PF#(7,8NH(8G1<_F60[F1\WE6]''Y6^7-4-3\7M3[28.[0HB@ HB_ H6
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   317
''SZ]''Y46M************+R4-KR4-KR4J2,+J2,+J2,+B41LB41LSDEAPTEAPTEAPX.K"8.K"8.KU%YVD5YV  XFB@ 4MI=7];&;.5MSPDBV[&:0,D!!HHRE"
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   318
N#*Z&#NCA0]6(*H''I;2<O3<)ZV%DZ4]GB+V5IBPQH)FQN3,=*DJD!!HR2WE22C&A XAAQ)9RT%J\-KPT-Q$YFQ''Q4]BT%IW=(ZF"+F*.GV5-[V8&IC0<OTG1<
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   319
@G0,KB0,&Y&Y&8"H"H=MSX=MLA$YFS@YFQ$9NS$9NW):^$MCP4MC!!XVN##0<OH:NK2</K2</K2=9^W%9^W%9^Z:.+*:.+*9%YVU%YVU%YVUEQPRU%YNST%J:
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   320
.''!!8CU=]WSD1+XFAUUT>O*V%YH2LR$)2\!!4]&@LCZ&)=_R (I*DLCE9^L#IZV*2@ EQT)*Z$X6M!!X[N3+;F/,Q!!-[Q")*[!!&Y&Y&H2N^H7@IBP%YVU$A@PDA
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   321
(:M;NC"JNA<_G1-,F1,WE1]''Y6]''-;]K\7M3\6<.K&<B@ HB@''8BM)46''Y6]M#Z************4-KR4-KR4-B,+J2,+J2,+J0-LS@,KB0,VPQXVPQXVE!!ZK
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   322
HB@ HB@ HB(*J!!MVU(HFA  HMCR_]7^9.;-ST4A@%&9.,KAHRBD!!X#(:&)(3 0\G]#T5(JB<S)@?JV%)Z6.WQ125G$%IDRJM#S,;OZ!!B!!HRD,%22, 8NC 9Q
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   323
TYRT%IRTAR4EAY2\''I26-''PRD!!I?ZF!!?F!!(Z!!5.GV8\7"P<OC5A<_@@@VB1XVI.[&Y-5]WVO#8>O#3@0LC@0LC@0^#%:^''):^''*EP4NE!!XVEOH8<OC2N#"</
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   324
K2</K2</^W%9^W%9^W&.+*:.+*:.YVU%YVU%YVU%QTTD%YVS$5IR.+)8^@5_WU41LZ6A UUUO#:%)VRL#D)J\''H]GY C@6)*_W4(JBZ!!C@1^W#H2V%*, HAT
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   325
UJZ&)FM#XVF3,:>1,[E-[V5-*Z%&Y&Y&Y"L#H2LIBP$IVU%Y@PDA@W-;^3 8NC _G1<[F1,[E1\WY6]''Y;^7-7M3\7M/[6=/@ HB@ HB@#X6M)6]''SX6****
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   326
********-KR4-KR4-KP+J2,+J2,+J2,KSD0KSD1LPTEAPTEAPTEA"8.K"8.K"8-VU%X*U%ZBA XHBCP4''7]7.[.;T5M@PIY.[+B0RD !!HVH:N)*ZL8LGA7X5
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   327
MZB /D:PO2%)ZV-+%4\\-Q9IRQD"#X4;N36(P(RD!!KI\,+HNC 8NTUFT%IRT%@T-APV\''I2\-+Y4D!!HR_6!!(_1(ZF(][!!5.GM8$OC0=P_G0@@E ,VE"[&9&[
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   328
]WU5#8>O#8<0LC@0LC@0LG(9^''):^''):!!TMC!!XVE!!S2NOC0<#(8/K2</K2</K7%9^W%9^W%9+*:.+*:.+&U%YVU%YVU%YTUEAIVU$9MRT+*:^G MW55]LSF-
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   329
 XEUUS8>)ZU$#H1JR''I2GQ6X@0M*Z''5=JB &(P0LW%82L%)Z+HB@UER&)*Q#X6E!!,;N/,Z>1FF5-FJ&).FY&Y&X#H98#\@$IBU%YVPDA@PF#(7,8NH(8G1<_
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   330
F60[F1\WE6]''Y6^7-4-3\7M3[28.[0HB@ HB_ H6''SZ]''Y46M************+R4-KR4-KR4J2,+J2,+J2,+B41LB41LSAYAPTEAPTDVPX.K"8.K"8.KU%X*
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   331
J%YV  XFB@ 4MI=7];&;.5MSPDBV[&:0,D!!HHRE"N#*Z&#NCA0]6MSV (D9N$I@)ZV%+Z9^WGA8^RT$"H(6MN3,=*DJD!!HR2WKJ2C 8NC%EQ%IRT%IPEKPTE
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   332
''I2\''KZ6]AHRD''=(ZG<ZF!!*GV8][!!3^IC0<OTG1<@@AXKE!!X&9.Y&7U5]X>O#8>OLC@0LC@0LCA:NW):^''):^(UCP8VE!!XT<##0<OH:NK2</K2</K2=9^W%9
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   333
^W%9^Z:.+*:.+*9%YVU%YVU%YVUEQPRU%YNST%J:.''!!8CU=]WSD1+XFAUUT>O*V%YH2LR$)2\!!4]&@LCZ&)=_R (I*DLCE9^L#IZV*2@ EQT)*Z$X6M!!X[N3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   334
+;F/,Q!!-[Q")*[!!&Y&Y&H2N^H7@IBP%YVU$A@PDA(:M;NC"JNA<_G1-,F1,WE1]''Y6]''-;]K\7M3\6<.K&<B@ HB@''8BM)46''Y6]M#Z************4-KR4
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   335
-KR4-B,+J2,+J2,+J0-LS@-LSD0VPTEAPTEAE$FK"8.K"8.K"5YVJ%YVU(HFA  HMCR_]7^9.;-ST4A@%&9.,KAHRBD!!X#(:&)(3 0\G]#T5(JB<S)@?JV%)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   336
Z6.WQ125G$%IDRJM#S,;OZ!!B!!HRD,%22, 8NC 9QTYRT%IRTAPTEAY2\''I26-+XRD!!I?_7=?F!!(Z!!8^G!!8\7M0=PTE@@@@@@VE!!XVI.[&9-5]WVO#8>O#3@0
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   337
LC@0LC@0^''):^''):^''*E!!XVE!!XVEOH8<OC2N#"</K2</K2</^W%9^W%9^W&.+*:.+*:.YVU%YVU%YVU%QTTD%YVS$5IR.+)8^@5_WU41LZ6A UUUO#:%)VRL
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   338
#D)J\''H]GY C@6)*_W4(JBZ!!C@1^W#H2V%*, HATUJZ&)FM#XVF3,:>1,[E-[V5-*Z%&Y&Y&Y"L#H2LIBP$IVU%Y@PDA@W-;^3 8NC _G1<[F1,[E1\WY6]''
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   339
Y;^7-7M3\7M/[6=/@ HB@ HB@#X6M)6]''SX6************-KR4-KR4-KP+J2,+J2,+J2,KSD0KSD1LPTEAPTEAPTEA"8.K"8.K"8-VU%ZBU%ZBA XHBCP4
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   340
''7]7.[.;T5M@PIY.[+B0RD !!HVH:N)*ZL8LGA7X5MZB /D:PO2%)ZV-+%4\\-Q9IRQD"#X4;N36(P(RD!!KI\WKHNXFA DEF''%IRT)24EAR5FQ$YF]GR6IRT%
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   341
_7=?ZJ,Z*8^GV8]["S\OTEAP@@@@_B1XKB2Y&Y.["H"H#45M#440FQ$YLA$YFS%:NS$9^''):P8VEP4NE!!X:NOC0<#(8/K2</K2</K7%9^W%9^W%9+*:.+*:.
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   342
+&U%YVU%YVU%YTUEAIVU$9MRT+*:^G MW55]LSF- XEUUS8>)ZU$#H1JR''I2GQ6X@0M*Z''5=JB &(P0LW%82L%)Z+HB@UER&)*Q#X6E!!,;N/,Z>1FF5-FJ&)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   343
.FY&Y&X#H98#\@$IBU%YVPDA@PF#(7,8NH(8G1<_F60[F1\WE6]''Y6^7-4-3\7M3[28.[0HB@ HB_ H6''SZ]''Y46M************+R4-KR4-KR4J2,+J2,+
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   344
J2,+B41LB0,KB1YAE!!YAE!!XVE(, HB@ HB@ J"(*A%YV  XFB@ 4MI=7];&;.5MSPDBV[&:0,D!!HHRE"N#*Z&#NCA0]6MSV (K1N$C<)ZV%+Z9]GGKT^RT$Q
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   345
H(6MN3,=*DJD!!HR2WKJ2C 8NC%EQ%IRT%IPEAPTE''I2\''KZ6-!!HRD''=?_7<ZF!!*G!!8^G!!3\7C5APT@@@@@AXVE!!X&9.[&7U5]X>O#8>OLC@0LC@0LCA:^''):
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   346
^''):^(VE!!XVE!!XT<##0<OH:NK2</K2</K2=9^W%9^W%9^Z:.+*:.+*9%YVU%YVU%YVUEQPRU%YNST%J:.''!!8CU=]WSD1+XFAUUT>O*V%YH2LR$)2\!!4]&@LC
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   347
Z&)=_R (I*DLCE9^L#IZV*2@ EQT)*Z$X6M!!X[N3+;F/,Q!!-[Q")*[!!&Y&Y&H2N^H7@IBP%YVU$A@PDA(:M;NC"JNA<_G1-,F1,WE1]''Y6]''-;]K\7M3\6<.
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   348
K&<B@ HB@''8BM)46''Y6]M#Z************4-KR4-KR4-B,+J2,+J2,+J0-LS@-LSD0VPTEAPTEAE$FK"8.K"8.K"5YVJ#QVU(HFA  HMCR_]7^9.;-ST4A@
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   349
%&9.,KAHRBD!!X#(:&)(3 0\G]*J"I2^</C<?JV%)QF-GQ0*5-RP$DRJQ$S,;OZ!!B!!HRD,%22, 8NC 9QTYRT%IRTAR4EAY2\''I26-''PRD!!I?ZF!!?F!!(Z!!5.G
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   350
V8\7"P<OC5A<_@@@VB1XVI.[&Y-5]WVO#8>O#3@0LC@0LC@0^#%:^''):^''*EP4NE!!XVEOH8<OC2N#"</K2</K2</^W%9^W%9^W&.+*:.+*:.YVU%YVU%YVU%
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   351
QTTD%YVS$5IR.+)8^@5_WU41LZ6A UUUO#:%)VRL#D)J\''H]GY C@6)*_W4(JBZ!!C@1^W#H2V%*, HATUJZ&)FM#XVF3,:>1+;DX[V4X*Z&8Y&Y&Y"L#''"M0
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   352
BP$IVU%Y@PDA@ZN#^3 8"# _G1<[[A,[E1\WY6]''Y;^7R7M3\7M/K"9/@ HB@ I>@#Z]M)6]''SX6************-KR4-KR4-KP+J2,+J2,+J2,KSD0KB0,K
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   353
E$DVE$DVE!!XV"2@ HB@ HB@*J"(b') ; colorMapFromArray:#[108 168 80 124 90 170 164 90 170 92 122 170 92 164 170 144 168 80 164 96 90 168 132 80 164 98 90 116 90 170 164 152 80 164 90 120 92 110 170 92 152 170 156 168 80 112 166 80 152 166 80 164 158 80 132 168 80 164 88 90 124 88 170 144 88 170 164 90 110 144 90 170 100 88 170 92 166 90 124 168 80 140 90 170 168 152 80 92 126 170 168 154 80 136 90 170 164 90 100 164 122 90 168 158 80 112 90 170 164 156 80 132 166 80 92 114 170 164 138 80 92 116 170 168 144 80 164 90 90 164 90 130 104 166 80 144 166 80 160 88 170 92 166 130 92 168 90 92 146 170 92 106 170 164 130 80 164 100 90 168 136 80 164 90 160 116 168 80 132 90 170 92 166 100 164 126 90 168 162 80 92 168 120 168 164 80 92 138 170 164 142 80 164 112 90 164 92 110 164 166 80 92 166 110 164 148 80 92 166 170 140 166 80 164 150 80 164 120 90 168 156 80 92 130 170 152 88 170 164 92 120 92 166 80 168 140 80 148 88 170 112 168 80 152 168 80 92 158 170 164 110 90 92 98 170 92 140 170 164 92 90 120 88 170 104 168 80 120 90 170 92 104 170 120 166 80 160 166 80 92 148 170 92 108 170 92 150 170 156 166 80 92 90 170 164 124 90 92 92 170 92 134 170 92 166 160 108 90 170 148 90 170 128 166 80 168 146 80 92 120 170 168 148 80 140 88 170 100 90 170 164 116 90 160 90 170 116 88 170 156 88 170 92 128 170 156 90 170 136 166 80 96 168 80 164 134 80 164 104 90 92 154 170 92 166 140 92 168 100 128 90 170 108 166 80 92 118 170 164 88 170 128 168 80 92 100 170 92 142 170 164 94 90 168 130 80 164 168 80 92 168 110 136 88 170 120 168 80 96 166 80 116 166 80 132 88 170 164 92 100 92 132 170 168 160 80 92 166 120 92 168 80 168 142 80 164 160 80 104 88 170 92 160 170 148 168 80 92 162 170 164 114 90 168 150 80 92 124 170 100 166 80 164 128 80 100 168 80 140 168 80 164 88 160 112 88 170 164 102 90 168 138 80 92 112 170 164 136 80 128 88 170 92 94 170 92 136 170 92 96 170 148 166 80 168 166 80 104 90 170 164 90 150 124 166 80 92 102 170 92 144 170 92 166 150 96 88 170 164 118 90 96 90 170 160 168 80 92 88 170 164 90 140 164 154 80 136 168 80 152 90 170 108 88 170 164 106 90 92 156 170 164 108 90 164 140 80]; yourself]
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   354
!
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   355
2266
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
   356
pickColorIcon
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
   357
    ^ ToolbarIconLibrary pipette16x16Icon
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
   358
! !
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
   359
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   360
!ColorEditDialog class methodsFor:'interface specs'!
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   361
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   362
windowSpec
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   363
    "This resource specification was automatically generated
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   364
     by the UIPainter of ST/X."
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   365
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   366
    "Do not manually edit this!! If it is corrupted,
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   367
     the UIPainter may not be able to read the specification."
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   368
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   369
    "
2224
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
   370
     UIPainter new openOnClass:ColorEditDialog andSelector:#windowSpec
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
   371
     ColorEditDialog new openInterface:#windowSpec
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
   372
     ColorEditDialog open
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   373
    "
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   374
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   375
    <resource: #canvas>
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   376
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   377
    ^ 
3175
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   378
    #(FullSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   379
       name: windowSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   380
       window: 
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   381
      (WindowSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   382
         label: 'Define Color'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   383
         name: 'Define Color'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   384
         min: (Point 440 360)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   385
         bounds: (Rectangle 0 0 440 360)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   386
       )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   387
       component: 
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   388
      (SpecCollection
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   389
         collection: (
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   390
          (VerticalPanelViewSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   391
             name: 'RGBLabelPanel'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   392
             layout: (LayoutFrame 0 0 0 0 90 0 76 0)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   393
             horizontalLayout: fit
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   394
             verticalLayout: spreadSpace
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   395
             horizontalSpace: 3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   396
             verticalSpace: 3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   397
             component: 
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   398
            (SpecCollection
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   399
               collection: (
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   400
                (LabelSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   401
                   label: 'Red:'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   402
                   name: 'RedLabel'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   403
                   translateLabel: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   404
                   adjust: right
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   405
                   useDefaultExtent: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   406
                 )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   407
                (LabelSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   408
                   label: 'Green:'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   409
                   name: 'GreenLabel'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   410
                   translateLabel: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   411
                   adjust: right
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   412
                   useDefaultExtent: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   413
                 )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   414
                (LabelSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   415
                   label: 'Blue:'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   416
                   name: 'BlueLabel'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   417
                   translateLabel: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   418
                   adjust: right
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   419
                   useDefaultExtent: true
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   420
                 )
3175
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   421
                )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   422
              
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   423
             )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   424
           )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   425
          (VerticalPanelViewSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   426
             name: 'RGBSliderPanel'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   427
             layout: (LayoutFrame 90 0 0 0 -177 1 76 0)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   428
             horizontalLayout: fit
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   429
             verticalLayout: spreadSpace
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   430
             horizontalSpace: 3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   431
             verticalSpace: 3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   432
             component: 
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   433
            (SpecCollection
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   434
               collection: (
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   435
                (SliderSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   436
                   name: 'RedSlider'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   437
                   tabable: false
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   438
                   model: red
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   439
                   orientation: horizontal
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   440
                   stop: 255
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   441
                   step: 1
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   442
                   backgroundColor: (Color 100.0 0.0 0.0)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   443
                   extent: (Point 173 16)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   444
                 )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   445
                (SliderSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   446
                   name: 'GreenSlider'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   447
                   tabable: false
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   448
                   model: green
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   449
                   orientation: horizontal
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   450
                   stop: 255
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   451
                   step: 1
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   452
                   backgroundColor: (Color 0.0 100.0 0.0)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   453
                   extent: (Point 173 16)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   454
                 )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   455
                (SliderSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   456
                   name: 'BlueSlider'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   457
                   tabable: false
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   458
                   model: blue
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   459
                   orientation: horizontal
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   460
                   stop: 255
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   461
                   step: 1
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   462
                   backgroundColor: (Color 0.0 0.0 100.0)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   463
                   extent: (Point 173 16)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   464
                 )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   465
                )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   466
              
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   467
             )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   468
           )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   469
          (VerticalPanelViewSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   470
             name: 'RGBFieldPanel'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   471
             layout: (LayoutFrame -173 1 0 0 -130 1 76 0)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   472
             horizontalLayout: fit
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   473
             verticalLayout: spreadSpace
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   474
             horizontalSpace: 3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   475
             verticalSpace: 3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   476
             component: 
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   477
            (SpecCollection
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   478
               collection: (
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   479
                (InputFieldSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   480
                   name: 'RedField'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   481
                   model: red
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   482
                   type: numberInRange
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   483
                   numChars: 3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   484
                   minValue: 0
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   485
                   maxValue: 255
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   486
                   acceptOnPointerLeave: false
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   487
                   extent: (Point 41 20)
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   488
                 )
3175
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   489
                (InputFieldSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   490
                   name: 'GreenField'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   491
                   model: green
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   492
                   type: numberInRange
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   493
                   numChars: 3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   494
                   minValue: 0
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   495
                   maxValue: 255
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   496
                   acceptOnPointerLeave: false
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   497
                   extent: (Point 41 20)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   498
                 )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   499
                (InputFieldSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   500
                   name: 'BlueField'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   501
                   model: blue
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   502
                   type: numberInRange
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   503
                   numChars: 3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   504
                   minValue: 0
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   505
                   maxValue: 255
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   506
                   acceptOnPointerLeave: false
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   507
                   extent: (Point 41 20)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   508
                 )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   509
                )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   510
              
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   511
             )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   512
           )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   513
          (VerticalPanelViewSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   514
             name: 'RGBFieldPanelHex'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   515
             layout: (LayoutFrame -130 1 0 0 -100 1 76 0)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   516
             horizontalLayout: fit
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   517
             verticalLayout: spreadSpace
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   518
             horizontalSpace: 3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   519
             verticalSpace: 3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   520
             component: 
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   521
            (SpecCollection
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   522
               collection: (
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   523
                (InputFieldSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   524
                   name: 'EntryField4'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   525
                   model: red
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   526
                   type: hexIntegerInRange
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   527
                   numChars: 3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   528
                   minValue: 0
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   529
                   maxValue: 255
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   530
                   acceptOnPointerLeave: false
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   531
                   extent: (Point 28 20)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   532
                 )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   533
                (InputFieldSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   534
                   name: 'EntryField5'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   535
                   model: green
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   536
                   type: hexIntegerInRange
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   537
                   numChars: 3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   538
                   minValue: 0
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   539
                   maxValue: 255
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   540
                   acceptOnPointerLeave: false
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   541
                   extent: (Point 28 20)
2224
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
   542
                 )
3175
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   543
                (InputFieldSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   544
                   name: 'EntryField6'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   545
                   model: blue
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   546
                   type: hexIntegerInRange
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   547
                   numChars: 3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   548
                   minValue: 0
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   549
                   maxValue: 255
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   550
                   acceptOnPointerLeave: false
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   551
                   extent: (Point 28 20)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   552
                 )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   553
                )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   554
              
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   555
             )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   556
           )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   557
          (VerticalPanelViewSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   558
             name: 'HLSLabelPanel'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   559
             layout: (LayoutFrame 0 0 86 0 90 0 163 0)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   560
             horizontalLayout: fit
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   561
             verticalLayout: spreadSpace
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   562
             horizontalSpace: 3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   563
             verticalSpace: 3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   564
             component: 
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   565
            (SpecCollection
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   566
               collection: (
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   567
                (LabelSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   568
                   label: 'Hue:'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   569
                   name: 'Label1'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   570
                   translateLabel: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   571
                   adjust: right
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   572
                   useDefaultExtent: true
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   573
                 )
3175
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   574
                (LabelSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   575
                   label: 'Light:'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   576
                   name: 'Label2'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   577
                   translateLabel: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   578
                   adjust: right
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   579
                   useDefaultExtent: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   580
                 )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   581
                (LabelSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   582
                   label: 'Saturation:'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   583
                   name: 'Label3'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   584
                   translateLabel: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   585
                   adjust: right
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   586
                   useDefaultExtent: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   587
                 )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   588
                )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   589
              
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   590
             )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   591
           )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   592
          (VerticalPanelViewSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   593
             name: 'HLSSliderPanel'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   594
             layout: (LayoutFrame 90 0 86 0 -177 1 163 0)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   595
             horizontalLayout: fit
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   596
             verticalLayout: spreadSpace
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   597
             horizontalSpace: 3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   598
             verticalSpace: 3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   599
             component: 
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   600
            (SpecCollection
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   601
               collection: (
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   602
                (SliderSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   603
                   name: 'HueSlider'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   604
                   tabable: false
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   605
                   model: hue
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   606
                   orientation: horizontal
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   607
                   stop: 359
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   608
                   step: 1
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   609
                   keyboardStep: 1
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   610
                   extent: (Point 173 16)
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   611
                 )
3175
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   612
                (SliderSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   613
                   name: 'LightSlider'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   614
                   tabable: false
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   615
                   model: light
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   616
                   orientation: horizontal
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   617
                   step: 1
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   618
                   backgroundColor: (Color 67.0 67.0 67.0)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   619
                   keyboardStep: 1
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   620
                   extent: (Point 173 16)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   621
                 )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   622
                (SliderSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   623
                   name: 'SaturationSlider'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   624
                   tabable: false
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   625
                   model: saturation
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   626
                   orientation: horizontal
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   627
                   step: 1
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   628
                   backgroundColor: (Color 67.0 67.0 67.0)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   629
                   keyboardStep: 1
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   630
                   extent: (Point 173 16)
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   631
                 )
3175
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   632
                )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   633
              
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   634
             )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   635
           )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   636
          (VerticalPanelViewSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   637
             name: 'HLSFieldPanel'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   638
             layout: (LayoutFrame -173 1 86 0 -130 1 163 0)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   639
             horizontalLayout: fit
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   640
             verticalLayout: spreadSpace
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   641
             horizontalSpace: 3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   642
             verticalSpace: 3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   643
             component: 
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   644
            (SpecCollection
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   645
               collection: (
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   646
                (InputFieldSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   647
                   name: 'EntryField1'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   648
                   model: hue
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   649
                   type: numberInRange
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   650
                   numChars: 3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   651
                   minValue: 0
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   652
                   maxValue: 359
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   653
                   acceptOnPointerLeave: false
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   654
                   extent: (Point 41 20)
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   655
                 )
3175
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   656
                (InputFieldSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   657
                   name: 'EntryField2'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   658
                   model: light
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   659
                   type: numberInRange
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   660
                   numChars: 3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   661
                   minValue: 0
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   662
                   maxValue: 100
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   663
                   acceptOnPointerLeave: false
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   664
                   extent: (Point 41 20)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   665
                 )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   666
                (InputFieldSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   667
                   name: 'EntryField3'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   668
                   model: saturation
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   669
                   type: numberInRange
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   670
                   numChars: 3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   671
                   minValue: 0
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   672
                   maxValue: 100
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   673
                   acceptOnPointerLeave: false
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   674
                   extent: (Point 41 20)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   675
                 )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   676
                )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   677
              
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   678
             )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   679
           )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   680
          (ViewSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   681
             name: 'PreviewBoxFrame'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   682
             layout: (LayoutFrame -100 1 4 0.0 -3 1.0 -39 1.0)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   683
             level: 1
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   684
             component: 
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   685
            (SpecCollection
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   686
               collection: (
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   687
                (LabelSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   688
                   label: 'Preview'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   689
                   name: 'PreviewBox'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   690
                   layout: (LayoutFrame 2 0.0 2 0.0 -2 1.0 -2 1.0)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   691
                   level: -1
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   692
                   translateLabel: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   693
                   postBuildCallback: postBuildPreviewBox:
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   694
                 )
3175
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   695
                )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   696
              
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   697
             )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   698
           )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   699
          (LabelSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   700
             label: 'Brightness:'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   701
             name: 'Label5'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   702
             layout: (LayoutFrame 0 0 175 0 90 0 197 0)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   703
             activeHelpKey: brightness
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   704
             translateLabel: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   705
             adjust: right
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   706
           )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   707
          (InputFieldSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   708
             name: 'EntryField8'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   709
             layout: (LayoutFrame 90 0 175 0 -277 1 197 0)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   710
             activeHelpKey: brightness
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   711
             model: brightnessStringHolder
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   712
             isReadOnly: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   713
             immediateAccept: false
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   714
             acceptOnReturn: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   715
             acceptOnTab: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   716
             acceptOnLostFocus: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   717
             acceptOnPointerLeave: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   718
           )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   719
          (LabelSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   720
             label: 'Color Name:'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   721
             name: 'ColorNameLabel'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   722
             layout: (LayoutFrame 2 0 214 0 135 0 236 0)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   723
             activeHelpKey: colorName
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   724
             translateLabel: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   725
             adjust: right
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   726
           )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   727
          (InputFieldSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   728
             name: 'ColorNameField'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   729
             layout: (LayoutFrame 135 0 214 0 -122 1 236 0)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   730
             activeHelpKey: colorName
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   731
             model: colorNameHolder
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   732
             immediateAccept: false
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   733
             acceptOnReturn: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   734
             acceptOnTab: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   735
             acceptOnLostFocus: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   736
             acceptOnPointerLeave: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   737
           )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   738
          (LabelSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   739
             label: 'HTML Color Name:'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   740
             name: 'HTMLColorNameLabel'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   741
             layout: (LayoutFrame 2 0 240 0 135 0 262 0)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   742
             activeHelpKey: htmlColorName
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   743
             translateLabel: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   744
             adjust: right
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   745
           )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   746
          (InputFieldSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   747
             name: 'MLHTColorNameFieldField'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   748
             layout: (LayoutFrame 135 0 240 0 -122 1 262 0)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   749
             activeHelpKey: htmlColorName
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   750
             model: htmlColorNameHolder
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   751
             immediateAccept: false
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   752
             acceptOnReturn: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   753
             acceptOnTab: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   754
             acceptOnLostFocus: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   755
             acceptOnPointerLeave: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   756
           )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   757
          (LabelSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   758
             label: 'Color Definition:'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   759
             name: 'Label4'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   760
             layout: (LayoutFrame 2 0 266 0 135 0 288 0)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   761
             activeHelpKey: colorDefinitionString
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   762
             translateLabel: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   763
             adjust: right
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   764
           )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   765
          (InputFieldSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   766
             name: 'EntryField7'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   767
             layout: (LayoutFrame 135 0 266 0 -122 1 288 0)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   768
             activeHelpKey: colorDefinitionString
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   769
             model: colorDefinitionStringHolder
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   770
             isReadOnly: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   771
             immediateAccept: false
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   772
             acceptOnReturn: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   773
             acceptOnTab: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   774
             acceptOnLostFocus: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   775
             acceptOnPointerLeave: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   776
           )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   777
          (ActionButtonSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   778
             label: 'Copy Color'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   779
             name: 'CopyColor'
3194
86cf12ddc8fd class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 3179
diff changeset
   780
             layout: (LayoutFrame 12 0 298 0 120 0 320 0)
3175
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   781
             activeHelpKey: hlsMixer
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   782
             translateLabel: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   783
             resizeForLabel: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   784
             tabable: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   785
             model: copyColor
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   786
           )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   787
          (ActionButtonSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   788
             label: 'Paste Color'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   789
             name: 'PasteColor'
3194
86cf12ddc8fd class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 3179
diff changeset
   790
             layout: (LayoutFrame 122 0 298 0 240 0 320 0)
3175
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   791
             translateLabel: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   792
             resizeForLabel: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   793
             tabable: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   794
             model: pasteColor
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   795
           )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   796
          (ActionButtonSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   797
             label: 'pickColorIcon'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   798
             name: 'Button1'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   799
             layout: (LayoutFrame 285 0 298 0 312 0 325 0)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   800
             activeHelpKey: pickColor
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   801
             hasCharacterOrientedLabel: false
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   802
             translateLabel: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   803
             resizeForLabel: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   804
             tabable: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   805
             model: pickColor
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   806
           )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   807
          (HorizontalPanelViewSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   808
             name: 'HorizontalPanel1'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   809
             layout: (LayoutFrame 0 0.0 -32 1 -16 1.0 0 1.0)
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   810
             horizontalLayout: okCancelBox
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   811
             verticalLayout: centerMax
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   812
             horizontalSpace: 3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   813
             verticalSpace: 3
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   814
             reverseOrderIfOKAtLeft: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   815
             component: 
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   816
            (SpecCollection
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   817
               collection: (
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   818
                (ActionButtonSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   819
                   label: 'Cancel'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   820
                   name: 'CancelButton'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   821
                   translateLabel: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   822
                   resizeForLabel: false
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   823
                   tabable: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   824
                   model: cancel
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   825
                   useDefaultExtent: true
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   826
                 )
3175
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   827
                (ActionButtonSpec
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   828
                   label: 'OK'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   829
                   name: 'OKButton'
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   830
                   translateLabel: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   831
                   resizeForLabel: false
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   832
                   tabable: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   833
                   model: accept
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   834
                   isDefault: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   835
                   defaultable: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   836
                   useDefaultExtent: true
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   837
                 )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   838
                )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   839
              
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   840
             )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   841
             keepSpaceForOSXResizeHandleH: true
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   842
           )
3175
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   843
          )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   844
        
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   845
       )
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
   846
     )
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   847
! !
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   848
2347
c37fb02785bc +openOn:
Claus Gittinger <cg@exept.de>
parents: 2326
diff changeset
   849
!ColorEditDialog class methodsFor:'startup'!
c37fb02785bc +openOn:
Claus Gittinger <cg@exept.de>
parents: 2326
diff changeset
   850
c37fb02785bc +openOn:
Claus Gittinger <cg@exept.de>
parents: 2326
diff changeset
   851
openOn:aColor
c37fb02785bc +openOn:
Claus Gittinger <cg@exept.de>
parents: 2326
diff changeset
   852
    ^ self new
c37fb02785bc +openOn:
Claus Gittinger <cg@exept.de>
parents: 2326
diff changeset
   853
        color:aColor;
c37fb02785bc +openOn:
Claus Gittinger <cg@exept.de>
parents: 2326
diff changeset
   854
        open;
c37fb02785bc +openOn:
Claus Gittinger <cg@exept.de>
parents: 2326
diff changeset
   855
        yourself
c37fb02785bc +openOn:
Claus Gittinger <cg@exept.de>
parents: 2326
diff changeset
   856
c37fb02785bc +openOn:
Claus Gittinger <cg@exept.de>
parents: 2326
diff changeset
   857
    "
c37fb02785bc +openOn:
Claus Gittinger <cg@exept.de>
parents: 2326
diff changeset
   858
     self openOn:Color red
c37fb02785bc +openOn:
Claus Gittinger <cg@exept.de>
parents: 2326
diff changeset
   859
    "
c37fb02785bc +openOn:
Claus Gittinger <cg@exept.de>
parents: 2326
diff changeset
   860
! !
c37fb02785bc +openOn:
Claus Gittinger <cg@exept.de>
parents: 2326
diff changeset
   861
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   862
!ColorEditDialog methodsFor:'accessing'!
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   863
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   864
color
2279
f077161d5d57 symbolic colors
Stefan Vogel <sv@exept.de>
parents: 2274
diff changeset
   865
    |colorName|
f077161d5d57 symbolic colors
Stefan Vogel <sv@exept.de>
parents: 2274
diff changeset
   866
f077161d5d57 symbolic colors
Stefan Vogel <sv@exept.de>
parents: 2274
diff changeset
   867
    colorName := self colorName.
f077161d5d57 symbolic colors
Stefan Vogel <sv@exept.de>
parents: 2274
diff changeset
   868
    colorName notEmptyOrNil ifTrue:[
2574
ae2448675efb deliver a color, when asked for one !
Claus Gittinger <cg@exept.de>
parents: 2521
diff changeset
   869
        ^ Color name:(colorName asSymbol)
2279
f077161d5d57 symbolic colors
Stefan Vogel <sv@exept.de>
parents: 2274
diff changeset
   870
    ].
2326
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   871
    ^ Color redByte:(red value) greenByte:(green value) blueByte:(blue value)
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   872
!
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   873
2279
f077161d5d57 symbolic colors
Stefan Vogel <sv@exept.de>
parents: 2274
diff changeset
   874
color:aColor
f077161d5d57 symbolic colors
Stefan Vogel <sv@exept.de>
parents: 2274
diff changeset
   875
    aColor isNil ifTrue:[
f077161d5d57 symbolic colors
Stefan Vogel <sv@exept.de>
parents: 2274
diff changeset
   876
        ^ self
f077161d5d57 symbolic colors
Stefan Vogel <sv@exept.de>
parents: 2274
diff changeset
   877
    ].
f077161d5d57 symbolic colors
Stefan Vogel <sv@exept.de>
parents: 2274
diff changeset
   878
f077161d5d57 symbolic colors
Stefan Vogel <sv@exept.de>
parents: 2274
diff changeset
   879
    aColor isSymbol ifTrue:[
f077161d5d57 symbolic colors
Stefan Vogel <sv@exept.de>
parents: 2274
diff changeset
   880
        self colorNameHolder value:aColor
f077161d5d57 symbolic colors
Stefan Vogel <sv@exept.de>
parents: 2274
diff changeset
   881
    ] ifFalse:[
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   882
        self red value:aColor redByte.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   883
        self green value:aColor greenByte.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   884
        self blue value:aColor blueByte.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   885
    ]
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   886
!
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   887
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   888
colorName
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   889
    ^ colorNameHolder value
2224
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
   890
!
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
   891
2574
ae2448675efb deliver a color, when asked for one !
Claus Gittinger <cg@exept.de>
parents: 2521
diff changeset
   892
colorNameOrColor
ae2448675efb deliver a color, when asked for one !
Claus Gittinger <cg@exept.de>
parents: 2521
diff changeset
   893
    |colorName|
ae2448675efb deliver a color, when asked for one !
Claus Gittinger <cg@exept.de>
parents: 2521
diff changeset
   894
ae2448675efb deliver a color, when asked for one !
Claus Gittinger <cg@exept.de>
parents: 2521
diff changeset
   895
    colorName := self colorName.
ae2448675efb deliver a color, when asked for one !
Claus Gittinger <cg@exept.de>
parents: 2521
diff changeset
   896
    colorName notEmptyOrNil ifTrue:[
ae2448675efb deliver a color, when asked for one !
Claus Gittinger <cg@exept.de>
parents: 2521
diff changeset
   897
        "/ ^ Color name:(colorName asSymbol)
ae2448675efb deliver a color, when asked for one !
Claus Gittinger <cg@exept.de>
parents: 2521
diff changeset
   898
        ^ colorName asSymbol
ae2448675efb deliver a color, when asked for one !
Claus Gittinger <cg@exept.de>
parents: 2521
diff changeset
   899
    ].
ae2448675efb deliver a color, when asked for one !
Claus Gittinger <cg@exept.de>
parents: 2521
diff changeset
   900
    ^ Color redByte:(red value) greenByte:(green value) blueByte:(blue value)
ae2448675efb deliver a color, when asked for one !
Claus Gittinger <cg@exept.de>
parents: 2521
diff changeset
   901
!
ae2448675efb deliver a color, when asked for one !
Claus Gittinger <cg@exept.de>
parents: 2521
diff changeset
   902
2224
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
   903
htmlColorName
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
   904
    ^ htmlColorNameHolder value
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   905
! !
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   906
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   907
!ColorEditDialog methodsFor:'actions'!
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   908
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   909
colorChanged
2831
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
   910
    |clr nm|
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   911
2574
ae2448675efb deliver a color, when asked for one !
Claus Gittinger <cg@exept.de>
parents: 2521
diff changeset
   912
    clr := self colorNameOrColor.
2279
f077161d5d57 symbolic colors
Stefan Vogel <sv@exept.de>
parents: 2274
diff changeset
   913
    clr isColor ifTrue:[
f077161d5d57 symbolic colors
Stefan Vogel <sv@exept.de>
parents: 2274
diff changeset
   914
        "not a symbol"
f077161d5d57 symbolic colors
Stefan Vogel <sv@exept.de>
parents: 2274
diff changeset
   915
        self setPreview:clr.
2326
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   916
        self htmlColorNameHolder value:(clr htmlPrintString) withoutNotifying:self.
2831
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
   917
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
   918
        nm := #(white red green blue black) detect:[:nm | clr = (Color perform:nm)] ifNone:nil.
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
   919
        nm notNil ifTrue:[
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
   920
            self colorDefinitionStringHolder value:('Color ',nm).
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
   921
        ] ifFalse:[
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
   922
            self colorDefinitionStringHolder value:('Color rgbValue:16r',(clr rgbValue hexPrintString leftPaddedTo:6 with:$0)).
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
   923
        ].
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
   924
        self brightnessStringHolder value:((clr brightness asFixedPoint:3) printString).
2279
f077161d5d57 symbolic colors
Stefan Vogel <sv@exept.de>
parents: 2274
diff changeset
   925
    ].
2831
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
   926
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
   927
    "Modified: / 27-01-2011 / 12:54:04 / cg"
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   928
!
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   929
2326
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   930
colorChangedTo:clr
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   931
    "compute rgb and hls (if possible)"
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   932
2326
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   933
    |h|
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   934
2279
f077161d5d57 symbolic colors
Stefan Vogel <sv@exept.de>
parents: 2274
diff changeset
   935
    self red   value:clr redByte withoutNotifying:self.
f077161d5d57 symbolic colors
Stefan Vogel <sv@exept.de>
parents: 2274
diff changeset
   936
    self green value:clr greenByte withoutNotifying:self.
f077161d5d57 symbolic colors
Stefan Vogel <sv@exept.de>
parents: 2274
diff changeset
   937
    self blue  value:clr blueByte withoutNotifying:self.
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   938
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   939
    h := clr hue.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   940
    h notNil ifTrue:[
2279
f077161d5d57 symbolic colors
Stefan Vogel <sv@exept.de>
parents: 2274
diff changeset
   941
        self hue        value:(h rounded) withoutNotifying:self.
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   942
    ].
2279
f077161d5d57 symbolic colors
Stefan Vogel <sv@exept.de>
parents: 2274
diff changeset
   943
    self light      value:(clr light rounded) withoutNotifying:self.
f077161d5d57 symbolic colors
Stefan Vogel <sv@exept.de>
parents: 2274
diff changeset
   944
    self saturation value:(clr saturation rounded) withoutNotifying:self.
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   945
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   946
    self colorChanged
2831
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
   947
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
   948
    "Modified: / 27-01-2011 / 12:48:28 / cg"
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   949
!
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   950
2326
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   951
colorNameChanged
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   952
    "compute rgb and hls (if possible)"
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   953
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   954
    |clr|
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   955
3179
174a9f51db76 class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 3175
diff changeset
   956
    clr := Color name:(self colorName) ifIllegal:nil.
2326
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   957
    clr isNil ifTrue:[
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   958
        ^ self
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   959
    ].
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   960
    self colorChangedTo:clr.
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   961
!
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   962
2224
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
   963
copyColor
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
   964
    self window setClipboardObject:self color
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
   965
!
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
   966
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
   967
copyColorName
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
   968
    self window setClipboardText:self htmlColorName
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
   969
!
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
   970
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   971
hlsSliderChanged
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   972
    "compute rgb"
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   973
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   974
    Color withRGBFromHue:hue value light:light value saturation:saturation value do:[:r :g :b |
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   975
        red    value:(r * 255 / 100) rounded withoutNotifying:self.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   976
        green  value:(g * 255 / 100) rounded withoutNotifying:self.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   977
        blue   value:(b * 255 / 100) rounded withoutNotifying:self.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   978
    ].
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   979
    colorNameHolder value:'' withoutNotifying:self.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   980
    self colorChanged
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   981
!
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   982
2326
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   983
htmlColorNameChanged
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   984
    "compute rgb and hls (if possible)"
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   985
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   986
    |clr|
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   987
2417
cc89133cc041 changed #htmlColorNameChanged - ignore empty color names
Stefan Vogel <sv@exept.de>
parents: 2347
diff changeset
   988
    htmlColorNameHolder value isEmptyOrNil ifTrue:[
cc89133cc041 changed #htmlColorNameChanged - ignore empty color names
Stefan Vogel <sv@exept.de>
parents: 2347
diff changeset
   989
        ^ self.
cc89133cc041 changed #htmlColorNameChanged - ignore empty color names
Stefan Vogel <sv@exept.de>
parents: 2347
diff changeset
   990
    ].
cc89133cc041 changed #htmlColorNameChanged - ignore empty color names
Stefan Vogel <sv@exept.de>
parents: 2347
diff changeset
   991
2326
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   992
    clr := Color rgbValue:(Integer 
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   993
                                readFrom:(htmlColorNameHolder value copyFrom:2)
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   994
                                radix:16
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   995
                                onError:nil).
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   996
    clr isNil ifTrue:[
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   997
        ^ self
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   998
    ].
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
   999
    self colorNameHolder value:'' withoutNotifying:self.
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
  1000
    self colorChangedTo:clr.
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
  1001
!
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
  1002
2224
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
  1003
pasteColor
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
  1004
    |copyBufferColor|
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
  1005
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
  1006
    copyBufferColor := self window getClipboardObject.
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
  1007
    copyBufferColor isColor ifFalse:[
3527
74f4d5106d99 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3519
diff changeset
  1008
        self window beepInEditor.
2224
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
  1009
        ^ self
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
  1010
    ].
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
  1011
    self color:copyBufferColor
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
  1012
!
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
  1013
2266
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
  1014
pickColor
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
  1015
    |color|
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
  1016
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
  1017
    color := Color fromUserWithFeedBack:[:clr | self setPreview:clr].
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
  1018
    color notNil ifTrue:[
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
  1019
        self color:color.
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
  1020
    ]
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
  1021
!
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
  1022
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1023
rgbSliderChanged
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1024
    "compute hls"
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1025
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1026
    |r g b|
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1027
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1028
    r := self red value.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1029
    g := self green value.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1030
    b := self blue value.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1031
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1032
    Color withHLSFromRed:(r * 100 / 255) green:(g * 100 / 255) blue:(b * 100 / 255) do:[:h :l :s |
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1033
        h isNil ifTrue:[
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1034
            "/ achromatic
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1035
        ] ifFalse:[
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1036
            self hue    value:(h rounded) withoutNotifying:self.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1037
        ].
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1038
        self light      value:(l rounded) withoutNotifying:self.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1039
        self saturation value:(s rounded) withoutNotifying:self.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1040
    ].
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1041
    self colorNameHolder value:'' withoutNotifying:self.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1042
    self colorChanged
2266
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
  1043
!
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
  1044
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
  1045
setPreview:color
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
  1046
    previewBox isNil ifTrue:[^ self "called before setup"].
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
  1047
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
  1048
    previewBox backgroundColor:color.
2941
15df48eba1c4 class: Color
Stefan Vogel <sv@exept.de>
parents: 2904
diff changeset
  1049
    previewBox foregroundColor:color contrastingBlackOrWhite.
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1050
! !
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1051
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1052
!ColorEditDialog methodsFor:'aspects'!
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1053
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1054
blue
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1055
    blue isNil ifTrue:[
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1056
        blue := 0 asValue.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1057
        blue addDependent:self.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1058
    ].
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1059
    ^blue
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1060
!
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1061
2831
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
  1062
brightnessStringHolder
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
  1063
    brightnessStringHolder isNil ifTrue:[
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
  1064
        brightnessStringHolder := 0 asValue.
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
  1065
        "/ brightness addDependent:self.
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
  1066
    ].
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
  1067
    ^ brightnessStringHolder
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
  1068
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
  1069
    "Created: / 27-01-2011 / 12:48:00 / cg"
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
  1070
!
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
  1071
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
  1072
colorDefinitionStringHolder
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
  1073
    colorDefinitionStringHolder isNil ifTrue:[
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
  1074
        colorDefinitionStringHolder := '' asValue.
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
  1075
        "/ colorDefinitionStringHolder addDependent:self.
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
  1076
    ].
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
  1077
    ^colorDefinitionStringHolder
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
  1078
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
  1079
    "Created: / 27-01-2011 / 12:38:12 / cg"
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
  1080
!
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
  1081
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1082
colorNameHolder
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1083
    colorNameHolder isNil ifTrue:[
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1084
        colorNameHolder := '' asValue.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1085
        colorNameHolder addDependent:self.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1086
    ].
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1087
    ^colorNameHolder
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1088
!
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1089
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1090
green
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1091
    green isNil ifTrue:[
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1092
        green := 0 asValue.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1093
        green addDependent:self.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1094
    ].
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1095
    ^green
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1096
!
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1097
2224
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
  1098
htmlColorNameHolder
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
  1099
    htmlColorNameHolder isNil ifTrue:[
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
  1100
        htmlColorNameHolder := '' asValue.
2326
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
  1101
        htmlColorNameHolder addDependent:self.
2224
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
  1102
    ].
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
  1103
    ^htmlColorNameHolder
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
  1104
!
6ec083adc6bf hex input; hex-name; copy & paste
Claus Gittinger <cg@exept.de>
parents: 1846
diff changeset
  1105
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1106
hue
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1107
    hue isNil ifTrue:[
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1108
        hue := 0 asValue.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1109
        hue addDependent:self.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1110
    ].
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1111
    ^hue
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1112
!
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1113
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1114
light
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1115
    light isNil ifTrue:[
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1116
        light := 0 asValue.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1117
        light addDependent:self.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1118
    ].
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1119
    ^light
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1120
!
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1121
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1122
red
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1123
    red isNil ifTrue:[
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1124
        red := 0 asValue.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1125
        red addDependent:self.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1126
    ].
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1127
    ^red
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1128
!
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1129
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1130
saturation
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1131
    saturation isNil ifTrue:[
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1132
        saturation := 0 asValue.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1133
        saturation addDependent:self.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1134
    ].
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1135
    ^saturation
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1136
! !
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1137
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1138
!ColorEditDialog methodsFor:'change & update'!
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1139
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1140
update:something with:aParameter from:changedObject
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1141
    (changedObject == red
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1142
    or:[changedObject == green
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1143
    or:[changedObject == blue]]) ifTrue:[
2326
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
  1144
        self rgbSliderChanged.
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
  1145
        ^ self
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1146
    ].
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1147
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1148
    (changedObject == hue
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1149
    or:[changedObject == light
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1150
    or:[changedObject == saturation]]) ifTrue:[
2326
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
  1151
        self hlsSliderChanged.
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
  1152
        ^ self
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1153
    ].
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1154
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1155
    (changedObject == colorNameHolder) ifTrue:[
2326
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
  1156
        self colorNameChanged.
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
  1157
        ^ self
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
  1158
    ].
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
  1159
    (changedObject == htmlColorNameHolder) ifTrue:[
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
  1160
        self htmlColorNameChanged.
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
  1161
        ^ self
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1162
    ].
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1163
2326
f23fac376621 allow hexcolor to be entered;
Claus Gittinger <cg@exept.de>
parents: 2279
diff changeset
  1164
    super update:something with:aParameter from:changedObject
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1165
! !
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1166
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1167
!ColorEditDialog methodsFor:'startup & release'!
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1168
2266
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
  1169
postBuildPreviewBox:aView
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
  1170
    previewBox := aView
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
  1171
!
0234d226a06a added pick (pipette) and feedback
Claus Gittinger <cg@exept.de>
parents: 2228
diff changeset
  1172
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1173
postBuildWith:aBuilder
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1174
    super postBuildWith:aBuilder.
3175
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
  1175
    (aBuilder componentAt:'HueSlider') 
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
  1176
        viewBackground:
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
  1177
            (ImageBackground new 
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
  1178
                image:(self class hueGradientImage);
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
  1179
                align:#fit;
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
  1180
                yourself).
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1181
    self colorChanged.
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1182
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1183
    "Modified: / 6.9.1998 / 22:55:25 / cg"
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1184
! !
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1185
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1186
!ColorEditDialog class methodsFor:'documentation'!
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1187
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1188
version
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1189
    ^ '$Header$'
2831
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
  1190
!
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
  1191
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
  1192
version_CVS
3dbef5687ae6 class definition
Claus Gittinger <cg@exept.de>
parents: 2574
diff changeset
  1193
    ^ '$Header$'
1840
57c23d1beb53 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1194
! !
3175
c205d80403ef class: ColorEditDialog
Claus Gittinger <cg@exept.de>
parents: 2941
diff changeset
  1195