From e550e54d4544abe0b0b5e4b9c102571bda71424d Mon Sep 17 00:00:00 2001 From: Wizzup? Date: Mon, 21 Dec 2009 20:57:20 +0000 Subject: [PATCH] Colourhistory form fix git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@311 3f818213-9676-44b0-a9b4-5e4c4e03d09d --- Projects/SAMufasaGUI/colourhistory.lfm | 34 +++++++++++++------------- Projects/SAMufasaGUI/colourhistory.lrs | 28 ++++++++++----------- Projects/SAMufasaGUI/project1.lpi | 24 ++++++++++++------ 3 files changed, 47 insertions(+), 39 deletions(-) diff --git a/Projects/SAMufasaGUI/colourhistory.lfm b/Projects/SAMufasaGUI/colourhistory.lfm index c098773..d754ffc 100644 --- a/Projects/SAMufasaGUI/colourhistory.lfm +++ b/Projects/SAMufasaGUI/colourhistory.lfm @@ -1,12 +1,12 @@ object ColourHistoryForm: TColourHistoryForm Left = 374 - Height = 250 + Height = 260 Top = 335 - Width = 490 + Width = 499 ActiveControl = SelectionName Caption = 'Colour Picker History' - ClientHeight = 227 - ClientWidth = 490 + ClientHeight = 237 + ClientWidth = 499 Constraints.MinHeight = 200 Constraints.MinWidth = 490 Menu = CHMainMenu @@ -17,7 +17,7 @@ object ColourHistoryForm: TColourHistoryForm object DeleteButton: TButton Left = 16 Height = 25 - Top = 185 + Top = 195 Width = 128 Anchors = [akLeft, akBottom] Caption = 'Delete' @@ -25,7 +25,7 @@ object ColourHistoryForm: TColourHistoryForm TabOrder = 0 end object SelectionName: TEdit - Left = 361 + Left = 370 Height = 27 Top = 16 Width = 112 @@ -36,16 +36,16 @@ object ColourHistoryForm: TColourHistoryForm Text = 'Name' end object PickNewColourButton: TButton - Left = 217 + Left = 226 Height = 25 - Top = 185 + Top = 195 Width = 128 Anchors = [akRight, akBottom] Caption = 'Pick New Colour' TabOrder = 2 end object ColourValue: TEdit - Left = 361 + Left = 370 Height = 27 Top = 56 Width = 112 @@ -55,7 +55,7 @@ object ColourHistoryForm: TColourHistoryForm Text = 'ColourValue' end object CoordValue: TLabel - Left = 361 + Left = 370 Height = 18 Top = 96 Width = 112 @@ -67,14 +67,14 @@ object ColourHistoryForm: TColourHistoryForm object ColourImage: TImage Left = 152 Height = 24 - Top = 186 - Width = 57 + Top = 196 + Width = 66 Anchors = [akLeft, akRight, akBottom] end object OkButton: TButton - Left = 393 + Left = 402 Height = 24 - Top = 186 + Top = 196 Width = 80 Anchors = [akRight, akBottom] Caption = 'Ok' @@ -82,7 +82,7 @@ object ColourHistoryForm: TColourHistoryForm TabOrder = 4 end object CH_RGB_Label: TLabel - Left = 361 + Left = 370 Height = 18 Top = 128 Width = 112 @@ -93,9 +93,9 @@ object ColourHistoryForm: TColourHistoryForm end object ColourTree: TTreeView Left = 8 - Height = 146 + Height = 156 Top = 16 - Width = 337 + Width = 346 Anchors = [akTop, akLeft, akRight, akBottom] DefaultItemHeight = 19 DragMode = dmAutomatic diff --git a/Projects/SAMufasaGUI/colourhistory.lrs b/Projects/SAMufasaGUI/colourhistory.lrs index 278fb4b..29c69df 100644 --- a/Projects/SAMufasaGUI/colourhistory.lrs +++ b/Projects/SAMufasaGUI/colourhistory.lrs @@ -2,33 +2,33 @@ LazarusResources.Add('TColourHistoryForm','FORMDATA',[ 'TPF0'#18'TColourHistoryForm'#17'ColourHistoryForm'#4'Left'#3'v'#1#6'Height'#3 - +#250#0#3'Top'#3'O'#1#5'Width'#3#234#1#13'ActiveControl'#7#13'SelectionName'#7 - +'Caption'#6#21'Colour Picker History'#12'ClientHeight'#3#227#0#11'ClientWidt' - +'h'#3#234#1#21'Constraints.MinHeight'#3#200#0#20'Constraints.MinWidth'#3#234 + +#4#1#3'Top'#3'O'#1#5'Width'#3#243#1#13'ActiveControl'#7#13'SelectionName'#7 + +'Caption'#6#21'Colour Picker History'#12'ClientHeight'#3#237#0#11'ClientWidt' + +'h'#3#243#1#21'Constraints.MinHeight'#3#200#0#20'Constraints.MinWidth'#3#234 +#1#4'Menu'#7#10'CHMainMenu'#8'OnCreate'#7#10'FormCreate'#6'OnHide'#7#15'UnSe' +'tCHShowMenu'#6'OnShow'#7#13'SetCHShowMenu'#10'LCLVersion'#6#6'0.9.29'#0#7'T' - +'Button'#12'DeleteButton'#4'Left'#2#16#6'Height'#2#25#3'Top'#3#185#0#5'Width' + +'Button'#12'DeleteButton'#4'Left'#2#16#6'Height'#2#25#3'Top'#3#195#0#5'Width' +#3#128#0#7'Anchors'#11#6'akLeft'#8'akBottom'#0#7'Caption'#6#6'Delete'#7'OnCl' +'ick'#7#14'DeleteSelected'#8'TabOrder'#2#0#0#0#5'TEdit'#13'SelectionName'#4 - +'Left'#3'i'#1#6'Height'#2#27#3'Top'#2#16#5'Width'#2'p'#7'Anchors'#11#5'akTop' + +'Left'#3'r'#1#6'Height'#2#27#3'Top'#2#16#5'Width'#2'p'#7'Anchors'#11#5'akTop' +#7'akRight'#0#8'OnChange'#7#10'ChangeName'#10'OnKeyPress'#7#21'SelectionName' +'KeyPress'#8'TabOrder'#2#1#4'Text'#6#4'Name'#0#0#7'TButton'#19'PickNewColour' - +'Button'#4'Left'#3#217#0#6'Height'#2#25#3'Top'#3#185#0#5'Width'#3#128#0#7'An' + +'Button'#4'Left'#3#226#0#6'Height'#2#25#3'Top'#3#195#0#5'Width'#3#128#0#7'An' +'chors'#11#7'akRight'#8'akBottom'#0#7'Caption'#6#15'Pick New Colour'#8'TabOr' - +'der'#2#2#0#0#5'TEdit'#11'ColourValue'#4'Left'#3'i'#1#6'Height'#2#27#3'Top'#2 + +'der'#2#2#0#0#5'TEdit'#11'ColourValue'#4'Left'#3'r'#1#6'Height'#2#27#3'Top'#2 +'8'#5'Width'#2'p'#7'Anchors'#11#5'akTop'#7'akRight'#0#8'ReadOnly'#9#8'TabOrd' - +'er'#2#3#4'Text'#6#11'ColourValue'#0#0#6'TLabel'#10'CoordValue'#4'Left'#3'i' + +'er'#2#3#4'Text'#6#11'ColourValue'#0#0#6'TLabel'#10'CoordValue'#4'Left'#3'r' +#1#6'Height'#2#18#3'Top'#2'`'#5'Width'#2'p'#7'Anchors'#11#5'akTop'#7'akRight' +#0#7'Caption'#6#10'CoordValue'#20'Constraints.MinWidth'#2'p'#11'ParentColor' - +#8#0#0#6'TImage'#11'ColourImage'#4'Left'#3#152#0#6'Height'#2#24#3'Top'#3#186 - +#0#5'Width'#2'9'#7'Anchors'#11#6'akLeft'#7'akRight'#8'akBottom'#0#0#0#7'TBut' - +'ton'#8'OkButton'#4'Left'#3#137#1#6'Height'#2#24#3'Top'#3#186#0#5'Width'#2'P' + +#8#0#0#6'TImage'#11'ColourImage'#4'Left'#3#152#0#6'Height'#2#24#3'Top'#3#196 + +#0#5'Width'#2'B'#7'Anchors'#11#6'akLeft'#7'akRight'#8'akBottom'#0#0#0#7'TBut' + +'ton'#8'OkButton'#4'Left'#3#146#1#6'Height'#2#24#3'Top'#3#196#0#5'Width'#2'P' +#7'Anchors'#11#7'akRight'#8'akBottom'#0#7'Caption'#6#2'Ok'#7'OnClick'#7#13'O' - +'kButtonClick'#8'TabOrder'#2#4#0#0#6'TLabel'#12'CH_RGB_Label'#4'Left'#3'i'#1 + +'kButtonClick'#8'TabOrder'#2#4#0#0#6'TLabel'#12'CH_RGB_Label'#4'Left'#3'r'#1 +#6'Height'#2#18#3'Top'#3#128#0#5'Width'#2'p'#7'Anchors'#11#5'akTop'#7'akRigh' +'t'#0#7'Caption'#6#9'RGBValues'#20'Constraints.MinWidth'#2'p'#11'ParentColor' - +#8#0#0#9'TTreeView'#10'ColourTree'#4'Left'#2#8#6'Height'#3#146#0#3'Top'#2#16 - +#5'Width'#3'Q'#1#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBottom'#0#17 + +#8#0#0#9'TTreeView'#10'ColourTree'#4'Left'#2#8#6'Height'#3#156#0#3'Top'#2#16 + +#5'Width'#3'Z'#1#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBottom'#0#17 +'DefaultItemHeight'#2#19#8'DragMode'#7#11'dmAutomatic'#6'Images'#7#8'CHImage' +'s'#10'ScrollBars'#7#10'ssAutoBoth'#8'TabOrder'#2#5#8'OnChange'#7#16'ColourT' +'reeChange'#10'OnDragDrop'#7#18'ColourTreeDragDrop'#10'OnDragOver'#7#18'Colo' diff --git a/Projects/SAMufasaGUI/project1.lpi b/Projects/SAMufasaGUI/project1.lpi index e9224b7..3b67cdc 100644 --- a/Projects/SAMufasaGUI/project1.lpi +++ b/Projects/SAMufasaGUI/project1.lpi @@ -10,7 +10,7 @@ <UseXPManifest Value="True"/> - <ActiveEditorIndexAtStart Value="12"/> + <ActiveEditorIndexAtStart Value="21"/> </General> <VersionInfo> <ProjectVersion Value=""/> @@ -139,8 +139,8 @@ <HasResources Value="True"/> <ResourceBaseClass Value="Form"/> <UnitName Value="TestUnit"/> - <CursorPos X="72" Y="1327"/> - <TopLine Value="799"/> + <CursorPos X="12" Y="36"/> + <TopLine Value="13"/> <EditorIndex Value="5"/> <UsageCount Value="202"/> <Loaded Value="True"/> @@ -288,8 +288,8 @@ <Filename Value="../../Units/MMLAddon/mmlpsthread.pas"/> <IsPartOfProject Value="True"/> <UnitName Value="mmlpsthread"/> - <CursorPos X="63" Y="188"/> - <TopLine Value="298"/> + <CursorPos X="89" Y="13"/> + <TopLine Value="1"/> <EditorIndex Value="21"/> <UsageCount Value="202"/> <Loaded Value="True"/> @@ -1359,7 +1359,7 @@ </Unit184> <Unit185> <Filename Value="../../Units/MMLAddon/PSInc/Wrappers/ocr.inc"/> - <CursorPos X="18" Y="5"/> + <CursorPos X="55" Y="5"/> <TopLine Value="1"/> <EditorIndex Value="10"/> <UsageCount Value="27"/> @@ -1813,7 +1813,7 @@ <Unit250> <Filename Value="../../Units/MMLCore/ocrutil.pas"/> <UnitName Value="ocrutil"/> - <CursorPos X="15" Y="176"/> + <CursorPos X="57" Y="165"/> <TopLine Value="145"/> <EditorIndex Value="12"/> <UsageCount Value="27"/> @@ -1890,7 +1890,7 @@ <UsageCount Value="10"/> </Unit260> </Units> - <JumpHistory Count="26" HistoryIndex="25"> + <JumpHistory Count="28" HistoryIndex="27"> <Position1> <Filename Value="colourhistory.pas"/> <Caret Line="393" Column="36" TopLine="356"/> @@ -1995,6 +1995,14 @@ <Filename Value="../../../../Documents/lazarus/lcl/comctrls.pp"/> <Caret Line="2978" Column="9" TopLine="2957"/> </Position26> + <Position27> + <Filename Value="testunit.pas"/> + <Caret Line="1327" Column="72" TopLine="799"/> + </Position27> + <Position28> + <Filename Value="testunit.pas"/> + <Caret Line="36" Column="12" TopLine="13"/> + </Position28> </JumpHistory> </ProjectOptions> <CompilerOptions>