You've already forked lazarus-ccr
mbColorLib: one test forgotten in prev commit...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5518 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -42,22 +42,22 @@ object Form1: TForm1
|
||||
Height = 384
|
||||
Top = 6
|
||||
Width = 403
|
||||
ActivePage = TabSheet10
|
||||
ActivePage = TabSheet5
|
||||
Anchors = [akTop, akLeft, akRight, akBottom]
|
||||
TabIndex = 10
|
||||
TabIndex = 4
|
||||
TabOrder = 0
|
||||
OnChange = PageControl1Change
|
||||
OnMouseMove = PageControl1MouseMove
|
||||
object TabSheet1: TTabSheet
|
||||
Caption = 'HSLColorPicker'
|
||||
ClientHeight = 303
|
||||
ClientWidth = 391
|
||||
ClientHeight = 356
|
||||
ClientWidth = 395
|
||||
object HSLColorPicker1: THSLColorPicker
|
||||
Left = 8
|
||||
Height = 287
|
||||
Height = 340
|
||||
Top = 8
|
||||
Width = 377
|
||||
SelectedColor = 685062
|
||||
Width = 381
|
||||
SelectedColor = 273922
|
||||
HSPickerHintFormat = 'H: %h S: %s'#13'Hex: %hex'
|
||||
LPickerHintFormat = 'Luminance: %l'
|
||||
Anchors = [akTop, akLeft, akRight, akBottom]
|
||||
@ -218,7 +218,7 @@ object Form1: TForm1
|
||||
TabOrder = 3
|
||||
object mbColorPalette1: TmbColorPalette
|
||||
Left = 0
|
||||
Height = 271
|
||||
Height = 234
|
||||
Top = 0
|
||||
Width = 378
|
||||
Anchors = [akTop, akLeft, akRight, akBottom]
|
||||
|
@ -417,7 +417,10 @@ begin
|
||||
else if PageControl1.ActivePage = Tabsheet4 then
|
||||
HSLRingPicker1.Enabled := CbEnabled.Checked
|
||||
else if PageControl1.ActivePage = Tabsheet5 then
|
||||
HSVColorPicker1.Enabled := CbEnabled.Checked
|
||||
begin
|
||||
HSVColorPicker1.Enabled := CbEnabled.Checked;
|
||||
VColorPicker1.Enabled := CbEnabled.Checked;
|
||||
end
|
||||
else if PageControl1.ActivePage = Tabsheet6 then
|
||||
SLHColorPicker1.Enabled := CbEnabled.Checked
|
||||
else if PageControl1.ActivePage = Tabsheet11 then
|
||||
|
@ -250,10 +250,10 @@ end;
|
||||
procedure TmbCustomPicker.InternalDrawMarker(X, Y: Integer; C: TColor);
|
||||
begin
|
||||
case MarkerStyle of
|
||||
msCircle: DrawSelCirc(x, y, Canvas);
|
||||
msSquare: DrawSelSquare(x, y, Canvas);
|
||||
msCross: DrawSelCross(x, y, Canvas, c);
|
||||
msCrossCirc: DrawSelCrossCirc(x, y, Canvas, c);
|
||||
msCircle : DrawSelCirc(x, y, Canvas);
|
||||
msSquare : DrawSelSquare(x, y, Canvas);
|
||||
msCross : DrawSelCross(x, y, Canvas, c);
|
||||
msCrossCirc : DrawSelCrossCirc(x, y, Canvas, c);
|
||||
end;
|
||||
end;
|
||||
(*
|
||||
|
Reference in New Issue
Block a user