From ff55a92ced83a2543e846a1c7544bf2e3ba28f3a Mon Sep 17 00:00:00 2001 From: mattias Date: Thu, 20 Jan 2005 22:10:36 +0000 Subject: [PATCH] fixed showing anchor control in anchor editor git-svn-id: trunk@6650 - --- designer/anchoreditor.lfm | 34 ++++ designer/anchoreditor.lrs | 215 +++++++++++---------- designer/anchoreditor.pas | 15 +- images/designer/anchorcenterhorizontal.xpm | 70 +++---- images/designer/anchorcentervertical.xpm | 41 ++-- images/laz_images.lrs | 68 +++---- 6 files changed, 250 insertions(+), 193 deletions(-) diff --git a/designer/anchoreditor.lfm b/designer/anchoreditor.lfm index f2e4481cb3..fa15e002b5 100644 --- a/designer/anchoreditor.lfm +++ b/designer/anchoreditor.lfm @@ -15,6 +15,7 @@ object AnchorDesigner: TAnchorDesigner Width = 520 object BorderSpaceGroupBox: TGroupBox Anchors = [akTop, akLeft, akBottom] + BorderSpacing.OnChange = nil Caption = 'BorderSpaceGroupBox' ClientHeight = 87 ClientWidth = 168 @@ -25,6 +26,7 @@ object AnchorDesigner: TAnchorDesigner Top = 80 Width = 172 object LeftBorderSpaceSpinEdit: TSpinEdit + BorderSpacing.OnChange = nil Decimal_Places = 0 MaxValue = 100 OnChange = BorderSpaceSpinEditChange @@ -37,6 +39,7 @@ object AnchorDesigner: TAnchorDesigner Width = 50 end object RightBorderSpaceSpinEdit: TSpinEdit + BorderSpacing.OnChange = nil Decimal_Places = 0 MaxValue = 100 OnChange = BorderSpaceSpinEditChange @@ -50,6 +53,7 @@ object AnchorDesigner: TAnchorDesigner Width = 50 end object TopBorderSpaceSpinEdit: TSpinEdit + BorderSpacing.OnChange = nil Decimal_Places = 0 MaxValue = 100 OnChange = BorderSpaceSpinEditChange @@ -62,6 +66,7 @@ object AnchorDesigner: TAnchorDesigner Width = 50 end object BottomBorderSpaceSpinEdit: TSpinEdit + BorderSpacing.OnChange = nil Decimal_Places = 0 MaxValue = 100 OnChange = BorderSpaceSpinEditChange @@ -75,6 +80,7 @@ object AnchorDesigner: TAnchorDesigner Width = 50 end object AroundBorderSpaceSpinEdit: TSpinEdit + BorderSpacing.OnChange = nil Decimal_Places = 0 MaxValue = 100 OnChange = BorderSpaceSpinEditChange @@ -90,6 +96,7 @@ object AnchorDesigner: TAnchorDesigner end object TopGroupBox: TGroupBox Anchors = [akTop, akLeft, akRight] + BorderSpacing.OnChange = nil Caption = 'TopGroupBox' ClientHeight = 33 ClientWidth = 404 @@ -100,6 +107,7 @@ object AnchorDesigner: TAnchorDesigner Width = 408 object TopRefTopSpeedButton: TSpeedButton Anchors = [akTop, akRight] + BorderSpacing.OnChange = nil GroupIndex = 1 NumGlyphs = 0 OnClick = ReferenceSideButtonClicked @@ -111,6 +119,7 @@ object AnchorDesigner: TAnchorDesigner end object TopRefBottomSpeedButton: TSpeedButton Anchors = [akTop, akRight] + BorderSpacing.OnChange = nil GroupIndex = 1 NumGlyphs = 0 OnClick = ReferenceSideButtonClicked @@ -122,6 +131,7 @@ object AnchorDesigner: TAnchorDesigner end object TopRefCenterSpeedButton: TSpeedButton Anchors = [akTop, akRight] + BorderSpacing.OnChange = nil GroupIndex = 1 NumGlyphs = 0 OnClick = ReferenceSideButtonClicked @@ -133,6 +143,7 @@ object AnchorDesigner: TAnchorDesigner end object TopSiblingLabel: TLabel AutoSize = True + BorderSpacing.OnChange = nil Caption = 'Sibling' ParentColor = True Left = 94 @@ -141,6 +152,7 @@ object AnchorDesigner: TAnchorDesigner Width = 38 end object TopAnchoredCheckBox: TCheckBox + BorderSpacing.OnChange = nil Caption = 'Enabled' OnChange = AnchorEnabledCheckBoxChange TabOrder = 0 @@ -151,6 +163,7 @@ object AnchorDesigner: TAnchorDesigner end object TopSiblingComboBox: TComboBox Anchors = [akTop, akLeft, akRight] + BorderSpacing.OnChange = nil MaxLength = 0 OnChange = SiblingComboBoxChange ParentShowHint = False @@ -164,6 +177,7 @@ object AnchorDesigner: TAnchorDesigner end object BottomGroupBox: TGroupBox Anchors = [akLeft, akRight, akBottom] + BorderSpacing.OnChange = nil Caption = 'BottomGroupBox' ClientHeight = 33 ClientWidth = 404 @@ -175,6 +189,7 @@ object AnchorDesigner: TAnchorDesigner Width = 408 object BottomRefTopSpeedButton: TSpeedButton Anchors = [akTop, akRight] + BorderSpacing.OnChange = nil GroupIndex = 3 NumGlyphs = 0 OnClick = ReferenceSideButtonClicked @@ -186,6 +201,7 @@ object AnchorDesigner: TAnchorDesigner end object BottomRefBottomSpeedButton: TSpeedButton Anchors = [akTop, akRight] + BorderSpacing.OnChange = nil GroupIndex = 3 NumGlyphs = 0 OnClick = ReferenceSideButtonClicked @@ -197,6 +213,7 @@ object AnchorDesigner: TAnchorDesigner end object BottomRefCenterSpeedButton: TSpeedButton Anchors = [akTop, akRight] + BorderSpacing.OnChange = nil GroupIndex = 3 NumGlyphs = 0 OnClick = ReferenceSideButtonClicked @@ -208,6 +225,7 @@ object AnchorDesigner: TAnchorDesigner end object BottomSiblingLabel: TLabel AutoSize = True + BorderSpacing.OnChange = nil Caption = 'Sibling' ParentColor = True Left = 94 @@ -216,6 +234,7 @@ object AnchorDesigner: TAnchorDesigner Width = 38 end object BottomAnchoredCheckBox: TCheckBox + BorderSpacing.OnChange = nil Caption = 'Enabled' OnChange = AnchorEnabledCheckBoxChange TabOrder = 0 @@ -226,6 +245,7 @@ object AnchorDesigner: TAnchorDesigner end object BottomSiblingComboBox: TComboBox Anchors = [akTop, akLeft, akRight] + BorderSpacing.OnChange = nil MaxLength = 0 OnChange = SiblingComboBoxChange ParentShowHint = False @@ -239,6 +259,7 @@ object AnchorDesigner: TAnchorDesigner end object RightGroupBox: TGroupBox Anchors = [akTop, akLeft, akBottom] + BorderSpacing.OnChange = nil Caption = 'RightGroupBox' ClientHeight = 112 ClientWidth = 146 @@ -249,6 +270,7 @@ object AnchorDesigner: TAnchorDesigner Top = 64 Width = 150 object RightRefLeftSpeedButton: TSpeedButton + BorderSpacing.OnChange = nil GroupIndex = 4 NumGlyphs = 0 OnClick = ReferenceSideButtonClicked @@ -260,6 +282,7 @@ object AnchorDesigner: TAnchorDesigner Width = 30 end object RightRefRightSpeedButton: TSpeedButton + BorderSpacing.OnChange = nil GroupIndex = 4 NumGlyphs = 0 OnClick = ReferenceSideButtonClicked @@ -271,6 +294,7 @@ object AnchorDesigner: TAnchorDesigner Width = 30 end object RightRefCenterSpeedButton: TSpeedButton + BorderSpacing.OnChange = nil GroupIndex = 4 NumGlyphs = 0 OnClick = ReferenceSideButtonClicked @@ -283,6 +307,7 @@ object AnchorDesigner: TAnchorDesigner end object RightSiblingLabel: TLabel AutoSize = True + BorderSpacing.OnChange = nil Caption = 'Sibling' ParentColor = True Left = 2 @@ -291,6 +316,7 @@ object AnchorDesigner: TAnchorDesigner Width = 38 end object RightAnchoredCheckBox: TCheckBox + BorderSpacing.OnChange = nil Caption = 'Enabled' OnChange = AnchorEnabledCheckBoxChange TabOrder = 0 @@ -301,6 +327,7 @@ object AnchorDesigner: TAnchorDesigner end object RightSiblingComboBox: TComboBox Anchors = [akTop, akLeft, akRight] + BorderSpacing.OnChange = nil MaxLength = 0 OnChange = SiblingComboBoxChange ParentShowHint = False @@ -314,6 +341,7 @@ object AnchorDesigner: TAnchorDesigner end object LeftGroupBox: TGroupBox Anchors = [akTop, akLeft, akBottom] + BorderSpacing.OnChange = nil Caption = 'LeftGroupBox' ClientHeight = 112 ClientWidth = 146 @@ -324,6 +352,7 @@ object AnchorDesigner: TAnchorDesigner Top = 64 Width = 150 object LeftRefLeftSpeedButton: TSpeedButton + BorderSpacing.OnChange = nil GroupIndex = 2 NumGlyphs = 0 OnClick = ReferenceSideButtonClicked @@ -335,6 +364,7 @@ object AnchorDesigner: TAnchorDesigner Width = 30 end object LeftRefRightSpeedButton: TSpeedButton + BorderSpacing.OnChange = nil GroupIndex = 2 NumGlyphs = 0 OnClick = ReferenceSideButtonClicked @@ -346,6 +376,7 @@ object AnchorDesigner: TAnchorDesigner Width = 30 end object LeftRefCenterSpeedButton: TSpeedButton + BorderSpacing.OnChange = nil GroupIndex = 2 NumGlyphs = 0 OnClick = ReferenceSideButtonClicked @@ -358,6 +389,7 @@ object AnchorDesigner: TAnchorDesigner end object LeftSiblingLabel: TLabel AutoSize = True + BorderSpacing.OnChange = nil Caption = 'Sibling' ParentColor = True Left = 2 @@ -366,6 +398,7 @@ object AnchorDesigner: TAnchorDesigner Width = 38 end object LeftAnchoredCheckBox: TCheckBox + BorderSpacing.OnChange = nil Caption = 'Enabled' OnChange = AnchorEnabledCheckBoxChange TabOrder = 0 @@ -376,6 +409,7 @@ object AnchorDesigner: TAnchorDesigner end object LeftSiblingComboBox: TComboBox Anchors = [akTop, akLeft, akRight] + BorderSpacing.OnChange = nil MaxLength = 0 OnChange = SiblingComboBoxChange ParentShowHint = False diff --git a/designer/anchoreditor.lrs b/designer/anchoreditor.lrs index 9d32a739a1..ba4c36c0a4 100644 --- a/designer/anchoreditor.lrs +++ b/designer/anchoreditor.lrs @@ -7,107 +7,120 @@ LazarusResources.Add('TAnchorDesigner','FORMDATA',[ +'nerDestroy'#6'OnShow'#7#18'AnchorDesignerShow'#13'PixelsPerInch'#2'Z'#18'Ho' +'rzScrollBar.Page'#3#7#2#18'VertScrollBar.Page'#3#2#1#4'Left'#3'"'#1#6'Heigh' +'t'#3#3#1#3'Top'#3#163#0#5'Width'#3#8#2#0#9'TGroupBox'#19'BorderSpaceGroupBo' - +'x'#7'Anchors'#11#5'akTop'#6'akLeft'#8'akBottom'#0#7'Caption'#6#19'BorderSpa' - +'ceGroupBox'#12'ClientHeight'#2'W'#11'ClientWidth'#3#168#0#11'ParentColor'#9 - +#8'TabOrder'#2#0#4'Left'#3#172#0#6'Height'#2'h'#3'Top'#2'P'#5'Width'#3#172#0 - +#0#9'TSpinEdit'#23'LeftBorderSpaceSpinEdit'#14'Decimal_Places'#2#0#8'MaxValu' - +'e'#5#0#0#0#0#0#0#0#200#5'@'#8'OnChange'#7#25'BorderSpaceSpinEditChange'#14 - +'ParentShowHint'#8#8'ShowHint'#9#7'TabStop'#9#8'TabOrder'#2#0#6'Height'#2#20 - +#3'Top'#2#30#5'Width'#2'2'#0#0#9'TSpinEdit'#24'RightBorderSpaceSpinEdit'#14 - +'Decimal_Places'#2#0#8'MaxValue'#5#0#0#0#0#0#0#0#200#5'@'#8'OnChange'#7#25'B' - +'orderSpaceSpinEditChange'#14'ParentShowHint'#8#8'ShowHint'#9#7'TabStop'#9#8 - +'TabOrder'#2#1#4'Left'#2'v'#6'Height'#2#20#3'Top'#2#30#5'Width'#2'2'#0#0#9'T' - +'SpinEdit'#22'TopBorderSpaceSpinEdit'#14'Decimal_Places'#2#0#8'MaxValue'#5#0 - +#0#0#0#0#0#0#200#5'@'#8'OnChange'#7#25'BorderSpaceSpinEditChange'#14'ParentS' - +'howHint'#8#8'ShowHint'#9#7'TabStop'#9#8'TabOrder'#2#2#4'Left'#2':'#6'Height' - +#2#20#5'Width'#2'2'#0#0#9'TSpinEdit'#25'BottomBorderSpaceSpinEdit'#14'Decima' - +'l_Places'#2#0#8'MaxValue'#5#0#0#0#0#0#0#0#200#5'@'#8'OnChange'#7#25'BorderS' - +'paceSpinEditChange'#14'ParentShowHint'#8#8'ShowHint'#9#7'TabStop'#9#8'TabOr' - +'der'#2#3#4'Left'#2':'#6'Height'#2#20#3'Top'#2'9'#5'Width'#2'2'#0#0#9'TSpinE' - +'dit'#25'AroundBorderSpaceSpinEdit'#14'Decimal_Places'#2#0#8'MaxValue'#5#0#0 - +#0#0#0#0#0#200#5'@'#8'OnChange'#7#25'BorderSpaceSpinEditChange'#14'ParentSho' - +'wHint'#8#8'ShowHint'#9#7'TabStop'#9#8'TabOrder'#2#4#4'Left'#2':'#6'Height'#2 - +#20#3'Top'#2#30#5'Width'#2'2'#0#0#0#9'TGroupBox'#11'TopGroupBox'#7'Anchors' - +#11#5'akTop'#6'akLeft'#7'akRight'#0#7'Caption'#6#11'TopGroupBox'#12'ClientHe' - +'ight'#2'!'#11'ClientWidth'#3#148#1#11'ParentColor'#9#8'TabOrder'#2#1#4'Left' - +#2'@'#6'Height'#2'2'#5'Width'#3#152#1#0#12'TSpeedButton'#20'TopRefTopSpeedBu' - +'tton'#7'Anchors'#11#5'akTop'#7'akRight'#0#10'GroupIndex'#2#1#9'NumGlyphs'#2 - +#0#7'OnClick'#7#26'ReferenceSideButtonClicked'#8'ShowHint'#9#14'ParentShowHi' - +'nt'#8#4'Left'#3'('#1#6'Height'#2#30#5'Width'#2#30#0#0#12'TSpeedButton'#23'T' - +'opRefBottomSpeedButton'#7'Anchors'#11#5'akTop'#7'akRight'#0#10'GroupIndex'#2 - +#1#9'NumGlyphs'#2#0#7'OnClick'#7#26'ReferenceSideButtonClicked'#8'ShowHint'#9 - +#14'ParentShowHint'#8#4'Left'#3'K'#1#6'Height'#2#30#5'Width'#2#30#0#0#12'TSp' - +'eedButton'#23'TopRefCenterSpeedButton'#7'Anchors'#11#5'akTop'#7'akRight'#0 - +#10'GroupIndex'#2#1#9'NumGlyphs'#2#0#7'OnClick'#7#26'ReferenceSideButtonClic' - +'ked'#8'ShowHint'#9#14'ParentShowHint'#8#4'Left'#3'n'#1#6'Height'#2#30#5'Wid' - +'th'#2#30#0#0#6'TLabel'#15'TopSiblingLabel'#8'AutoSize'#9#7'Caption'#6#7'Sib' - +'ling'#11'ParentColor'#9#4'Left'#2'^'#6'Height'#2#12#3'Top'#2#4#5'Width'#2'&' - +#0#0#9'TCheckBox'#19'TopAnchoredCheckBox'#7'Caption'#6#7'Enabled'#8'OnChange' - +#7#27'AnchorEnabledCheckBoxChange'#8'TabOrder'#2#0#11'UseOnChange'#9#4'Left' - +#2#2#6'Height'#2#24#5'Width'#2'F'#0#0#9'TComboBox'#18'TopSiblingComboBox'#7 - +'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0#9'MaxLength'#2#0#8'OnChange'#7 - +#21'SiblingComboBoxChange'#14'ParentShowHint'#8#8'ShowHint'#9#8'TabOrder'#2#1 - +#4'Text'#6#18'TopSiblingComboBox'#4'Left'#3#158#0#6'Height'#2#25#5'Width'#3 - +#129#0#0#0#0#9'TGroupBox'#14'BottomGroupBox'#7'Anchors'#11#6'akLeft'#7'akRig' - +'ht'#8'akBottom'#0#7'Caption'#6#14'BottomGroupBox'#12'ClientHeight'#2'!'#11 - +'ClientWidth'#3#148#1#11'ParentColor'#9#8'TabOrder'#2#2#4'Left'#2'@'#6'Heigh' - +'t'#2'2'#3'Top'#3#200#0#5'Width'#3#152#1#0#12'TSpeedButton'#23'BottomRefTopS' - +'peedButton'#7'Anchors'#11#5'akTop'#7'akRight'#0#10'GroupIndex'#2#3#9'NumGly' - +'phs'#2#0#7'OnClick'#7#26'ReferenceSideButtonClicked'#8'ShowHint'#9#14'Paren' - +'tShowHint'#8#4'Left'#3'('#1#6'Height'#2#30#5'Width'#2#30#0#0#12'TSpeedButto' - +'n'#26'BottomRefBottomSpeedButton'#7'Anchors'#11#5'akTop'#7'akRight'#0#10'Gr' - +'oupIndex'#2#3#9'NumGlyphs'#2#0#7'OnClick'#7#26'ReferenceSideButtonClicked'#8 - +'ShowHint'#9#14'ParentShowHint'#8#4'Left'#3'K'#1#6'Height'#2#30#5'Width'#2#30 - +#0#0#12'TSpeedButton'#26'BottomRefCenterSpeedButton'#7'Anchors'#11#5'akTop'#7 - +'akRight'#0#10'GroupIndex'#2#3#9'NumGlyphs'#2#0#7'OnClick'#7#26'ReferenceSid' - +'eButtonClicked'#8'ShowHint'#9#14'ParentShowHint'#8#4'Left'#3'n'#1#6'Height' - +#2#30#5'Width'#2#30#0#0#6'TLabel'#18'BottomSiblingLabel'#8'AutoSize'#9#7'Cap' - +'tion'#6#7'Sibling'#11'ParentColor'#9#4'Left'#2'^'#6'Height'#2#12#3'Top'#2#8 - +#5'Width'#2'&'#0#0#9'TCheckBox'#22'BottomAnchoredCheckBox'#7'Caption'#6#7'En' - +'abled'#8'OnChange'#7#27'AnchorEnabledCheckBoxChange'#8'TabOrder'#2#0#11'Use' - ,'OnChange'#9#4'Left'#2#2#6'Height'#2#24#5'Width'#2'F'#0#0#9'TComboBox'#21'Bo' - +'ttomSiblingComboBox'#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0#9'MaxLen' - +'gth'#2#0#8'OnChange'#7#21'SiblingComboBoxChange'#14'ParentShowHint'#8#8'Sho' - +'wHint'#9#8'TabOrder'#2#1#4'Text'#6#21'BottomSiblingComboBox'#4'Left'#3#158#0 - +#6'Height'#2#25#5'Width'#3#129#0#0#0#0#9'TGroupBox'#13'RightGroupBox'#7'Anch' - +'ors'#11#5'akTop'#6'akLeft'#8'akBottom'#0#7'Caption'#6#13'RightGroupBox'#12 - +'ClientHeight'#2'p'#11'ClientWidth'#3#146#0#11'ParentColor'#9#8'TabOrder'#2#3 - +#4'Left'#3'l'#1#6'Height'#3#129#0#3'Top'#2'@'#5'Width'#3#150#0#0#12'TSpeedBu' - +'tton'#23'RightRefLeftSpeedButton'#10'GroupIndex'#2#4#9'NumGlyphs'#2#0#7'OnC' - +'lick'#7#26'ReferenceSideButtonClicked'#8'ShowHint'#9#14'ParentShowHint'#8#4 - +'Left'#2#5#6'Height'#2#30#3'Top'#2'Q'#5'Width'#2#30#0#0#12'TSpeedButton'#24 - +'RightRefRightSpeedButton'#10'GroupIndex'#2#4#9'NumGlyphs'#2#0#7'OnClick'#7 + +'x'#7'Anchors'#11#5'akTop'#6'akLeft'#8'akBottom'#0#22'BorderSpacing.OnChange' + +#13#7'Caption'#6#19'BorderSpaceGroupBox'#12'ClientHeight'#2'W'#11'ClientWidt' + +'h'#3#168#0#11'ParentColor'#9#8'TabOrder'#2#0#4'Left'#3#172#0#6'Height'#2'h' + +#3'Top'#2'P'#5'Width'#3#172#0#0#9'TSpinEdit'#23'LeftBorderSpaceSpinEdit'#22 + +'BorderSpacing.OnChange'#13#14'Decimal_Places'#2#0#8'MaxValue'#5#0#0#0#0#0#0 + +#0#200#5'@'#8'OnChange'#7#25'BorderSpaceSpinEditChange'#14'ParentShowHint'#8 + +#8'ShowHint'#9#7'TabStop'#9#8'TabOrder'#2#0#6'Height'#2#20#3'Top'#2#30#5'Wid' + +'th'#2'2'#0#0#9'TSpinEdit'#24'RightBorderSpaceSpinEdit'#22'BorderSpacing.OnC' + +'hange'#13#14'Decimal_Places'#2#0#8'MaxValue'#5#0#0#0#0#0#0#0#200#5'@'#8'OnC' + +'hange'#7#25'BorderSpaceSpinEditChange'#14'ParentShowHint'#8#8'ShowHint'#9#7 + +'TabStop'#9#8'TabOrder'#2#1#4'Left'#2'v'#6'Height'#2#20#3'Top'#2#30#5'Width' + +#2'2'#0#0#9'TSpinEdit'#22'TopBorderSpaceSpinEdit'#22'BorderSpacing.OnChange' + +#13#14'Decimal_Places'#2#0#8'MaxValue'#5#0#0#0#0#0#0#0#200#5'@'#8'OnChange'#7 + +#25'BorderSpaceSpinEditChange'#14'ParentShowHint'#8#8'ShowHint'#9#7'TabStop' + +#9#8'TabOrder'#2#2#4'Left'#2':'#6'Height'#2#20#5'Width'#2'2'#0#0#9'TSpinEdit' + +#25'BottomBorderSpaceSpinEdit'#22'BorderSpacing.OnChange'#13#14'Decimal_Plac' + +'es'#2#0#8'MaxValue'#5#0#0#0#0#0#0#0#200#5'@'#8'OnChange'#7#25'BorderSpaceSp' + +'inEditChange'#14'ParentShowHint'#8#8'ShowHint'#9#7'TabStop'#9#8'TabOrder'#2 + +#3#4'Left'#2':'#6'Height'#2#20#3'Top'#2'9'#5'Width'#2'2'#0#0#9'TSpinEdit'#25 + +'AroundBorderSpaceSpinEdit'#22'BorderSpacing.OnChange'#13#14'Decimal_Places' + +#2#0#8'MaxValue'#5#0#0#0#0#0#0#0#200#5'@'#8'OnChange'#7#25'BorderSpaceSpinEd' + +'itChange'#14'ParentShowHint'#8#8'ShowHint'#9#7'TabStop'#9#8'TabOrder'#2#4#4 + +'Left'#2':'#6'Height'#2#20#3'Top'#2#30#5'Width'#2'2'#0#0#0#9'TGroupBox'#11'T' + +'opGroupBox'#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0#22'BorderSpacing.' + +'OnChange'#13#7'Caption'#6#11'TopGroupBox'#12'ClientHeight'#2'!'#11'ClientWi' + +'dth'#3#148#1#11'ParentColor'#9#8'TabOrder'#2#1#4'Left'#2'@'#6'Height'#2'2'#5 + +'Width'#3#152#1#0#12'TSpeedButton'#20'TopRefTopSpeedButton'#7'Anchors'#11#5 + +'akTop'#7'akRight'#0#22'BorderSpacing.OnChange'#13#10'GroupIndex'#2#1#9'NumG' + +'lyphs'#2#0#7'OnClick'#7#26'ReferenceSideButtonClicked'#8'ShowHint'#9#14'Par' + +'entShowHint'#8#4'Left'#3'('#1#6'Height'#2#30#5'Width'#2#30#0#0#12'TSpeedBut' + +'ton'#23'TopRefBottomSpeedButton'#7'Anchors'#11#5'akTop'#7'akRight'#0#22'Bor' + +'derSpacing.OnChange'#13#10'GroupIndex'#2#1#9'NumGlyphs'#2#0#7'OnClick'#7#26 + +'ReferenceSideButtonClicked'#8'ShowHint'#9#14'ParentShowHint'#8#4'Left'#3'K' + +#1#6'Height'#2#30#5'Width'#2#30#0#0#12'TSpeedButton'#23'TopRefCenterSpeedBut' + +'ton'#7'Anchors'#11#5'akTop'#7'akRight'#0#22'BorderSpacing.OnChange'#13#10'G' + +'roupIndex'#2#1#9'NumGlyphs'#2#0#7'OnClick'#7#26'ReferenceSideButtonClicked' + +#8'ShowHint'#9#14'ParentShowHint'#8#4'Left'#3'n'#1#6'Height'#2#30#5'Width'#2 + +#30#0#0#6'TLabel'#15'TopSiblingLabel'#8'AutoSize'#9#22'BorderSpacing.OnChang' + +'e'#13#7'Caption'#6#7'Sibling'#11'ParentColor'#9#4'Left'#2'^'#6'Height'#2#12 + +#3'Top'#2#4#5'Width'#2'&'#0#0#9'TCheckBox'#19'TopAnchoredCheckBox'#22'Border' + +'Spacing.OnChange'#13#7'Caption'#6#7'Enabled'#8'OnChange'#7#27'AnchorEnabled' + +'CheckBoxChange'#8'TabOrder'#2#0#11'UseOnChange'#9#4'Left'#2#2#6'Height'#2#24 + +#5'Width'#2'F'#0#0#9'TComboBox'#18'TopSiblingComboBox'#7'Anchors'#11#5'akTop' + +#6'akLeft'#7'akRight'#0#22'BorderSpacing.OnChange'#13#9'MaxLength'#2#0#8'OnC' + +'hange'#7#21'SiblingComboBoxChange'#14'ParentShowHint'#8#8'ShowHint'#9#8'Tab' + +'Order'#2#1#4'Text'#6#18'TopSiblingComboBox'#4'Left'#3#158#0#6'Height'#2#25#5 + +'Width'#3#129#0#0#0#0#9'TGroupBox'#14'BottomGroupBox'#7'Anchors'#11#6'akLeft' + +#7'akRight'#8'akBottom'#0#22'BorderSpacing.OnChange'#13#7'Caption'#6#14'Bott' + +'omGroupBox'#12'ClientHeight'#2'!'#11'ClientWidth'#3#148#1#11'ParentColor'#9 + +#8'TabOrder'#2#2#4'Left'#2'@'#6'Height'#2'2'#3'Top'#3#200#0#5'Width'#3#152#1 + +#0#12'TSpeedButton'#23'BottomRefTopSpeedButton'#7'Anchors'#11#5'akTop'#7'akR' + +'ight'#0#22'BorderSpacing.OnChange'#13#10'GroupIndex'#2#3#9'NumGlyphs'#2#0#7 + +'OnClick'#7#26'ReferenceSideButtonClicked'#8'ShowHint'#9#14'ParentShowHint'#8 + +#4'Left'#3'('#1#6'Height'#2#30#5'Width'#2#30#0#0#12'TSpeedButton'#26'BottomR' + +'efBottomSpeedButton'#7'Anchors'#11#5'akTop'#7'akRight'#0#22'BorderSpacing.O' + +'nChange'#13#10'GroupIndex'#2#3#9'NumGlyphs'#2#0#7'OnClick'#7#26'ReferenceSi' + +'deButtonClicked'#8'ShowHint'#9#14'ParentShowHint'#8#4'Left'#3'K'#1#6'Height' + +#2#30#5'Width'#2#30#0#0#12'TSpeedButton'#26'BottomRefCenterSpeedButton'#7'An' + ,'chors'#11#5'akTop'#7'akRight'#0#22'BorderSpacing.OnChange'#13#10'GroupIndex' + +#2#3#9'NumGlyphs'#2#0#7'OnClick'#7#26'ReferenceSideButtonClicked'#8'ShowHint' + +#9#14'ParentShowHint'#8#4'Left'#3'n'#1#6'Height'#2#30#5'Width'#2#30#0#0#6'TL' + +'abel'#18'BottomSiblingLabel'#8'AutoSize'#9#22'BorderSpacing.OnChange'#13#7 + +'Caption'#6#7'Sibling'#11'ParentColor'#9#4'Left'#2'^'#6'Height'#2#12#3'Top'#2 + +#8#5'Width'#2'&'#0#0#9'TCheckBox'#22'BottomAnchoredCheckBox'#22'BorderSpacin' + +'g.OnChange'#13#7'Caption'#6#7'Enabled'#8'OnChange'#7#27'AnchorEnabledCheckB' + +'oxChange'#8'TabOrder'#2#0#11'UseOnChange'#9#4'Left'#2#2#6'Height'#2#24#5'Wi' + +'dth'#2'F'#0#0#9'TComboBox'#21'BottomSiblingComboBox'#7'Anchors'#11#5'akTop' + +#6'akLeft'#7'akRight'#0#22'BorderSpacing.OnChange'#13#9'MaxLength'#2#0#8'OnC' + +'hange'#7#21'SiblingComboBoxChange'#14'ParentShowHint'#8#8'ShowHint'#9#8'Tab' + +'Order'#2#1#4'Text'#6#21'BottomSiblingComboBox'#4'Left'#3#158#0#6'Height'#2 + +#25#5'Width'#3#129#0#0#0#0#9'TGroupBox'#13'RightGroupBox'#7'Anchors'#11#5'ak' + +'Top'#6'akLeft'#8'akBottom'#0#22'BorderSpacing.OnChange'#13#7'Caption'#6#13 + +'RightGroupBox'#12'ClientHeight'#2'p'#11'ClientWidth'#3#146#0#11'ParentColor' + +#9#8'TabOrder'#2#3#4'Left'#3'l'#1#6'Height'#3#129#0#3'Top'#2'@'#5'Width'#3 + +#150#0#0#12'TSpeedButton'#23'RightRefLeftSpeedButton'#22'BorderSpacing.OnCha' + +'nge'#13#10'GroupIndex'#2#4#9'NumGlyphs'#2#0#7'OnClick'#7#26'ReferenceSideBu' + +'ttonClicked'#8'ShowHint'#9#14'ParentShowHint'#8#4'Left'#2#5#6'Height'#2#30#3 + +'Top'#2'Q'#5'Width'#2#30#0#0#12'TSpeedButton'#24'RightRefRightSpeedButton'#22 + +'BorderSpacing.OnChange'#13#10'GroupIndex'#2#4#9'NumGlyphs'#2#0#7'OnClick'#7 +#26'ReferenceSideButtonClicked'#8'ShowHint'#9#14'ParentShowHint'#8#4'Left'#2 +'('#6'Height'#2#30#3'Top'#2'Q'#5'Width'#2#30#0#0#12'TSpeedButton'#25'RightRe' - +'fCenterSpeedButton'#10'GroupIndex'#2#4#9'NumGlyphs'#2#0#7'OnClick'#7#26'Ref' - +'erenceSideButtonClicked'#8'ShowHint'#9#14'ParentShowHint'#8#4'Left'#2'K'#6 - +'Height'#2#30#3'Top'#2'Q'#5'Width'#2#30#0#0#6'TLabel'#17'RightSiblingLabel'#8 - +'AutoSize'#9#7'Caption'#6#7'Sibling'#11'ParentColor'#9#4'Left'#2#2#6'Height' - +#2#12#3'Top'#2#28#5'Width'#2'&'#0#0#9'TCheckBox'#21'RightAnchoredCheckBox'#7 - +'Caption'#6#7'Enabled'#8'OnChange'#7#27'AnchorEnabledCheckBoxChange'#8'TabOr' - +'der'#2#0#11'UseOnChange'#9#4'Left'#2#2#6'Height'#2#24#5'Width'#2'F'#0#0#9'T' - +'ComboBox'#20'RightSiblingComboBox'#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRig' - +'ht'#0#9'MaxLength'#2#0#8'OnChange'#7#21'SiblingComboBoxChange'#14'ParentSho' - +'wHint'#8#8'ShowHint'#9#4'Text'#6#20'RightSiblingComboBox'#4'Left'#2#5#6'Hei' - +'ght'#2#25#3'Top'#2'1'#5'Width'#3#135#0#0#0#0#9'TGroupBox'#12'LeftGroupBox'#7 - +'Anchors'#11#5'akTop'#6'akLeft'#8'akBottom'#0#7'Caption'#6#12'LeftGroupBox' - +#12'ClientHeight'#2'p'#11'ClientWidth'#3#146#0#11'ParentColor'#9#8'TabOrder' - +#2#4#4'Left'#2#8#6'Height'#3#129#0#3'Top'#2'@'#5'Width'#3#150#0#0#12'TSpeedB' - +'utton'#22'LeftRefLeftSpeedButton'#10'GroupIndex'#2#2#9'NumGlyphs'#2#0#7'OnC' - +'lick'#7#26'ReferenceSideButtonClicked'#8'ShowHint'#9#14'ParentShowHint'#8#4 - +'Left'#2#5#6'Height'#2#30#3'Top'#2'Q'#5'Width'#2#30#0#0#12'TSpeedButton'#23 - +'LeftRefRightSpeedButton'#10'GroupIndex'#2#2#9'NumGlyphs'#2#0#7'OnClick'#7#26 - +'ReferenceSideButtonClicked'#8'ShowHint'#9#14'ParentShowHint'#8#4'Left'#2'(' - +#6'Height'#2#30#3'Top'#2'Q'#5'Width'#2#30#0#0#12'TSpeedButton'#24'LeftRefCen' - +'terSpeedButton'#10'GroupIndex'#2#2#9'NumGlyphs'#2#0#7'OnClick'#7#26'Referen' - +'ceSideButtonClicked'#8'ShowHint'#9#14'ParentShowHint'#8#4'Left'#2'K'#6'Heig' - +'ht'#2#30#3'Top'#2'Q'#5'Width'#2#30#0#0#6'TLabel'#16'LeftSiblingLabel'#8'Aut' - +'oSize'#9#7'Caption'#6#7'Sibling'#11'ParentColor'#9#4'Left'#2#2#6'Height'#2 - +#12#3'Top'#2#28#5'Width'#2'&'#0#0#9'TCheckBox'#20'LeftAnchoredCheckBox'#7'Ca' - +'ption'#6#7'Enabled'#8'OnChange'#7#27'AnchorEnabledCheckBoxChange'#8'TabOrde' - +'r'#2#0#11'UseOnChange'#9#4'Left'#2#2#6'Height'#2#24#5'Width'#2'F'#0#0#9'TCo' - +'mboBox'#19'LeftSiblingComboBox'#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight' - +#0#9'MaxLength'#2#0#8'OnChange'#7#21'SiblingComboBoxChange'#14'ParentShowHin' - +'t'#8#8'ShowHint'#9#4'Text'#6#19'LeftSiblingComboBox'#4'Left'#2#5#6'Height'#2 - +#25#3'Top'#2'1'#5'Width'#3#134#0#0#0#0#0 + +'fCenterSpeedButton'#22'BorderSpacing.OnChange'#13#10'GroupIndex'#2#4#9'NumG' + +'lyphs'#2#0#7'OnClick'#7#26'ReferenceSideButtonClicked'#8'ShowHint'#9#14'Par' + +'entShowHint'#8#4'Left'#2'K'#6'Height'#2#30#3'Top'#2'Q'#5'Width'#2#30#0#0#6 + +'TLabel'#17'RightSiblingLabel'#8'AutoSize'#9#22'BorderSpacing.OnChange'#13#7 + +'Caption'#6#7'Sibling'#11'ParentColor'#9#4'Left'#2#2#6'Height'#2#12#3'Top'#2 + +#28#5'Width'#2'&'#0#0#9'TCheckBox'#21'RightAnchoredCheckBox'#22'BorderSpacin' + +'g.OnChange'#13#7'Caption'#6#7'Enabled'#8'OnChange'#7#27'AnchorEnabledCheckB' + +'oxChange'#8'TabOrder'#2#0#11'UseOnChange'#9#4'Left'#2#2#6'Height'#2#24#5'Wi' + +'dth'#2'F'#0#0#9'TComboBox'#20'RightSiblingComboBox'#7'Anchors'#11#5'akTop'#6 + +'akLeft'#7'akRight'#0#22'BorderSpacing.OnChange'#13#9'MaxLength'#2#0#8'OnCha' + +'nge'#7#21'SiblingComboBoxChange'#14'ParentShowHint'#8#8'ShowHint'#9#4'Text' + +#6#20'RightSiblingComboBox'#4'Left'#2#5#6'Height'#2#25#3'Top'#2'1'#5'Width'#3 + +#135#0#0#0#0#9'TGroupBox'#12'LeftGroupBox'#7'Anchors'#11#5'akTop'#6'akLeft'#8 + +'akBottom'#0#22'BorderSpacing.OnChange'#13#7'Caption'#6#12'LeftGroupBox'#12 + +'ClientHeight'#2'p'#11'ClientWidth'#3#146#0#11'ParentColor'#9#8'TabOrder'#2#4 + +#4'Left'#2#8#6'Height'#3#129#0#3'Top'#2'@'#5'Width'#3#150#0#0#12'TSpeedButto' + +'n'#22'LeftRefLeftSpeedButton'#22'BorderSpacing.OnChange'#13#10'GroupIndex'#2 + +#2#9'NumGlyphs'#2#0#7'OnClick'#7#26'ReferenceSideButtonClicked'#8'ShowHint'#9 + +#14'ParentShowHint'#8#4'Left'#2#5#6'Height'#2#30#3'Top'#2'Q'#5'Width'#2#30#0 + +#0#12'TSpeedButton'#23'LeftRefRightSpeedButton'#22'BorderSpacing.OnChange'#13 + +#10'GroupIndex'#2#2#9'NumGlyphs'#2#0#7'OnClick'#7#26'ReferenceSideButtonClic' + +'ked'#8'ShowHint'#9#14'ParentShowHint'#8#4'Left'#2'('#6'Height'#2#30#3'Top'#2 + +'Q'#5'Width'#2#30#0#0#12'TSpeedButton'#24'LeftRefCenterSpeedButton'#22'Borde' + +'rSpacing.OnChange'#13#10'GroupIndex'#2#2#9'NumGlyphs'#2#0#7'OnClick'#7#26'R' + +'eferenceSideButtonClicked'#8'ShowHint'#9#14'ParentShowHint'#8#4'Left'#2'K'#6 + +'Height'#2#30#3'Top'#2'Q'#5'Width'#2#30#0#0#6'TLabel'#16'LeftSiblingLabel'#8 + +'AutoSize'#9#22'BorderSpacing.OnChange'#13#7'Caption'#6#7'Sibling'#11'Parent' + +'Color'#9#4'Left'#2#2#6'Height'#2#12#3'Top'#2#28#5'Width'#2'&'#0#0#9'TCheckB' + +'ox'#20'LeftAnchoredCheckBox'#22'BorderSpacing.OnChange'#13#7'Caption'#6#7'E' + +'nabled'#8'OnChange'#7#27'AnchorEnabledCheckBoxChange'#8'TabOrder'#2#0#11'Us' + +'eOnChange'#9#4'Left'#2#2#6'Height'#2#24#5'Width'#2'F'#0#0#9'TComboBox'#19'L' + +'eftSiblingComboBox'#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0#22'Border' + +'Spacing.OnChange'#13#9'MaxLength'#2#0#8'OnChange'#7#21'SiblingComboBoxChang' + +'e'#14'ParentShowHint'#8#8'ShowHint'#9#4'Text'#6#19'LeftSiblingComboBox'#4'L' + +'eft'#2#5#6'Height'#2#25#3'Top'#2'1'#5'Width'#3#134#0#0#0#0#0 ]); diff --git a/designer/anchoreditor.pas b/designer/anchoreditor.pas index ddc82d61ae..679c0606e8 100644 --- a/designer/anchoreditor.pas +++ b/designer/anchoreditor.pas @@ -341,6 +341,7 @@ begin else CurControl.BorderSpacing.Space[Kind]:=NewValue; end; + //GlobalDesignHook.Modified(Self); GlobalDesignHook.RefreshPropertyValues; end; end; @@ -371,8 +372,12 @@ begin CurSide:=Values.Sides[Kind]; if CurSide.AmbigiousSibling or (CompareText(CurSide.Sibling,NewValue)<>0) then begin - NewSibling:=FindSibling(NewValue); - if NewSibling=nil then exit; + if (NewValue<>AnchorDesignerNoSiblingText) then begin + NewSibling:=FindSibling(NewValue); + if NewSibling=nil then exit; + end else begin + NewSibling:=nil; + end; debugln('TAnchorDesigner.SiblingComboBoxChange ',DbgSName(Sender),' NewSibling=',DbgSName(NewSibling)); // user changed a sibling SelectedControls:=GetSelectedControls; @@ -445,7 +450,6 @@ begin Side:=asrBottom; end else exit; - if not TSpeedButton(Sender).Down then exit; CurSide:=Values.Sides[Kind]; if CurSide.AmbigiousSide or (CurSide.Side<>Side) then begin @@ -475,6 +479,7 @@ var j: Integer; Sibling: TControl; SelectedControls: TList; + OldText: String; begin sl:=TStringList.Create; sl.Add(AnchorDesignerNoSiblingText); @@ -494,7 +499,9 @@ begin end; end; end; + OldText:=AComboBox.Text; AComboBox.Items.Assign(sl); + AComboBox.Text:=OldText; sl.Free; end; @@ -555,7 +562,9 @@ begin TopBorderSpaceSpinEdit.ValueEmpty:=CurSide.AmbigiousBorderSpace; Sibling:=CurSide.Sibling; TopSiblingComboBox.Text:=Sibling; + debugln('TAnchorDesigner.Refresh A TopSiblingComboBox.Text=',TopSiblingComboBox.Text,' Sibling=',Sibling); FillComboBoxWithSiblings(TopSiblingComboBox); + debugln('TAnchorDesigner.Refresh B TopSiblingComboBox.Text=',TopSiblingComboBox.Text,' Sibling=',Sibling); TopRefBottomSpeedButton.Enabled:=Sibling<>''; TopRefBottomSpeedButton.Down:=(CurSide.Side=asrBottom); TopRefCenterSpeedButton.Enabled:=Sibling<>''; diff --git a/images/designer/anchorcenterhorizontal.xpm b/images/designer/anchorcenterhorizontal.xpm index b39fb46b4c..9c3f74684b 100644 --- a/images/designer/anchorcenterhorizontal.xpm +++ b/images/designer/anchorcenterhorizontal.xpm @@ -18,15 +18,15 @@ static char * anchorcenterhorizontal_xpm[] = { "' c #F8F8F8", ") c #C5C5C5", "! c #BBBBBB", -"~ c #CFCFCF", -"{ c #BABABA", -"] c #FEFEFE", -"^ c #7C7C7C", -"/ c #8B8B8B", -"( c #767676", -"_ c #828282", -": c #878787", -"< c #7A7A7A", +"~ c #0C00FF", +"{ c #CFCFCF", +"] c #BABABA", +"^ c #FEFEFE", +"/ c #7C7C7C", +"( c #8B8B8B", +"_ c #767676", +": c #828282", +"< c #878787", "[ c #7F7F7F", "} c #888888", "| c #7D7D7D", @@ -38,34 +38,34 @@ static char * anchorcenterhorizontal_xpm[] = { "6 c #F0F0F0", "7 c #FCFCFC", "8 c #030303", -"9 c #C7C7C7", -"0 c #C4C4C4", +"9 c #C4C4C4", +"0 c #C7C7C7", "a c #B9B9B9", "b c #B6B6B6", "c c #B7B7B7", " .+@#$+@#$%&*= ", " -;%>,;%>,%&*= ", -" '&)!%&)!%%&*= ", -" '&)!%&)!%%&*= ", -" -;%>,;%>,%&*= ", -" .+@#$+@#$%&*= ", -" -%;,)%;,)%&*= ", -" -%;,)%&~{%&*= ", -" ]^/(_:<[[}|1= ", -" =2=3=4====2= ", -" ", -" ", -" ", -" ", -" ", -" ", -" '-5--6-----------7-8 ", -" -%;,)%&%&90%%&&%%&*= ", -" .+@#$90%%,a%%&0%%&*= ", -" -;%>,,a%%0>%%&a%%&*= ", -" '&)!%0>%%)@%%&>%%&*= ", -" '&)!%)@%%,>%%&@%%&*= ", -" -;%>,,>%%a0%%&>%%&*= ", -" .+@#$a0%%~{%%&0%%&*= ", -" -%;,)~{%%&>#b~{%%&*= ", -" -%;,)%&;+c>#b~{%%&*= "}; +" '&)!%&~!%%&*= ", +" '&)!%&~!%%&*= ", +" -;%>,;~>,%&*= ", +" .+@#$+~#$%&*= ", +" -%;,)%~,)%&*= ", +" -%;,)%~{]%&*= ", +" ^/(_:<~[[}|1= ", +" =2=3=4~===2= ", +" ~ ", +" ~ ", +" ~ ", +" ~ ", +" ~ ", +" ~ ", +" '-5--6---~-------7-8 ", +" -%;,)%&%&~9%%&&%%&*= ", +" .+@#$09%%~a%%&9%%&*= ", +" -;%>,,a%%~>%%&a%%&*= ", +" '&)!%9>%%~@%%&>%%&*= ", +" '&)!%)@%%~>%%&@%%&*= ", +" -;%>,,>%%~9%%&>%%&*= ", +" .+@#$a9%%~]%%&9%%&*= ", +" -%;,){]%%&>#b{]%%&*= ", +" -%;,)%&;+c>#b{]%%&*= "}; diff --git a/images/designer/anchorcentervertical.xpm b/images/designer/anchorcentervertical.xpm index 416c5f5251..b6a4346d10 100644 --- a/images/designer/anchorcentervertical.xpm +++ b/images/designer/anchorcentervertical.xpm @@ -1,6 +1,6 @@ /* XPM */ static char * anchorcentervertical_xpm[] = { -"26 26 42 1", +"26 26 43 1", " c None", ". c #FFFFFF", "+ c #FCFCFC", @@ -29,20 +29,21 @@ static char * anchorcentervertical_xpm[] = { "< c #BBBBBB", "[ c #B6B6B6", "} c #B7B7B7", -"| c #FEFEFE", -"1 c #7C7C7C", -"2 c #8B8B8B", -"3 c #767676", -"4 c #828282", -"5 c #878787", -"6 c #7A7A7A", -"7 c #7F7F7F", -"8 c #020202", -"9 c #050505", -"0 c #010101", -"a c #888888", -"b c #7D7D7D", -"c c #898989", +"| c #0C00FF", +"1 c #FEFEFE", +"2 c #7C7C7C", +"3 c #8B8B8B", +"4 c #767676", +"5 c #828282", +"6 c #878787", +"7 c #7A7A7A", +"8 c #7F7F7F", +"9 c #020202", +"0 c #050505", +"a c #010101", +"b c #888888", +"c c #7D7D7D", +"d c #898989", " ", " ", " ", @@ -55,17 +56,17 @@ static char * anchorcentervertical_xpm[] = { ";$%%&>%%&*= .{%>-{%>-{", "_:%%&$%%&*= ,&!<%&!<%&", "&>/[_:%%&*= ,&!<%&!<%&", -"}>/[_:%%&*= .{%>-{%>-{", +"}|||||||||||||||||||||||-{", "-;%%&$%%&*= ]^~/(^~/(^", "$>%%&;%%&*= .%{-!%{-!%", "!~%%&>%%&*= .%{-!%&{^}", "->%%&~%%&*= .%{-!%{-!%", ";$%%&>%%&*= .%{-!%&{^}", -"_:%%&$%%&*= |123456777", -"&>/[_:%%&*= =8=9=0====", +"_:%%&$%%&*= 1234567888", +"&>/[_:%%&*= =9=0=a====", "^}>/[_:%&*= ", -"7777777abc= ", -"========8= ", +"8888888bcd= ", +"========9= ", " ", " ", " "}; diff --git a/images/laz_images.lrs b/images/laz_images.lrs index 2d35738ab5..fb3b4caebe 100644 --- a/images/laz_images.lrs +++ b/images/laz_images.lrs @@ -2400,29 +2400,29 @@ LazarusResources.Add('anchorcenterhorizontal','XPM',[ +'",'#10'"&'#9'c #BFBFBF",'#10'"*'#9'c #808080",'#10'"='#9'c #000000",'#10'"-' +#9'c #FFFFFF",'#10'";'#9'c #BCBCBC",'#10'">'#9'c #C0C0C0",'#10'",'#9'c #BDBD' +'BD",'#10'"'''#9'c #F8F8F8",'#10'")'#9'c #C5C5C5",'#10'"!'#9'c #BBBBBB",'#10 - +'"~'#9'c #CFCFCF",'#10'"{'#9'c #BABABA",'#10'"]'#9'c #FEFEFE",'#10'"^'#9'c #' - +'7C7C7C",'#10'"/'#9'c #8B8B8B",'#10'"('#9'c #767676",'#10'"_'#9'c #828282",' - +#10'":'#9'c #878787",'#10'"<'#9'c #7A7A7A",'#10'"['#9'c #7F7F7F",'#10'"}'#9 + +'"~'#9'c #0C00FF",'#10'"{'#9'c #CFCFCF",'#10'"]'#9'c #BABABA",'#10'"^'#9'c #' + +'FEFEFE",'#10'"/'#9'c #7C7C7C",'#10'"('#9'c #8B8B8B",'#10'"_'#9'c #767676",' + +#10'":'#9'c #828282",'#10'"<'#9'c #878787",'#10'"['#9'c #7F7F7F",'#10'"}'#9 +'c #888888",'#10'"|'#9'c #7D7D7D",'#10'"1'#9'c #898989",'#10'"2'#9'c #020202' +'",'#10'"3'#9'c #050505",'#10'"4'#9'c #010101",'#10'"5'#9'c #EFEFEF",'#10'"6' - +#9'c #F0F0F0",'#10'"7'#9'c #FCFCFC",'#10'"8'#9'c #030303",'#10'"9'#9'c #C7C7' - +'C7",'#10'"0'#9'c #C4C4C4",'#10'"a'#9'c #B9B9B9",'#10'"b'#9'c #B6B6B6",'#10 + +#9'c #F0F0F0",'#10'"7'#9'c #FCFCFC",'#10'"8'#9'c #030303",'#10'"9'#9'c #C4C4' + +'C4",'#10'"0'#9'c #C7C7C7",'#10'"a'#9'c #B9B9B9",'#10'"b'#9'c #B6B6B6",'#10 +'"c'#9'c #B7B7B7",'#10'" .+@#$+@#$%&*= ",'#10'" -;%>,;%>,%&*' - +'= ",'#10'" ''&)!%&)!%%&*= ",'#10'" ''&)!%&)!%%&*= ' - +' ",'#10'" -;%>,;%>,%&*= ",'#10'" .+@#$+@#$%&*= ",' - +#10'" -%;,)%;,)%&*= ",'#10'" -%;,)%&~{%&*= ",'#10'" ' - +' ]^/(_:<[[}|1= ",'#10'" =2=3=4====2= ",'#10'" ' - +' ",'#10'" ",'#10'" ' - +' ",'#10'" ",'#10'" ' - +' ",'#10'" ",'#10'" ''-5--6-----------7-8 ",' - +#10'" -%;,)%&%&90%%&&%%&*= ",'#10'" .+@#$90%%,a%%&0%%&*= ",'#10'" ' - +'-;%>,,a%%0>%%&a%%&*= ",'#10'" ''&)!%0>%%)@%%&>%%&*= ",'#10'" ''&)!%' - +')@%%,>%%&@%%&*= ",'#10'" -;%>,,>%%a0%%&>%%&*= ",'#10'" .+@#$a0%%~{%' - +'%&0%%&*= ",'#10'" -%;,)~{%%&>#b~{%%&*= ",'#10'" -%;,)%&;+c>#b~{%%&*' + +'= ",'#10'" ''&)!%&~!%%&*= ",'#10'" ''&)!%&~!%%&*= ' + +' ",'#10'" -;%>,;~>,%&*= ",'#10'" .+@#$+~#$%&*= ",' + +#10'" -%;,)%~,)%&*= ",'#10'" -%;,)%~{]%&*= ",'#10'" ' + +' ^/(_:<~[[}|1= ",'#10'" =2=3=4~===2= ",'#10'" ' + +' ~ ",'#10'" ~ ",'#10'" ~ ' + +' ",'#10'" ~ ",'#10'" ~ ' + +' ",'#10'" ~ ",'#10'" ''-5--6---~-------7-8 ",' + +#10'" -%;,)%&%&~9%%&&%%&*= ",'#10'" .+@#$09%%~a%%&9%%&*= ",'#10'" ' + +'-;%>,,a%%~>%%&a%%&*= ",'#10'" ''&)!%9>%%~@%%&>%%&*= ",'#10'" ''&)!%' + +')@%%~>%%&@%%&*= ",'#10'" -;%>,,>%%~9%%&>%%&*= ",'#10'" .+@#$a9%%~]%' + +'%&9%%&*= ",'#10'" -%;,){]%%&>#b{]%%&*= ",'#10'" -%;,)%&;+c>#b{]%%&*' +'= "};'#10 ]); LazarusResources.Add('anchorcentervertical','XPM',[ - '/* XPM */'#10'static char * anchorcentervertical_xpm[] = {'#10'"26 26 42 1",' + '/* XPM */'#10'static char * anchorcentervertical_xpm[] = {'#10'"26 26 43 1",' +#10'" '#9'c None",'#10'".'#9'c #FFFFFF",'#10'"+'#9'c #FCFCFC",'#10'"@'#9'c #' +'030303",'#10'"#'#9'c #C7C7C7",'#10'"$'#9'c #C4C4C4",'#10'"%'#9'c #C1C1C1",' +#10'"&'#9'c #BFBFBF",'#10'"*'#9'c #808080",'#10'"='#9'c #000000",'#10'"-'#9 @@ -2431,23 +2431,23 @@ LazarusResources.Add('anchorcentervertical','XPM',[ +'~'#9'c #BEBEBE",'#10'"{'#9'c #BCBCBC",'#10'"]'#9'c #F4F4F4",'#10'"^'#9'c #C' +'8C8C8",'#10'"/'#9'c #C6C6C6",'#10'"('#9'c #B8B8B8",'#10'"_'#9'c #CFCFCF",' +#10'":'#9'c #BABABA",'#10'"<'#9'c #BBBBBB",'#10'"['#9'c #B6B6B6",'#10'"}'#9 - +'c #B7B7B7",'#10'"|'#9'c #FEFEFE",'#10'"1'#9'c #7C7C7C",'#10'"2'#9'c #8B8B8B' - +'",'#10'"3'#9'c #767676",'#10'"4'#9'c #828282",'#10'"5'#9'c #878787",'#10'"6' - +#9'c #7A7A7A",'#10'"7'#9'c #7F7F7F",'#10'"8'#9'c #020202",'#10'"9'#9'c #0505' - +'05",'#10'"0'#9'c #010101",'#10'"a'#9'c #888888",'#10'"b'#9'c #7D7D7D",'#10 - +'"c'#9'c #898989",'#10'" ",'#10'" ' - +' ",'#10'" ",'#10'"........+.@ ' - +' ",'#10'"#$%%&&%%&*= ",'#10'"-;%%&$%%&*= ",'#10 - +'"$>%%&;%%&*= ,.''..)....",'#10'"!~%%&>%%&*= .%{-!%&%&~",'#10'"->%%&' - +'~%%&*= ]^~/(^~/(^",'#10'";$%%&>%%&*= .{%>-{%>-{",'#10'"_:%%&$%%&*= ' - +' ,&!<%&!<%&",'#10'"&>/[_:%%&*= ,&!<%&!<%&",'#10'"}>/[_:%%&*= .{%' - +'>-{%>-{",'#10'"-;%%&$%%&*= ]^~/(^~/(^",'#10'"$>%%&;%%&*= .%{-!%{-!%' - +'",'#10'"!~%%&>%%&*= .%{-!%&{^}",'#10'"->%%&~%%&*= .%{-!%{-!%",'#10 - +'";$%%&>%%&*= .%{-!%&{^}",'#10'"_:%%&$%%&*= |123456777",'#10'"&>/[_:' - +'%%&*= =8=9=0====",'#10'"^}>/[_:%&*= ",'#10'"7777777abc= ' - +' ",'#10'"========8= ",'#10'" ' - +' ",'#10'" ",'#10'" "' - +'};'#10 + +'c #B7B7B7",'#10'"|'#9'c #0C00FF",'#10'"1'#9'c #FEFEFE",'#10'"2'#9'c #7C7C7C' + +'",'#10'"3'#9'c #8B8B8B",'#10'"4'#9'c #767676",'#10'"5'#9'c #828282",'#10'"6' + +#9'c #878787",'#10'"7'#9'c #7A7A7A",'#10'"8'#9'c #7F7F7F",'#10'"9'#9'c #0202' + +'02",'#10'"0'#9'c #050505",'#10'"a'#9'c #010101",'#10'"b'#9'c #888888",'#10 + +'"c'#9'c #7D7D7D",'#10'"d'#9'c #898989",'#10'" ",' + +#10'" ",'#10'" ",'#10'"...' + +'.....+.@ ",'#10'"#$%%&&%%&*= ",'#10'"-;%%&$%%&*' + +'= ",'#10'"$>%%&;%%&*= ,.''..)....",'#10'"!~%%&>%%&*= ' + +'.%{-!%&%&~",'#10'"->%%&~%%&*= ]^~/(^~/(^",'#10'";$%%&>%%&*= .{%>-{%' + +'>-{",'#10'"_:%%&$%%&*= ,&!<%&!<%&",'#10'"&>/[_:%%&*= ,&!<%&!<%&",' + +#10'"}|||||||||||||||||||||||-{",'#10'"-;%%&$%%&*= ]^~/(^~/(^",'#10'"$>%' + +'%&;%%&*= .%{-!%{-!%",'#10'"!~%%&>%%&*= .%{-!%&{^}",'#10'"->%%&~%%&*' + +'= .%{-!%{-!%",'#10'";$%%&>%%&*= .%{-!%&{^}",'#10'"_:%%&$%%&*= 1' + +'234567888",'#10'"&>/[_:%%&*= =9=0=a====",'#10'"^}>/[_:%&*= ' + +' ",'#10'"8888888bcd= ",'#10'"========9= ",'#10 + +'" ",'#10'" ",'#10'" ' + +' "};'#10 ]); LazarusResources.Add('anchorleftleft','XPM',[ '/* XPM */'#10'static char * anchorleftleft_xpm[] = {'#10'"26 26 31 1",'#10'"'