diff --git a/components/rx/Demos/RxDBGrid/RxDBGridDemo.lpi b/components/rx/Demos/RxDBGrid/RxDBGridDemo.lpi index 1c192b843..581a21e1d 100644 --- a/components/rx/Demos/RxDBGrid/RxDBGridDemo.lpi +++ b/components/rx/Demos/RxDBGrid/RxDBGridDemo.lpi @@ -11,7 +11,7 @@ <Icon Value="0"/> <UseXPManifest Value="True"/> - <ActiveEditorIndexAtStart Value="1"/> + <ActiveEditorIndexAtStart Value="0"/> </General> <VersionInfo> <UseVersionInfo Value="True"/> @@ -54,7 +54,7 @@ <UnitName Value="RxDBGridDemo"/> <CursorPos X="3" Y="11"/> <TopLine Value="1"/> - <UsageCount Value="27"/> + <UsageCount Value="28"/> </Unit0> <Unit1> <Filename Value="rxdbgridmainunit.pas"/> @@ -65,7 +65,7 @@ <CursorPos X="26" Y="19"/> <TopLine Value="17"/> <EditorIndex Value="0"/> - <UsageCount Value="27"/> + <UsageCount Value="28"/> <Loaded Value="True"/> </Unit1> <Unit2> @@ -94,7 +94,7 @@ <CursorPos X="1" Y="1740"/> <TopLine Value="1721"/> <EditorIndex Value="1"/> - <UsageCount Value="12"/> + <UsageCount Value="13"/> <Bookmarks Count="1"> <Item0 X="3" Y="1462" ID="1"/> </Bookmarks> @@ -158,9 +158,7 @@ <Filename Value="../../../../../../../../home/alexs/install/2/rxdbgrid.diff"/> <CursorPos X="1" Y="21"/> <TopLine Value="1"/> - <EditorIndex Value="2"/> <UsageCount Value="10"/> - <Loaded Value="True"/> <SyntaxHighlighter Value="None"/> </Unit14> </Units> diff --git a/components/rx/Demos/RxDBGrid/rxdbgridmainunit.lfm b/components/rx/Demos/RxDBGrid/rxdbgridmainunit.lfm index b7e17e12d..5e65eedd0 100644 --- a/components/rx/Demos/RxDBGrid/rxdbgridmainunit.lfm +++ b/components/rx/Demos/RxDBGrid/rxdbgridmainunit.lfm @@ -1,7 +1,7 @@ object RxDBGridMainForm: TRxDBGridMainForm - Left = 263 + Left = 240 Height = 609 - Top = 219 + Top = 242 Width = 969 ActiveControl = Panel1 Caption = 'RxDBGrid Demo (ver 3) ...' @@ -11,8 +11,8 @@ object RxDBGridMainForm: TRxDBGridMainForm LCLVersion = '0.9.27' object RxDBGrid1: TRxDBGrid Left = 0 - Height = 542 - Top = 67 + Height = 544 + Top = 65 Width = 969 TitleButtons = True AutoSort = True @@ -21,6 +21,7 @@ object RxDBGridMainForm: TRxDBGridMainForm Title.Alignment = taCenter Title.Caption = 'Code' Title.Orientation = toHorizontal + Width = 155 FieldName = 'ID' Footer.Alignment = taRightJustify Footer.DisplayFormat = 'Count: %d' @@ -32,7 +33,7 @@ object RxDBGridMainForm: TRxDBGridMainForm item Title.Alignment = taCenter Title.Orientation = toHorizontal - Width = 150 + Width = 155 FieldName = 'Developer' Filter.DropDownRows = 0 Filter.Color = clLime @@ -42,7 +43,7 @@ object RxDBGridMainForm: TRxDBGridMainForm Title.Alignment = taCenter Title.Caption = 'Software|Name' Title.Orientation = toHorizontal - Width = 350 + Width = 155 FieldName = 'NAME' Filter.DropDownRows = 0 Filter.Color = clLime @@ -52,7 +53,7 @@ object RxDBGridMainForm: TRxDBGridMainForm Title.Alignment = taCenter Title.Caption = 'Software|Cost' Title.Orientation = toHorizontal - Width = 90 + Width = 155 FieldName = 'PRICE' DisplayFormat = '#,##0.00' Footer.Alignment = taRightJustify @@ -67,7 +68,7 @@ object RxDBGridMainForm: TRxDBGridMainForm Title.Alignment = taCenter Title.Caption = 'Software|Date Present' Title.Orientation = toHorizontal - Width = 100 + Width = 155 FieldName = 'Date_Present' Filter.DropDownRows = 0 Filter.ItemIndex = -1 @@ -75,7 +76,7 @@ object RxDBGridMainForm: TRxDBGridMainForm item Title.Alignment = taCenter Title.Orientation = toHorizontal - Width = 150 + Width = 160 FieldName = 'DEVELOPER_ID' Filter.DropDownRows = 0 Filter.ItemIndex = -1 @@ -85,6 +86,7 @@ object RxDBGridMainForm: TRxDBGridMainForm FooterRowCount = 1 OnFiltred = RxDBGrid1Filtred Align = alClient + AutoFillColumns = True FocusColor = clRed SelectedColor = clHighlight GridLineStyle = psSolid @@ -97,19 +99,19 @@ object RxDBGridMainForm: TRxDBGridMainForm end object Panel1: TPanel Left = 0 - Height = 67 + Height = 65 Top = 0 Width = 969 Align = alTop AutoSize = True - ClientHeight = 67 + ClientHeight = 65 ClientWidth = 969 TabOrder = 1 object Label1: TLabel AnchorSideLeft.Control = CheckBox1 AnchorSideLeft.Side = asrBottom AnchorSideTop.Control = Panel1 - Left = 361 + Left = 359 Height = 18 Top = 6 Width = 36 @@ -121,9 +123,9 @@ object RxDBGridMainForm: TRxDBGridMainForm AnchorSideLeft.Control = Panel1 AnchorSideTop.Control = Panel1 Left = 6 - Height = 37 + Height = 35 Top = 6 - Width = 92 + Width = 90 Action = actCalcTotal AutoSize = True BorderSpacing.Around = 6 @@ -134,10 +136,10 @@ object RxDBGridMainForm: TRxDBGridMainForm AnchorSideLeft.Control = Button1 AnchorSideLeft.Side = asrBottom AnchorSideTop.Control = Panel1 - Left = 104 - Height = 37 + Left = 102 + Height = 35 Top = 6 - Width = 165 + Width = 163 Action = actOptimizeColumnsWidthAll AutoSize = True BorderSpacing.Around = 6 @@ -149,10 +151,10 @@ object RxDBGridMainForm: TRxDBGridMainForm AnchorSideLeft.Side = asrBottom AnchorSideTop.Control = Button1 AnchorSideTop.Side = asrCenter - Left = 275 - Height = 21 - Top = 14 - Width = 80 + Left = 271 + Height = 22 + Top = 12 + Width = 82 BorderSpacing.Left = 6 Caption = 'Use filter' OnChange = CheckBox1Change @@ -162,8 +164,8 @@ object RxDBGridMainForm: TRxDBGridMainForm AnchorSideLeft.Control = Label1 AnchorSideTop.Control = Label1 AnchorSideTop.Side = asrBottom - Left = 367 - Height = 31 + Left = 365 + Height = 29 Top = 30 Width = 217 BorderSpacing.Around = 6 diff --git a/components/rx/Demos/RxDBGrid/rxdbgridmainunit.lrs b/components/rx/Demos/RxDBGrid/rxdbgridmainunit.lrs index 23c407609..0d307cad5 100644 --- a/components/rx/Demos/RxDBGrid/rxdbgridmainunit.lrs +++ b/components/rx/Demos/RxDBGrid/rxdbgridmainunit.lrs @@ -1,127 +1,128 @@ { Это - файл ресурсов, автоматически созданный lazarus } LazarusResources.Add('TRxDBGridMainForm','FORMDATA',[ - 'TPF0'#17'TRxDBGridMainForm'#16'RxDBGridMainForm'#4'Left'#3#7#1#6'Height'#3'a' - +#2#3'Top'#3#219#0#5'Width'#3#201#3#13'ActiveControl'#7#6'Panel1'#7'Caption'#6 - +#26'RxDBGrid Demo (ver 3) ...'#12'ClientHeight'#3'a'#2#11'ClientWidth'#3#201 - +#3#8'OnCreate'#7#10'FormCreate'#10'LCLVersion'#6#6'0.9.27'#0#9'TRxDBGrid'#9 - +'RxDBGrid1'#4'Left'#2#0#6'Height'#3#30#2#3'Top'#2'C'#5'Width'#3#201#3#12'Tit' - +'leButtons'#9#8'AutoSort'#9#7'Columns'#14#1#15'Title.Alignment'#7#8'taCenter' - +#13'Title.Caption'#6#4'Code'#17'Title.Orientation'#7#12'toHorizontal'#9'Fiel' - +'dName'#6#2'ID'#16'Footer.Alignment'#7#14'taRightJustify'#20'Footer.DisplayF' - +'ormat'#6#9'Count: %d'#16'Footer.ValueType'#7#8'fvtCount'#19'Filter.DropDown' - +'Rows'#2#0#12'Filter.Color'#7#6'clLime'#16'Filter.ItemIndex'#2#255#0#1#15'Ti' - +'tle.Alignment'#7#8'taCenter'#17'Title.Orientation'#7#12'toHorizontal'#5'Wid' - +'th'#3#150#0#9'FieldName'#6#9'Developer'#19'Filter.DropDownRows'#2#0#12'Filt' - +'er.Color'#7#6'clLime'#16'Filter.ItemIndex'#2#255#0#1#15'Title.Alignment'#7#8 - +'taCenter'#13'Title.Caption'#6#13'Software|Name'#17'Title.Orientation'#7#12 - +'toHorizontal'#5'Width'#3'^'#1#9'FieldName'#6#4'NAME'#19'Filter.DropDownRows' - +#2#0#12'Filter.Color'#7#6'clLime'#16'Filter.ItemIndex'#2#255#0#1#15'Title.Al' - +'ignment'#7#8'taCenter'#13'Title.Caption'#6#13'Software|Cost'#17'Title.Orien' - +'tation'#7#12'toHorizontal'#5'Width'#2'Z'#9'FieldName'#6#5'PRICE'#13'Display' - +'Format'#6#8'#,##0.00'#16'Footer.Alignment'#7#14'taRightJustify'#20'Footer.D' - +'isplayFormat'#6#8'#,##0.00'#16'Footer.FieldName'#6#5'PRICE'#16'Footer.Value' - +'Type'#7#6'fvtSum'#19'Filter.DropDownRows'#2#0#12'Filter.Color'#7#6'clLime' - +#16'Filter.ItemIndex'#2#255#0#1#15'Title.Alignment'#7#8'taCenter'#13'Title.C' - +'aption'#6#21'Software|Date Present'#17'Title.Orientation'#7#12'toHorizontal' - +#5'Width'#2'd'#9'FieldName'#6#12'Date_Present'#19'Filter.DropDownRows'#2#0#16 - +'Filter.ItemIndex'#2#255#0#1#15'Title.Alignment'#7#8'taCenter'#17'Title.Orie' - +'ntation'#7#12'toHorizontal'#5'Width'#3#150#0#9'FieldName'#6#12'DEVELOPER_ID' - +#19'Filter.DropDownRows'#2#0#16'Filter.ItemIndex'#2#255#0#0#9'OptionsRx'#11 - +#19'rdgAllowColumnsForm'#18'rdgAllowDialogFind'#13'rdgFooterRows'#19'rdgAllo' - +'wQuickSearch'#0#11'FooterColor'#7#8'clYellow'#14'FooterRowCount'#2#1#9'OnFi' - +'ltred'#7#16'RxDBGrid1Filtred'#5'Align'#7#8'alClient'#10'FocusColor'#7#5'clR' - +'ed'#13'SelectedColor'#7#11'clHighlight'#13'GridLineStyle'#7#7'psSolid'#10'D' - +'ataSource'#7#11'Datasource1'#7'Options'#11#9'dgEditing'#8'dgTitles'#11'dgIn' - +'dicator'#14'dgColumnResize'#12'dgColumnMove'#10'dgColLines'#10'dgRowLines'#6 - +'dgTabs'#21'dgAlwaysShowSelection'#15'dgConfirmDelete'#14'dgCancelOnExit'#13 - +'dgMultiselect'#18'dgHeaderPushedLook'#0#11'ParentColor'#8#9'PopupMenu'#7#10 - +'PopupMenu1'#8'TabOrder'#2#0#10'TitleStyle'#7#8'tsNative'#0#0#6'TPanel'#6'Pa' - +'nel1'#4'Left'#2#0#6'Height'#2'C'#3'Top'#2#0#5'Width'#3#201#3#5'Align'#7#5'a' - +'lTop'#8'AutoSize'#9#12'ClientHeight'#2'C'#11'ClientWidth'#3#201#3#8'TabOrde' - +'r'#2#1#0#6'TLabel'#6'Label1'#22'AnchorSideLeft.Control'#7#9'CheckBox1'#19'A' - +'nchorSideLeft.Side'#7#9'asrBottom'#21'AnchorSideTop.Control'#7#6'Panel1'#4 - +'Left'#3'i'#1#6'Height'#2#18#3'Top'#2#6#5'Width'#2'$'#20'BorderSpacing.Aroun' - +'d'#2#6#7'Caption'#6#4'Mode'#11'ParentColor'#8#0#0#7'TButton'#7'Button1'#22 - +'AnchorSideLeft.Control'#7#6'Panel1'#21'AnchorSideTop.Control'#7#6'Panel1'#4 - +'Left'#2#6#6'Height'#2'%'#3'Top'#2#6#5'Width'#2'\'#6'Action'#7#12'actCalcTot' - +'al'#8'AutoSize'#9#20'BorderSpacing.Around'#2#6#25'BorderSpacing.InnerBorder' - +#2#4#8'TabOrder'#2#0#0#0#7'TButton'#7'Button2'#22'AnchorSideLeft.Control'#7#7 - +'Button1'#19'AnchorSideLeft.Side'#7#9'asrBottom'#21'AnchorSideTop.Control'#7 - +#6'Panel1'#4'Left'#2'h'#6'Height'#2'%'#3'Top'#2#6#5'Width'#3#165#0#6'Action' - +#7#26'actOptimizeColumnsWidthAll'#8'AutoSize'#9#20'BorderSpacing.Around'#2#6 - +#25'BorderSpacing.InnerBorder'#2#4#8'TabOrder'#2#1#0#0#9'TCheckBox'#9'CheckB' - +'ox1'#22'AnchorSideLeft.Control'#7#7'Button2'#19'AnchorSideLeft.Side'#7#9'as' - +'rBottom'#21'AnchorSideTop.Control'#7#7'Button1'#18'AnchorSideTop.Side'#7#9 - +'asrCenter'#4'Left'#3#19#1#6'Height'#2#21#3'Top'#2#14#5'Width'#2'P'#18'Borde' - +'rSpacing.Left'#2#6#7'Caption'#6#10'Use filter'#8'OnChange'#7#15'CheckBox1Ch' - +'ange'#8'TabOrder'#2#2#0#0#9'TComboBox'#9'ComboBox1'#22'AnchorSideLeft.Contr' - +'ol'#7#6'Label1'#21'AnchorSideTop.Control'#7#6'Label1'#18'AnchorSideTop.Side' - +#7#9'asrBottom'#4'Left'#3'o'#1#6'Height'#2#31#3'Top'#2#30#5'Width'#3#217#0#20 - +'BorderSpacing.Around'#2#6#10'ItemHeight'#2#0#9'ItemIndex'#2#0#13'Items.Stri' - +'ngs'#1#6#9'Edit mode'#6#17'Quick search mode'#0#8'OnChange'#7#15'ComboBox1C' - +'hange'#5'Style'#7#14'csDropDownList'#8'TabOrder'#2#3#4'Text'#6#9'Edit mode' - +#0#0#0#13'TRxMemoryData'#13'RxMemoryData1'#14'AutoCalcFields'#8#9'FieldDefs' - +#14#1#4'Name'#6#2'ID'#8'DataType'#7#9'ftInteger'#9'Precision'#2#255#4'Size'#2 - +#7#0#1#4'Name'#6#4'NAME'#8'DataType'#7#8'ftString'#9'Precision'#2#255#4'Size' - +#3#150#0#0#1#4'Name'#6#5'PRICE'#8'DataType'#7#7'ftFloat'#9'Precision'#2#2#4 - ,'Size'#2#12#0#1#4'Name'#6#9'Developer'#8'DataType'#7#8'ftString'#9'Precision' - +#2#255#4'Size'#3#150#0#0#1#4'Name'#6#12'Date_Present'#8'DataType'#7#6'ftDate' - +#9'Precision'#2#0#4'Size'#2#0#0#1#4'Name'#6#12'DEVELOPER_ID'#8'DataType'#7#9 - +'ftInteger'#9'Precision'#2#0#4'Size'#2#0#0#0#16'OnFilterRecordEx'#7#27'RxMem' - +'oryData1FilterRecordEx'#4'left'#3#152#0#3'top'#3#8#1#0#13'TLongintField'#16 - +'RxMemoryData1ID1'#12'DisplayWidth'#2#10#9'FieldKind'#7#6'fkData'#9'FieldNam' - +'e'#6#2'ID'#5'Index'#2#0#11'LookupCache'#8#13'ProviderFlags'#11#10'pfInUpdat' - +'e'#9'pfInWhere'#0#8'ReadOnly'#8#8'Required'#8#0#0#12'TStringField'#18'RxMem' - +'oryData1NAME1'#12'DisplayWidth'#3#150#0#9'FieldKind'#7#6'fkData'#9'FieldNam' - +'e'#6#4'NAME'#5'Index'#2#1#11'LookupCache'#8#13'ProviderFlags'#11#10'pfInUpd' - +'ate'#9'pfInWhere'#0#8'ReadOnly'#8#8'Required'#8#4'Size'#3#150#0#0#0#11'TFlo' - +'atField'#19'RxMemoryData1PRICE1'#12'DisplayWidth'#2#10#9'FieldKind'#7#6'fkD' - +'ata'#9'FieldName'#6#5'PRICE'#5'Index'#2#2#11'LookupCache'#8#13'ProviderFlag' - +'s'#11#10'pfInUpdate'#9'pfInWhere'#0#8'ReadOnly'#8#8'Required'#8#13'DisplayF' - +'ormat'#6#8'#,##0.00'#8'MaxValue'#5#0#0#0#0#0#0#0#0#0#0#8'MinValue'#5#0#0#0#0 - +#0#0#0#0#0#0#9'Precision'#2#2#0#0#12'TStringField'#23'RxMemoryData1Developer' - +'1'#12'DisplayWidth'#3#150#0#9'FieldKind'#7#6'fkData'#9'FieldName'#6#9'Devel' - +'oper'#5'Index'#2#3#11'LookupCache'#8#13'ProviderFlags'#11#10'pfInUpdate'#9 - +'pfInWhere'#0#8'ReadOnly'#8#8'Required'#8#4'Size'#3#150#0#0#0#10'TDateField' - +#26'RxMemoryData1Date_Present1'#12'DisplayWidth'#2#10#9'FieldKind'#7#6'fkDat' - +'a'#9'FieldName'#6#12'Date_Present'#5'Index'#2#4#11'LookupCache'#8#13'Provid' - +'erFlags'#11#10'pfInUpdate'#9'pfInWhere'#0#8'ReadOnly'#8#8'Required'#8#0#0#13 - +'TLongintField'#26'RxMemoryData1DEVELOPER_ID1'#12'DisplayWidth'#2#10#9'Field' - +'Kind'#7#6'fkData'#9'FieldName'#6#12'DEVELOPER_ID'#5'Index'#2#5#9'KeyFields' - +#6#12'DEVELOPER_ID'#11'LookupCache'#8#13'LookupDataSet'#7#13'RxMemoryData2' - +#15'LookupKeyFields'#6#12'DEVELOPER_ID'#17'LookupResultField'#6#14'DEVELOPER' - +'_NAME'#13'ProviderFlags'#11#10'pfInUpdate'#9'pfInWhere'#0#8'ReadOnly'#8#8'R' - +'equired'#8#0#0#0#11'TDatasource'#11'Datasource1'#7'DataSet'#7#13'RxMemoryDa' - +'ta1'#4'left'#2'x'#3'top'#3#8#1#0#0#10'TPopupMenu'#10'PopupMenu1'#4'left'#3 - +#152#0#3'top'#3#197#0#0#9'TMenuItem'#9'MenuItem1'#6'Action'#7#20'actOptimize' - +'WidthCol1'#7'OnClick'#7#27'actOptimizeWidthCol1Execute'#0#0#9'TMenuItem'#9 - +'MenuItem2'#7'Caption'#6#1'-'#0#0#9'TMenuItem'#9'MenuItem4'#6'Action'#7#12'a' - +'ctCalcTotal'#7'OnClick'#7#19'actCalcTotalExecute'#0#0#9'TMenuItem'#9'MenuIt' - +'em3'#6'Action'#7#26'actOptimizeColumnsWidthAll'#7'OnClick'#7'!actOptimizeCo' - +'lumnsWidthAllExecute'#0#0#9'TMenuItem'#9'MenuItem5'#7'Caption'#6#1'-'#0#0#9 - +'TMenuItem'#9'MenuItem7'#6'Action'#7#17'showColumnsDialog'#7'OnClick'#7#24's' - +'howColumnsDialogExecute'#0#0#9'TMenuItem'#9'MenuItem6'#6'Action'#7#14'showF' - +'indDialog'#7'OnClick'#7#21'showFindDialogExecute'#0#0#0#11'TActionList'#11 - +'ActionList1'#4'left'#3#206#0#3'top'#3#197#0#0#7'TAction'#12'actCalcTotal'#7 - +'Caption'#6#13'Calc total...'#9'OnExecute'#7#19'actCalcTotalExecute'#0#0#7'T' - +'Action'#26'actOptimizeColumnsWidthAll'#7'Caption'#6#25'Optimize width for a' - +'ll...'#9'OnExecute'#7'!actOptimizeColumnsWidthAllExecute'#0#0#7'TAction'#20 - +'actOptimizeWidthCol1'#7'Caption'#6#17'Optimize width...'#9'OnExecute'#7#27 - +'actOptimizeWidthCol1Execute'#0#0#7'TAction'#14'showFindDialog'#7'Caption'#6 - +#19'Show find dialog...'#9'OnExecute'#7#21'showFindDialogExecute'#0#0#7'TAct' - +'ion'#17'showColumnsDialog'#7'Caption'#6#22'Show columns dialog...'#9'OnExec' - +'ute'#7#24'showColumnsDialogExecute'#0#0#0#11'TDatasource'#11'Datasource2'#7 - +'DataSet'#7#13'RxMemoryData2'#4'left'#3#207#0#3'top'#3#8#1#0#0#13'TRxMemoryD' - +'ata'#13'RxMemoryData2'#14'AutoCalcFields'#8#9'FieldDefs'#14#1#4'Name'#6#12 - +'DEVELOPER_ID'#8'DataType'#7#9'ftInteger'#9'Precision'#2#0#4'Size'#2#0#0#1#4 - +'Name'#6#14'DEVELOPER_NAME'#8'DataType'#7#8'ftString'#9'Precision'#2#0#4'Siz' - +'e'#3#130#0#0#0#4'left'#3#240#0#3'top'#3#8#1#0#13'TLongintField'#26'RxMemory' - +'Data2DEVELOPER_ID1'#12'DisplayWidth'#2#10#9'FieldKind'#7#6'fkData'#9'FieldN' - +'ame'#6#12'DEVELOPER_ID'#5'Index'#2#0#11'LookupCache'#8#13'ProviderFlags'#11 - +#10'pfInUpdate'#9'pfInWhere'#0#8'ReadOnly'#8#8'Required'#8#0#0#12'TStringFie' - +'ld'#28'RxMemoryData2DEVELOPER_NAME1'#12'DisplayWidth'#3#130#0#9'FieldKind'#7 - +#6'fkData'#9'FieldName'#6#14'DEVELOPER_NAME'#5'Index'#2#1#11'LookupCache'#8 - +#13'ProviderFlags'#11#10'pfInUpdate'#9'pfInWhere'#0#8'ReadOnly'#8#8'Required' - +#8#4'Size'#3#130#0#0#0#0#0 + 'TPF0'#17'TRxDBGridMainForm'#16'RxDBGridMainForm'#4'Left'#3#240#0#6'Height'#3 + +'a'#2#3'Top'#3#242#0#5'Width'#3#201#3#13'ActiveControl'#7#6'Panel1'#7'Captio' + +'n'#6#26'RxDBGrid Demo (ver 3) ...'#12'ClientHeight'#3'a'#2#11'ClientWidth' + +#3#201#3#8'OnCreate'#7#10'FormCreate'#10'LCLVersion'#6#6'0.9.27'#0#9'TRxDBGr' + +'id'#9'RxDBGrid1'#4'Left'#2#0#6'Height'#3' '#2#3'Top'#2'A'#5'Width'#3#201#3 + +#12'TitleButtons'#9#8'AutoSort'#9#7'Columns'#14#1#15'Title.Alignment'#7#8'ta' + +'Center'#13'Title.Caption'#6#4'Code'#17'Title.Orientation'#7#12'toHorizontal' + +#5'Width'#3#155#0#9'FieldName'#6#2'ID'#16'Footer.Alignment'#7#14'taRightJust' + +'ify'#20'Footer.DisplayFormat'#6#9'Count: %d'#16'Footer.ValueType'#7#8'fvtCo' + +'unt'#19'Filter.DropDownRows'#2#0#12'Filter.Color'#7#6'clLime'#16'Filter.Ite' + +'mIndex'#2#255#0#1#15'Title.Alignment'#7#8'taCenter'#17'Title.Orientation'#7 + +#12'toHorizontal'#5'Width'#3#155#0#9'FieldName'#6#9'Developer'#19'Filter.Dro' + +'pDownRows'#2#0#12'Filter.Color'#7#6'clLime'#16'Filter.ItemIndex'#2#255#0#1 + +#15'Title.Alignment'#7#8'taCenter'#13'Title.Caption'#6#13'Software|Name'#17 + +'Title.Orientation'#7#12'toHorizontal'#5'Width'#3#155#0#9'FieldName'#6#4'NAM' + +'E'#19'Filter.DropDownRows'#2#0#12'Filter.Color'#7#6'clLime'#16'Filter.ItemI' + +'ndex'#2#255#0#1#15'Title.Alignment'#7#8'taCenter'#13'Title.Caption'#6#13'So' + +'ftware|Cost'#17'Title.Orientation'#7#12'toHorizontal'#5'Width'#3#155#0#9'Fi' + +'eldName'#6#5'PRICE'#13'DisplayFormat'#6#8'#,##0.00'#16'Footer.Alignment'#7 + +#14'taRightJustify'#20'Footer.DisplayFormat'#6#8'#,##0.00'#16'Footer.FieldNa' + +'me'#6#5'PRICE'#16'Footer.ValueType'#7#6'fvtSum'#19'Filter.DropDownRows'#2#0 + +#12'Filter.Color'#7#6'clLime'#16'Filter.ItemIndex'#2#255#0#1#15'Title.Alignm' + +'ent'#7#8'taCenter'#13'Title.Caption'#6#21'Software|Date Present'#17'Title.O' + +'rientation'#7#12'toHorizontal'#5'Width'#3#155#0#9'FieldName'#6#12'Date_Pres' + +'ent'#19'Filter.DropDownRows'#2#0#16'Filter.ItemIndex'#2#255#0#1#15'Title.Al' + +'ignment'#7#8'taCenter'#17'Title.Orientation'#7#12'toHorizontal'#5'Width'#3 + +#160#0#9'FieldName'#6#12'DEVELOPER_ID'#19'Filter.DropDownRows'#2#0#16'Filter' + +'.ItemIndex'#2#255#0#0#9'OptionsRx'#11#19'rdgAllowColumnsForm'#18'rdgAllowDi' + +'alogFind'#13'rdgFooterRows'#19'rdgAllowQuickSearch'#0#11'FooterColor'#7#8'c' + +'lYellow'#14'FooterRowCount'#2#1#9'OnFiltred'#7#16'RxDBGrid1Filtred'#5'Align' + +#7#8'alClient'#15'AutoFillColumns'#9#10'FocusColor'#7#5'clRed'#13'SelectedCo' + +'lor'#7#11'clHighlight'#13'GridLineStyle'#7#7'psSolid'#10'DataSource'#7#11'D' + +'atasource1'#7'Options'#11#9'dgEditing'#8'dgTitles'#11'dgIndicator'#14'dgCol' + +'umnResize'#12'dgColumnMove'#10'dgColLines'#10'dgRowLines'#6'dgTabs'#21'dgAl' + +'waysShowSelection'#15'dgConfirmDelete'#14'dgCancelOnExit'#13'dgMultiselect' + +#18'dgHeaderPushedLook'#0#11'ParentColor'#8#9'PopupMenu'#7#10'PopupMenu1'#8 + +'TabOrder'#2#0#10'TitleStyle'#7#8'tsNative'#0#0#6'TPanel'#6'Panel1'#4'Left'#2 + +#0#6'Height'#2'A'#3'Top'#2#0#5'Width'#3#201#3#5'Align'#7#5'alTop'#8'AutoSize' + +#9#12'ClientHeight'#2'A'#11'ClientWidth'#3#201#3#8'TabOrder'#2#1#0#6'TLabel' + +#6'Label1'#22'AnchorSideLeft.Control'#7#9'CheckBox1'#19'AnchorSideLeft.Side' + +#7#9'asrBottom'#21'AnchorSideTop.Control'#7#6'Panel1'#4'Left'#3'g'#1#6'Heigh' + +'t'#2#18#3'Top'#2#6#5'Width'#2'$'#20'BorderSpacing.Around'#2#6#7'Caption'#6#4 + +'Mode'#11'ParentColor'#8#0#0#7'TButton'#7'Button1'#22'AnchorSideLeft.Control' + +#7#6'Panel1'#21'AnchorSideTop.Control'#7#6'Panel1'#4'Left'#2#6#6'Height'#2'#' + +#3'Top'#2#6#5'Width'#2'Z'#6'Action'#7#12'actCalcTotal'#8'AutoSize'#9#20'Bord' + +'erSpacing.Around'#2#6#25'BorderSpacing.InnerBorder'#2#4#8'TabOrder'#2#0#0#0 + +#7'TButton'#7'Button2'#22'AnchorSideLeft.Control'#7#7'Button1'#19'AnchorSide' + +'Left.Side'#7#9'asrBottom'#21'AnchorSideTop.Control'#7#6'Panel1'#4'Left'#2'f' + +#6'Height'#2'#'#3'Top'#2#6#5'Width'#3#163#0#6'Action'#7#26'actOptimizeColumn' + +'sWidthAll'#8'AutoSize'#9#20'BorderSpacing.Around'#2#6#25'BorderSpacing.Inne' + +'rBorder'#2#4#8'TabOrder'#2#1#0#0#9'TCheckBox'#9'CheckBox1'#22'AnchorSideLef' + +'t.Control'#7#7'Button2'#19'AnchorSideLeft.Side'#7#9'asrBottom'#21'AnchorSid' + +'eTop.Control'#7#7'Button1'#18'AnchorSideTop.Side'#7#9'asrCenter'#4'Left'#3 + +#15#1#6'Height'#2#22#3'Top'#2#12#5'Width'#2'R'#18'BorderSpacing.Left'#2#6#7 + +'Caption'#6#10'Use filter'#8'OnChange'#7#15'CheckBox1Change'#8'TabOrder'#2#2 + +#0#0#9'TComboBox'#9'ComboBox1'#22'AnchorSideLeft.Control'#7#6'Label1'#21'Anc' + +'horSideTop.Control'#7#6'Label1'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Lef' + +'t'#3'm'#1#6'Height'#2#29#3'Top'#2#30#5'Width'#3#217#0#20'BorderSpacing.Arou' + +'nd'#2#6#10'ItemHeight'#2#0#9'ItemIndex'#2#0#13'Items.Strings'#1#6#9'Edit mo' + +'de'#6#17'Quick search mode'#0#8'OnChange'#7#15'ComboBox1Change'#5'Style'#7 + +#14'csDropDownList'#8'TabOrder'#2#3#4'Text'#6#9'Edit mode'#0#0#0#13'TRxMemor' + +'yData'#13'RxMemoryData1'#14'AutoCalcFields'#8#9'FieldDefs'#14#1#4'Name'#6#2 + +'ID'#8'DataType'#7#9'ftInteger'#9'Precision'#2#255#4'Size'#2#7#0#1#4'Name'#6 + +#4'NAME'#8'DataType'#7#8'ftString'#9'Precision'#2#255#4'Size'#3#150#0#0#1#4 + ,'Name'#6#5'PRICE'#8'DataType'#7#7'ftFloat'#9'Precision'#2#2#4'Size'#2#12#0#1 + +#4'Name'#6#9'Developer'#8'DataType'#7#8'ftString'#9'Precision'#2#255#4'Size' + +#3#150#0#0#1#4'Name'#6#12'Date_Present'#8'DataType'#7#6'ftDate'#9'Precision' + +#2#0#4'Size'#2#0#0#1#4'Name'#6#12'DEVELOPER_ID'#8'DataType'#7#9'ftInteger'#9 + +'Precision'#2#0#4'Size'#2#0#0#0#16'OnFilterRecordEx'#7#27'RxMemoryData1Filte' + +'rRecordEx'#4'left'#3#152#0#3'top'#3#8#1#0#13'TLongintField'#16'RxMemoryData' + +'1ID1'#12'DisplayWidth'#2#10#9'FieldKind'#7#6'fkData'#9'FieldName'#6#2'ID'#5 + +'Index'#2#0#11'LookupCache'#8#13'ProviderFlags'#11#10'pfInUpdate'#9'pfInWher' + +'e'#0#8'ReadOnly'#8#8'Required'#8#0#0#12'TStringField'#18'RxMemoryData1NAME1' + +#12'DisplayWidth'#3#150#0#9'FieldKind'#7#6'fkData'#9'FieldName'#6#4'NAME'#5 + +'Index'#2#1#11'LookupCache'#8#13'ProviderFlags'#11#10'pfInUpdate'#9'pfInWher' + +'e'#0#8'ReadOnly'#8#8'Required'#8#4'Size'#3#150#0#0#0#11'TFloatField'#19'RxM' + +'emoryData1PRICE1'#12'DisplayWidth'#2#10#9'FieldKind'#7#6'fkData'#9'FieldNam' + +'e'#6#5'PRICE'#5'Index'#2#2#11'LookupCache'#8#13'ProviderFlags'#11#10'pfInUp' + +'date'#9'pfInWhere'#0#8'ReadOnly'#8#8'Required'#8#13'DisplayFormat'#6#8'#,##' + +'0.00'#8'MaxValue'#5#0#0#0#0#0#0#0#0#0#0#8'MinValue'#5#0#0#0#0#0#0#0#0#0#0#9 + +'Precision'#2#2#0#0#12'TStringField'#23'RxMemoryData1Developer1'#12'DisplayW' + +'idth'#3#150#0#9'FieldKind'#7#6'fkData'#9'FieldName'#6#9'Developer'#5'Index' + +#2#3#11'LookupCache'#8#13'ProviderFlags'#11#10'pfInUpdate'#9'pfInWhere'#0#8 + +'ReadOnly'#8#8'Required'#8#4'Size'#3#150#0#0#0#10'TDateField'#26'RxMemoryDat' + +'a1Date_Present1'#12'DisplayWidth'#2#10#9'FieldKind'#7#6'fkData'#9'FieldName' + +#6#12'Date_Present'#5'Index'#2#4#11'LookupCache'#8#13'ProviderFlags'#11#10'p' + +'fInUpdate'#9'pfInWhere'#0#8'ReadOnly'#8#8'Required'#8#0#0#13'TLongintField' + +#26'RxMemoryData1DEVELOPER_ID1'#12'DisplayWidth'#2#10#9'FieldKind'#7#6'fkDat' + +'a'#9'FieldName'#6#12'DEVELOPER_ID'#5'Index'#2#5#9'KeyFields'#6#12'DEVELOPER' + +'_ID'#11'LookupCache'#8#13'LookupDataSet'#7#13'RxMemoryData2'#15'LookupKeyFi' + +'elds'#6#12'DEVELOPER_ID'#17'LookupResultField'#6#14'DEVELOPER_NAME'#13'Prov' + +'iderFlags'#11#10'pfInUpdate'#9'pfInWhere'#0#8'ReadOnly'#8#8'Required'#8#0#0 + +#0#11'TDatasource'#11'Datasource1'#7'DataSet'#7#13'RxMemoryData1'#4'left'#2 + +'x'#3'top'#3#8#1#0#0#10'TPopupMenu'#10'PopupMenu1'#4'left'#3#152#0#3'top'#3 + +#197#0#0#9'TMenuItem'#9'MenuItem1'#6'Action'#7#20'actOptimizeWidthCol1'#7'On' + +'Click'#7#27'actOptimizeWidthCol1Execute'#0#0#9'TMenuItem'#9'MenuItem2'#7'Ca' + +'ption'#6#1'-'#0#0#9'TMenuItem'#9'MenuItem4'#6'Action'#7#12'actCalcTotal'#7 + +'OnClick'#7#19'actCalcTotalExecute'#0#0#9'TMenuItem'#9'MenuItem3'#6'Action'#7 + +#26'actOptimizeColumnsWidthAll'#7'OnClick'#7'!actOptimizeColumnsWidthAllExec' + +'ute'#0#0#9'TMenuItem'#9'MenuItem5'#7'Caption'#6#1'-'#0#0#9'TMenuItem'#9'Men' + +'uItem7'#6'Action'#7#17'showColumnsDialog'#7'OnClick'#7#24'showColumnsDialog' + +'Execute'#0#0#9'TMenuItem'#9'MenuItem6'#6'Action'#7#14'showFindDialog'#7'OnC' + +'lick'#7#21'showFindDialogExecute'#0#0#0#11'TActionList'#11'ActionList1'#4'l' + +'eft'#3#206#0#3'top'#3#197#0#0#7'TAction'#12'actCalcTotal'#7'Caption'#6#13'C' + +'alc total...'#9'OnExecute'#7#19'actCalcTotalExecute'#0#0#7'TAction'#26'actO' + +'ptimizeColumnsWidthAll'#7'Caption'#6#25'Optimize width for all...'#9'OnExec' + +'ute'#7'!actOptimizeColumnsWidthAllExecute'#0#0#7'TAction'#20'actOptimizeWid' + +'thCol1'#7'Caption'#6#17'Optimize width...'#9'OnExecute'#7#27'actOptimizeWid' + +'thCol1Execute'#0#0#7'TAction'#14'showFindDialog'#7'Caption'#6#19'Show find ' + +'dialog...'#9'OnExecute'#7#21'showFindDialogExecute'#0#0#7'TAction'#17'showC' + +'olumnsDialog'#7'Caption'#6#22'Show columns dialog...'#9'OnExecute'#7#24'sho' + +'wColumnsDialogExecute'#0#0#0#11'TDatasource'#11'Datasource2'#7'DataSet'#7#13 + +'RxMemoryData2'#4'left'#3#207#0#3'top'#3#8#1#0#0#13'TRxMemoryData'#13'RxMemo' + +'ryData2'#14'AutoCalcFields'#8#9'FieldDefs'#14#1#4'Name'#6#12'DEVELOPER_ID'#8 + +'DataType'#7#9'ftInteger'#9'Precision'#2#0#4'Size'#2#0#0#1#4'Name'#6#14'DEVE' + +'LOPER_NAME'#8'DataType'#7#8'ftString'#9'Precision'#2#0#4'Size'#3#130#0#0#0#4 + +'left'#3#240#0#3'top'#3#8#1#0#13'TLongintField'#26'RxMemoryData2DEVELOPER_ID' + +'1'#12'DisplayWidth'#2#10#9'FieldKind'#7#6'fkData'#9'FieldName'#6#12'DEVELOP' + +'ER_ID'#5'Index'#2#0#11'LookupCache'#8#13'ProviderFlags'#11#10'pfInUpdate'#9 + +'pfInWhere'#0#8'ReadOnly'#8#8'Required'#8#0#0#12'TStringField'#28'RxMemoryDa' + +'ta2DEVELOPER_NAME1'#12'DisplayWidth'#3#130#0#9'FieldKind'#7#6'fkData'#9'Fie' + +'ldName'#6#14'DEVELOPER_NAME'#5'Index'#2#1#11'LookupCache'#8#13'ProviderFlag' + +'s'#11#10'pfInUpdate'#9'pfInWhere'#0#8'ReadOnly'#8#8'Required'#8#4'Size'#3 + +#130#0#0#0#0#0 ]); diff --git a/components/rx/Demos/ToolPanel/project1.ico b/components/rx/Demos/ToolPanel/project1.ico new file mode 100644 index 000000000..703e3aed1 Binary files /dev/null and b/components/rx/Demos/ToolPanel/project1.ico differ diff --git a/components/rx/Demos/ToolPanel/project1.lpi b/components/rx/Demos/ToolPanel/project1.lpi index c5703588b..537ae19fc 100644 --- a/components/rx/Demos/ToolPanel/project1.lpi +++ b/components/rx/Demos/ToolPanel/project1.lpi @@ -7,12 +7,18 @@ <Flags> <LRSInOutputDirectory Value="False"/> </Flags> + <SessionStorage Value="InProjectDir"/> <MainUnit Value="0"/> + <AutoCreateForms Value="False"/> <TargetFileExt Value=".exe"/> + <Title Value="Rx Toolbar test"/> + <UseAppBundle Value="False"/> <Icon Value="0"/> <UseXPManifest Value="True"/> - <ActiveEditorIndexAtStart Value="0"/> </General> + <VersionInfo> + <UseVersionInfo Value="True"/> + </VersionInfo> <PublishOptions> <Version Value="2"/> <IgnoreBinaries Value="False"/> @@ -38,727 +44,27 @@ <MinVersion Major="1" Valid="True"/> </Item3> </RequiredPackages> - <Units Count="87"> + <Units Count="3"> <Unit0> <Filename Value="project1.lpr"/> <IsPartOfProject Value="True"/> <UnitName Value="project1"/> - <CursorPos X="3" Y="9"/> - <TopLine Value="1"/> - <UsageCount Value="50"/> </Unit0> <Unit1> <Filename Value="unit1.pas"/> - <ComponentName Value="MainForm"/> <IsPartOfProject Value="True"/> + <ComponentName Value="MainForm"/> <ResourceBaseClass Value="Form"/> <UnitName Value="Unit1"/> - <CursorPos X="18" Y="69"/> - <TopLine Value="53"/> - <EditorIndex Value="0"/> - <UsageCount Value="50"/> - <Loaded Value="True"/> </Unit1> <Unit2> - <Filename Value="..\..\..\..\lcl\buttons.pp"/> - <UnitName Value="Buttons"/> - <CursorPos X="47" Y="303"/> - <TopLine Value="301"/> - <UsageCount Value="14"/> - </Unit2> - <Unit3> - <Filename Value="..\..\..\..\lcl\include\speedbutton.inc"/> - <CursorPos X="48" Y="45"/> - <TopLine Value="39"/> - <UsageCount Value="14"/> - </Unit3> - <Unit4> - <Filename Value="..\..\..\..\fpcsrc\rtl\objpas\classes\classesh.inc"/> - <CursorPos X="61" Y="1356"/> - <TopLine Value="1344"/> - <UsageCount Value="13"/> - </Unit4> - <Unit5> - <Filename Value="..\..\..\..\lcl\imglist.pp"/> - <UnitName Value="ImgList"/> - <CursorPos X="40" Y="146"/> - <TopLine Value="141"/> - <UsageCount Value="12"/> - </Unit5> - <Unit6> - <Filename Value="..\..\..\..\lcl\LCLType.pp"/> - <UnitName Value="LCLType"/> - <CursorPos X="42" Y="2120"/> - <TopLine Value="2104"/> - <UsageCount Value="11"/> - </Unit6> - <Unit7> - <Filename Value="..\..\..\..\lcl\include\winapih.inc"/> - <CursorPos X="46" Y="4"/> - <TopLine Value="1"/> - <UsageCount Value="11"/> - </Unit7> - <Unit8> - <Filename Value="..\..\..\..\lcl\include\intfbasewinapi.inc"/> - <CursorPos X="89" Y="4"/> - <TopLine Value="1"/> - <UsageCount Value="11"/> - </Unit8> - <Unit9> - <Filename Value="..\..\..\..\lcl\dbgrids.pas"/> - <UnitName Value="DBGrids"/> - <CursorPos X="10" Y="3109"/> - <TopLine Value="3109"/> - <UsageCount Value="14"/> - </Unit9> - <Unit10> - <Filename Value="..\..\..\..\lcl\grids.pas"/> - <UnitName Value="Grids"/> - <CursorPos X="26" Y="370"/> - <TopLine Value="368"/> - <UsageCount Value="14"/> - </Unit10> - <Unit11> - <Filename Value="..\..\..\..\lcl\extctrls.pp"/> - <UnitName Value="ExtCtrls"/> - <CursorPos X="71" Y="885"/> - <TopLine Value="882"/> - <UsageCount Value="12"/> - </Unit11> - <Unit12> - <Filename Value="..\..\rxtoolbar.pas"/> - <UnitName Value="rxtoolbar"/> - <CursorPos X="1" Y="888"/> - <TopLine Value="871"/> - <EditorIndex Value="1"/> - <UsageCount Value="19"/> - <Bookmarks Count="1"> - <Item0 X="27" Y="1019" ID="1"/> - </Bookmarks> - <Loaded Value="True"/> - </Unit12> - <Unit13> - <Filename Value="..\..\..\..\lcl\Controls.pp"/> - <UnitName Value="Controls"/> - <CursorPos X="76" Y="721"/> - <TopLine Value="710"/> - <UsageCount Value="13"/> - </Unit13> - <Unit14> - <Filename Value="..\..\..\..\lcl\Graphics.pp"/> - <UnitName Value="Graphics"/> - <CursorPos X="59" Y="1095"/> - <TopLine Value="1090"/> - <UsageCount Value="11"/> - </Unit14> - <Unit15> - <Filename Value="..\..\registerrx.pas"/> - <UnitName Value="registerrx"/> - <CursorPos X="52" Y="81"/> - <TopLine Value="75"/> - <UsageCount Value="11"/> - </Unit15> - <Unit16> - <Filename Value="..\..\..\..\fpcsrc\rtl\objpas\classes\reader.inc"/> - <CursorPos X="60" Y="644"/> - <TopLine Value="643"/> - <UsageCount Value="10"/> - </Unit16> - <Unit17> - <Filename Value="..\..\..\..\fpcsrc\rtl\objpas\classes\collect.inc"/> - <CursorPos X="50" Y="181"/> - <TopLine Value="174"/> - <UsageCount Value="10"/> - </Unit17> - <Unit18> - <Filename Value="..\..\..\..\lcl\include\control.inc"/> - <CursorPos X="1" Y="2869"/> - <TopLine Value="2852"/> - <UsageCount Value="14"/> - </Unit18> - <Unit19> - <Filename Value="..\..\..\..\lcl\ActnList.pas"/> - <UnitName Value="ActnList"/> - <CursorPos X="56" Y="237"/> - <TopLine Value="232"/> - <UsageCount Value="10"/> - </Unit19> - <Unit20> - <Filename Value="..\..\..\..\lcl\include\graphiccontrol.inc"/> - <CursorPos X="75" Y="40"/> - <TopLine Value="31"/> - <UsageCount Value="10"/> - </Unit20> - <Unit21> - <Filename Value="..\..\..\..\fpcsrc\rtl\objpas\classes\compon.inc"/> - <CursorPos X="44" Y="244"/> - <TopLine Value="239"/> - <UsageCount Value="11"/> - </Unit21> - <Unit22> - <Filename Value="..\..\tooledit.pas"/> - <UnitName Value="tooledit"/> - <CursorPos X="93" Y="1"/> - <TopLine Value="1"/> - <UsageCount Value="13"/> - </Unit22> - <Unit23> - <Filename Value="..\..\rxlookup.pas"/> - <UnitName Value="rxlookup"/> - <CursorPos X="27" Y="4"/> - <TopLine Value="1"/> - <UsageCount Value="13"/> - </Unit23> - <Unit24> - <Filename Value="..\..\..\..\lcl\include\wincontrol.inc"/> - <CursorPos X="61" Y="3022"/> - <TopLine Value="3010"/> - <UsageCount Value="12"/> - </Unit24> - <Unit25> - <Filename Value="..\..\..\..\lcl\xmlpropstorage.pas"/> - <UnitName Value="XMLPropStorage"/> - <CursorPos X="43" Y="41"/> - <TopLine Value="35"/> - <UsageCount Value="10"/> - </Unit25> - <Unit26> - <Filename Value="..\..\..\..\lcl\inipropstorage.pas"/> - <UnitName Value="IniPropStorage"/> - <CursorPos X="50" Y="27"/> - <TopLine Value="23"/> - <UsageCount Value="10"/> - </Unit26> - <Unit27> - <Filename Value="..\..\..\..\lcl\Forms.pp"/> - <UnitName Value="Forms"/> - <CursorPos X="51" Y="469"/> - <TopLine Value="461"/> - <UsageCount Value="10"/> - </Unit27> - <Unit28> - <Filename Value="..\..\..\..\lcl\include\customform.inc"/> - <CursorPos X="29" Y="1350"/> - <TopLine Value="1349"/> - <UsageCount Value="10"/> - </Unit28> - <Unit29> - <Filename Value="..\..\..\..\lcl\propertystorage.pas"/> - <UnitName Value="PropertyStorage"/> - <CursorPos X="49" Y="146"/> - <TopLine Value="139"/> - <UsageCount Value="12"/> - </Unit29> - <Unit30> - <Filename Value="..\..\..\..\lcl\menus.pp"/> - <UnitName Value="Menus"/> - <CursorPos X="49" Y="312"/> - <TopLine Value="311"/> - <UsageCount Value="10"/> - </Unit30> - <Unit31> - <Filename Value="..\..\RxTBRSetup.pas"/> - <ComponentName Value="ToolPanelSetupForm"/> - <UnitName Value="rxtbrsetup"/> - <CursorPos X="40" Y="26"/> - <TopLine Value="25"/> - <UsageCount Value="12"/> - </Unit31> - <Unit32> - <Filename Value="..\..\..\..\lcl\include\lclintfh.inc"/> - <CursorPos X="36" Y="61"/> - <TopLine Value="52"/> - <UsageCount Value="10"/> - </Unit32> - <Unit33> - <Filename Value="..\..\..\..\lcl\include\intfbaselcl.inc"/> - <CursorPos X="49" Y="137"/> - <TopLine Value="134"/> - <UsageCount Value="10"/> - </Unit33> - <Unit34> - <Filename Value="..\..\..\..\lcl\GraphType.pp"/> - <UnitName Value="GraphType"/> - <CursorPos X="62" Y="36"/> - <TopLine Value="27"/> - <UsageCount Value="10"/> - </Unit34> - <Unit35> - <Filename Value="..\..\..\..\lcl\LCLProc.pas"/> - <UnitName Value="LCLProc"/> - <CursorPos X="48" Y="470"/> - <TopLine Value="469"/> - <UsageCount Value="10"/> - </Unit35> - <Unit36> - <Filename Value="..\..\..\..\fpcsrc\rtl\objpas\types.pp"/> - <UnitName Value="types"/> - <CursorPos X="39" Y="59"/> - <TopLine Value="53"/> - <UsageCount Value="10"/> - </Unit36> - <Unit37> - <Filename Value="..\..\VCLUtils.pas"/> - <UnitName Value="vclutils"/> - <CursorPos X="6" Y="1"/> - <TopLine Value="1"/> - <UsageCount Value="11"/> - </Unit37> - <Unit38> - <Filename Value="..\..\..\..\lcl\include\winapi.inc"/> - <CursorPos X="41" Y="5"/> - <TopLine Value="1"/> - <UsageCount Value="10"/> - </Unit38> - <Unit39> - <Filename Value="..\..\..\..\lcl\include\application.inc"/> - <CursorPos X="61" Y="1529"/> - <TopLine Value="1526"/> - <UsageCount Value="10"/> - </Unit39> - <Unit40> - <Filename Value="..\..\..\..\lcl\include\bitbtn.inc"/> - <CursorPos X="51" Y="199"/> - <TopLine Value="196"/> - <UsageCount Value="10"/> - </Unit40> - <Unit41> - <Filename Value="..\..\..\..\lcl\include\buttons.inc"/> - <CursorPos X="46" Y="24"/> - <TopLine Value="24"/> - <UsageCount Value="10"/> - </Unit41> - <Unit42> - <Filename Value="..\..\..\..\lcl\include\canvas.inc"/> - <CursorPos X="49" Y="45"/> - <TopLine Value="33"/> - <UsageCount Value="10"/> - </Unit42> - <Unit43> - <Filename Value="..\..\..\..\lcl\include\dragdock.inc"/> - <CursorPos X="73" Y="10"/> - <TopLine Value="5"/> - <UsageCount Value="10"/> - </Unit43> - <Unit44> - <Filename Value="..\..\fduallst.lfm"/> - <CursorPos X="48" Y="11"/> - <TopLine Value="1"/> - <UsageCount Value="10"/> - <SyntaxHighlighter Value="LFM"/> - </Unit44> - <Unit45> - <Filename Value="..\..\rxdbgrid.pas"/> - <UnitName Value="rxdbgrid"/> - <CursorPos X="24" Y="5"/> - <TopLine Value="1"/> - <UsageCount Value="10"/> - </Unit45> - <Unit46> - <Filename Value="..\..\rxdice.pas"/> - <UnitName Value="rxdice"/> - <CursorPos X="84" Y="1"/> - <TopLine Value="1"/> - <UsageCount Value="10"/> - </Unit46> - <Unit47> - <Filename Value="..\..\rx.inc"/> - <CursorPos X="74" Y="5"/> - <TopLine Value="1"/> - <UsageCount Value="10"/> - </Unit47> - <Unit48> - <Filename Value="..\..\folderlister.pas"/> - <UnitName Value="folderlister"/> - <CursorPos X="82" Y="7"/> - <TopLine Value="1"/> - <UsageCount Value="10"/> - </Unit48> - <Unit49> - <Filename Value="..\..\rxdbcomb.pas"/> - <UnitName Value="rxdbcomb"/> - <CursorPos X="80" Y="2"/> - <TopLine Value="1"/> - <UsageCount Value="10"/> - </Unit49> - <Unit50> - <Filename Value="..\..\..\..\lcl\DbCtrls.pp"/> - <UnitName Value="DbCtrls"/> - <CursorPos X="63" Y="9"/> - <TopLine Value="1"/> - <UsageCount Value="10"/> - </Unit50> - <Unit51> - <Filename Value="..\..\dateutil.pas"/> - <UnitName Value="dateutil"/> - <CursorPos X="76" Y="9"/> - <TopLine Value="1"/> - <UsageCount Value="10"/> - </Unit51> - <Unit52> - <Filename Value="..\..\dbutils.pas"/> - <UnitName Value="dbutils"/> - <CursorPos X="13" Y="10"/> - <TopLine Value="1"/> - <UsageCount Value="10"/> - </Unit52> - <Unit53> - <Filename Value="..\..\rxapputils.pas"/> - <UnitName Value="rxapputils"/> - <CursorPos X="77" Y="9"/> - <TopLine Value="1"/> - <UsageCount Value="10"/> - </Unit53> - <Unit54> - <Filename Value="..\..\rxdconst.pas"/> - <UnitName Value="rxdconst"/> - <CursorPos X="74" Y="146"/> - <TopLine Value="140"/> - <UsageCount Value="10"/> - </Unit54> - <Unit55> - <Filename Value="..\..\rxstrutils.pas"/> - <UnitName Value="rxstrutils"/> - <CursorPos X="74" Y="6"/> - <TopLine Value="1"/> - <UsageCount Value="10"/> - </Unit55> - <Unit56> - <Filename Value="..\..\dbdateedit.pas"/> - <UnitName Value="dbdateedit"/> - <CursorPos X="74" Y="4"/> - <TopLine Value="1"/> - <UsageCount Value="10"/> - </Unit56> - <Unit57> - <Filename Value="..\..\curredit.pas"/> - <UnitName Value="curredit"/> - <CursorPos X="83" Y="7"/> - <TopLine Value="1"/> - <UsageCount Value="10"/> - </Unit57> - <Unit58> - <Filename Value="..\..\rxmemds.pas"/> - <UnitName Value="rxmemds"/> - <CursorPos X="72" Y="202"/> - <TopLine Value="197"/> - <UsageCount Value="10"/> - </Unit58> - <Unit59> - <Filename Value="..\..\boxprocs.pas"/> - <UnitName Value="boxprocs"/> - <CursorPos X="49" Y="40"/> - <TopLine Value="32"/> - <UsageCount Value="11"/> - </Unit59> - <Unit60> - <Filename Value="..\..\duallist.pas"/> - <UnitName Value="duallist"/> - <CursorPos X="80" Y="70"/> - <TopLine Value="59"/> - <UsageCount Value="10"/> - </Unit60> - <Unit61> - <Filename Value="..\..\rxswitch.pas"/> - <UnitName Value="rxswitch"/> - <CursorPos X="78" Y="1"/> - <TopLine Value="1"/> - <UsageCount Value="10"/> - </Unit61> - <Unit62> - <Filename Value="..\..\fduallst.pas"/> - <ComponentName Value="DualListForm"/> - <HasResources Value="True"/> - <UnitName Value="fduallst"/> - <CursorPos X="25" Y="123"/> - <TopLine Value="119"/> - <UsageCount Value="10"/> - </Unit62> - <Unit63> - <Filename Value="..\..\..\..\lcl\stdctrls.pp"/> - <UnitName Value="StdCtrls"/> - <CursorPos X="50" Y="431"/> - <TopLine Value="422"/> - <UsageCount Value="10"/> - </Unit63> - <Unit64> - <Filename Value="..\..\..\..\lcl\include\customlistbox.inc"/> - <CursorPos X="1" Y="403"/> - <TopLine Value="386"/> - <UsageCount Value="10"/> - </Unit64> - <Unit65> - <Filename Value="..\..\..\..\lcl\include\controlactionlink.inc"/> - <CursorPos X="65" Y="72"/> - <TopLine Value="65"/> - <UsageCount Value="10"/> - </Unit65> - <Unit66> - <Filename Value="..\..\..\..\lcl\include\customaction.inc"/> - <CursorPos X="65" Y="143"/> - <TopLine Value="136"/> - <UsageCount Value="10"/> - </Unit66> - <Unit67> - <Filename Value="..\..\..\..\lcl\LMessages.pp"/> - <UnitName Value="LMessages"/> - <CursorPos X="71" Y="256"/> - <TopLine Value="245"/> - <UsageCount Value="10"/> - </Unit67> - <Unit68> - <Filename Value="..\..\..\..\lcl\include\menuactionlink.inc"/> - <CursorPos X="63" Y="36"/> - <TopLine Value="30"/> - <UsageCount Value="10"/> - </Unit68> - <Unit69> - <Filename Value="..\..\..\..\lcl\include\actionlink.inc"/> - <CursorPos X="60" Y="26"/> - <TopLine Value="19"/> - <UsageCount Value="10"/> - </Unit69> - <Unit70> - <Filename Value="..\..\..\..\fpcsrc\fcl\image\fpcanvas.pp"/> - <UnitName Value="FPCanvas"/> - <CursorPos X="40" Y="228"/> - <TopLine Value="215"/> - <UsageCount Value="10"/> - </Unit70> - <Unit71> - <Filename Value="..\..\..\..\fpcsrc\fcl\image\FPCanvas.inc"/> - <CursorPos X="41" Y="270"/> - <TopLine Value="269"/> - <UsageCount Value="10"/> - </Unit71> - <Unit72> - <Filename Value="..\..\..\..\fpcsrc\rtl\objpas\sysutils\sysutilh.inc"/> - <CursorPos X="48" Y="215"/> - <TopLine Value="207"/> - <UsageCount Value="10"/> - </Unit72> - <Unit73> - <Filename Value="..\..\..\..\fpcsrc\rtl\objpas\sysutils\sysutils.inc"/> - <CursorPos X="51" Y="102"/> - <TopLine Value="100"/> - <UsageCount Value="10"/> - </Unit73> - <Unit74> - <Filename Value="..\..\..\..\lcl\include\custompanel.inc"/> - <CursorPos X="65" Y="88"/> - <TopLine Value="79"/> - <UsageCount Value="10"/> - </Unit74> - <Unit75> - <Filename Value="..\..\..\..\fpcsrc\rtl\objpas\classes\lists.inc"/> - <CursorPos X="72" Y="305"/> - <TopLine Value="298"/> - <UsageCount Value="10"/> - </Unit75> - <Unit76> - <Filename Value="..\..\..\..\lcl\include\imglist.inc"/> - <CursorPos X="48" Y="990"/> - <TopLine Value="986"/> - <UsageCount Value="10"/> - </Unit76> - <Unit77> - <Filename Value="..\..\..\..\lcl\include\bitmap.inc"/> - <CursorPos X="47" Y="488"/> - <TopLine Value="486"/> - <UsageCount Value="10"/> - </Unit77> - <Unit78> - <Filename Value="..\..\..\..\lcl\include\customcheckbox.inc"/> - <CursorPos X="1" Y="140"/> - <TopLine Value="123"/> - <EditorIndex Value="3"/> - <UsageCount Value="10"/> - <Loaded Value="True"/> - </Unit78> - <Unit79> - <Filename Value="..\..\..\..\fpcsrc\rtl\objpas\typinfo.pp"/> - <UnitName Value="typinfo"/> - <CursorPos X="22" Y="200"/> - <TopLine Value="197"/> - <UsageCount Value="10"/> - </Unit79> - <Unit80> - <Filename Value="..\..\..\..\lcl\LCLClasses.pp"/> - <UnitName Value="LCLClasses"/> - <CursorPos X="79" Y="34"/> - <TopLine Value="24"/> - <UsageCount Value="10"/> - </Unit80> - <Unit81> - <Filename Value="..\..\..\..\fpcsrc\rtl\inc\objpash.inc"/> - <CursorPos X="49" Y="122"/> - <TopLine Value="116"/> - <UsageCount Value="10"/> - </Unit81> - <Unit82> - <Filename Value="..\..\..\..\fpcsrc\rtl\inc\objpas.inc"/> - <CursorPos X="49" Y="116"/> - <TopLine Value="111"/> - <UsageCount Value="10"/> - </Unit82> - <Unit83> - <Filename Value="..\..\rxappicon.pas"/> - <UnitName Value="RxAppIcon"/> - <CursorPos X="60" Y="41"/> - <TopLine Value="36"/> - <UsageCount Value="10"/> - </Unit83> - <Unit84> <Filename Value="aboutunit.pas"/> - <ComponentName Value="AboutForm"/> <IsPartOfProject Value="True"/> + <ComponentName Value="AboutForm"/> <ResourceBaseClass Value="Form"/> <UnitName Value="AboutUnit"/> - <CursorPos X="40" Y="5"/> - <TopLine Value="1"/> - <UsageCount Value="24"/> - </Unit84> - <Unit85> - <Filename Value="..\..\rxtbrsetup.pas"/> - <ComponentName Value="ToolPanelSetupForm"/> - <HasResources Value="True"/> - <ResourceBaseClass Value="Form"/> - <UnitName Value="rxtbrsetup"/> - <CursorPos X="1" Y="184"/> - <TopLine Value="167"/> - <EditorIndex Value="2"/> - <UsageCount Value="12"/> - <Loaded Value="True"/> - </Unit85> - <Unit86> - <Filename Value="..\..\..\..\lcl\include\radiogroup.inc"/> - <CursorPos X="1" Y="394"/> - <TopLine Value="377"/> - <UsageCount Value="10"/> - </Unit86> + </Unit2> </Units> - <JumpHistory Count="30" HistoryIndex="29"> - <Position1> - <Filename Value="..\..\rxtbrsetup.pas"/> - <Caret Line="185" Column="1" TopLine="168"/> - </Position1> - <Position2> - <Filename Value="..\..\rxtbrsetup.pas"/> - <Caret Line="188" Column="1" TopLine="171"/> - </Position2> - <Position3> - <Filename Value="..\..\rxtbrsetup.pas"/> - <Caret Line="190" Column="1" TopLine="173"/> - </Position3> - <Position4> - <Filename Value="..\..\rxtbrsetup.pas"/> - <Caret Line="192" Column="1" TopLine="175"/> - </Position4> - <Position5> - <Filename Value="..\..\rxtbrsetup.pas"/> - <Caret Line="193" Column="1" TopLine="176"/> - </Position5> - <Position6> - <Filename Value="..\..\rxtbrsetup.pas"/> - <Caret Line="197" Column="1" TopLine="180"/> - </Position6> - <Position7> - <Filename Value="..\..\rxtbrsetup.pas"/> - <Caret Line="198" Column="1" TopLine="181"/> - </Position7> - <Position8> - <Filename Value="..\..\rxtoolbar.pas"/> - <Caret Line="878" Column="1" TopLine="861"/> - </Position8> - <Position9> - <Filename Value="..\..\rxtoolbar.pas"/> - <Caret Line="879" Column="1" TopLine="862"/> - </Position9> - <Position10> - <Filename Value="..\..\rxtoolbar.pas"/> - <Caret Line="881" Column="1" TopLine="864"/> - </Position10> - <Position11> - <Filename Value="..\..\rxtoolbar.pas"/> - <Caret Line="883" Column="1" TopLine="866"/> - </Position11> - <Position12> - <Filename Value="..\..\rxtoolbar.pas"/> - <Caret Line="884" Column="1" TopLine="867"/> - </Position12> - <Position13> - <Filename Value="..\..\rxtoolbar.pas"/> - <Caret Line="883" Column="1" TopLine="866"/> - </Position13> - <Position14> - <Filename Value="..\..\rxtoolbar.pas"/> - <Caret Line="884" Column="1" TopLine="867"/> - </Position14> - <Position15> - <Filename Value="..\..\rxtoolbar.pas"/> - <Caret Line="883" Column="1" TopLine="866"/> - </Position15> - <Position16> - <Filename Value="..\..\rxtoolbar.pas"/> - <Caret Line="884" Column="1" TopLine="867"/> - </Position16> - <Position17> - <Filename Value="..\..\rxtoolbar.pas"/> - <Caret Line="883" Column="1" TopLine="866"/> - </Position17> - <Position18> - <Filename Value="..\..\rxtoolbar.pas"/> - <Caret Line="884" Column="1" TopLine="867"/> - </Position18> - <Position19> - <Filename Value="..\..\rxtoolbar.pas"/> - <Caret Line="883" Column="1" TopLine="866"/> - </Position19> - <Position20> - <Filename Value="..\..\rxtoolbar.pas"/> - <Caret Line="884" Column="1" TopLine="867"/> - </Position20> - <Position21> - <Filename Value="..\..\rxtoolbar.pas"/> - <Caret Line="883" Column="1" TopLine="866"/> - </Position21> - <Position22> - <Filename Value="..\..\rxtoolbar.pas"/> - <Caret Line="884" Column="1" TopLine="867"/> - </Position22> - <Position23> - <Filename Value="..\..\rxtoolbar.pas"/> - <Caret Line="883" Column="1" TopLine="866"/> - </Position23> - <Position24> - <Filename Value="..\..\rxtoolbar.pas"/> - <Caret Line="884" Column="1" TopLine="867"/> - </Position24> - <Position25> - <Filename Value="..\..\rxtoolbar.pas"/> - <Caret Line="887" Column="1" TopLine="870"/> - </Position25> - <Position26> - <Filename Value="..\..\rxtoolbar.pas"/> - <Caret Line="888" Column="1" TopLine="871"/> - </Position26> - <Position27> - <Filename Value="..\..\rxtbrsetup.pas"/> - <Caret Line="200" Column="1" TopLine="183"/> - </Position27> - <Position28> - <Filename Value="..\..\rxtbrsetup.pas"/> - <Caret Line="201" Column="1" TopLine="184"/> - </Position28> - <Position29> - <Filename Value="..\..\..\..\lcl\include\customcheckbox.inc"/> - <Caret Line="139" Column="1" TopLine="122"/> - </Position29> - <Position30> - <Filename Value="..\..\rxtbrsetup.pas"/> - <Caret Line="201" Column="32" TopLine="184"/> - </Position30> - </JumpHistory> </ProjectOptions> <CompilerOptions> <Version Value="8"/> @@ -777,14 +83,4 @@ <CompilerPath Value="$(CompPath)"/> </Other> </CompilerOptions> - <Debugging> - <Exceptions Count="2"> - <Item1> - <Name Value="ECodetoolError"/> - </Item1> - <Item2> - <Name Value="EFOpenError"/> - </Item2> - </Exceptions> - </Debugging> </CONFIG> diff --git a/components/rx/Demos/ToolPanel/project1.lpr b/components/rx/Demos/ToolPanel/project1.lpr index f1cc57efa..058118f96 100644 --- a/components/rx/Demos/ToolPanel/project1.lpr +++ b/components/rx/Demos/ToolPanel/project1.lpr @@ -6,15 +6,16 @@ uses Interfaces, // this includes the LCL widgetset Forms, Unit1, - AboutUnit, LResources; + AboutUnit, + LResources; {$IFDEF WINDOWS}{$R project1.rc}{$ENDIF} begin {$I project1.lrs} + Application.Title:='Rx Toolbar test'; Application.Initialize; Application.CreateForm(TMainForm, MainForm); - Application.CreateForm(TAboutForm, AboutForm); Application.Run; end. diff --git a/components/rx/Demos/ToolPanel/project1.lrs b/components/rx/Demos/ToolPanel/project1.lrs new file mode 100644 index 000000000..b8ddd6a05 --- /dev/null +++ b/components/rx/Demos/ToolPanel/project1.lrs @@ -0,0 +1,29 @@ +LazarusResources.Add('MAINICON','ICO',[ + #0#0#1#0#1#0' '#4#0#0#0#0#0#232#2#0#0#22#0#0#0'('#0#0#0' '#0#0#0'@'#0#0#0#1#0 + +#4#0#0#0#0#0#0#2#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#128#0#0#128 + +#0#0#0#128#128#0#128#0#0#0#128#0#128#0#128#128#0#0#128#128#128#0#192#192#192 + +#0#0#0#255#0#0#255#0#0#0#255#255#0#255#0#0#0#255#0#255#0#255#255#0#0#255#255 + +#255#0#0#0#0#0#0#0#0#7'wp'#0#0#0#0#0#0#0#0#0#0#0#0'w'#0#0'pw'#0#0#0#0#0#0#0#0 + +#0#0#0#7#6'`p'#7'p'#0#0#0#0#0#0#0#0#7#6'`'#6'`'#6'`pp'#0#0#0#0#0#0#0#7#6'fff' + +'f`pw'#0#0#0#0#0#0#0'`'#6'ffff`'#6#7'p'#0#0#0#0#0#6'ffn'#238#238#230'ff`'#0#0 + +#0#0#0#0'pfn'#232#136#136#142#230'f'#7'w'#0#0#0#0#0#0'f'#8#136#136#136#136 + +#142'f'#0#7'p'#0#0#0#6'f`'#248#136#136#136#136#136#230'f`p'#0#0#0#6'f`'#143 + +#136#136#136#136#136#230'f`'#0#0#0#0'pf'#8#248#248#136#136#136#136#142'f'#7 + +'w'#0#0#0#0'f'#8#143#143#128#8#136#136#142'f'#0#7#0#0#0'ff'#8#136#248#0#0#136 + +#136#142'ff'#7#0#0#0'ff'#8#136#143#7#0#136#136#142'ff'#7#0#0#0#0'f'#8#136#136 + +#128#8#136#136#142'f'#0#0#0#0#0#0'f'#8#136#136#136#143#136#136#142'f'#7'p'#0 + +#0#0#6'f`'#136#136#136#248#248#136#230'f`p'#0#0#0#6'f`'#136#136#136#143#143 + +#136#230'f`'#0#0#0#0#0#0'f'#8#136#136#136#248#142'f'#0#0#0#0#0#0#0#0'f`'#8 + +#136#136#128#6'f'#7'p'#0#0#0'ww'#6'ff`'#0#0#6'ff`'#0#0#0#0#0#0#0'`'#6'ffff`' + +#6#0'ww'#0#8#136#135#0#8#6'ffff`'#128#0#0#7'p'#0#0#136'w'#0#0#0#0#0#0#0#0#7 + +'wpw'#0#0#8#136'wwwwwwwwx'#0#135#7#0#0#0#136#136#136#136#136#136#136#136#136 + +#128#0#8#7#0#0#0#136#136#136#136#136#136#136#136#136#128'p'#8#7#7'w'#8#136 + +#255#255#255#255#255#255#255#255#248#0#143#0#0#0#136#255#0#0#0#0#0#0#0#0#15 + +#255#240#0#15#255#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#255#254#31#255#255#240#19#255#255#224#1#255#255#128#1''#255#0#0'?'#254#0 + +#0#31#252#0#0'?'#252#0#0#15#248#0#0#7#240#0#0#7#240#0#0#15#240#0#0#3#224#0#0 + +#3#224#1#128#3#224#0#128#3#224#0#0#7#248#0#0#7#240#0#0#7#240#0#0#15#248#0#0 + +#31#254#0#0#31#192#0#0'?'#130#0#0'C'#0#0#0#129#0#0#0#0#240#0#0#0#248#0#0'0' + +#248#0#0#16#128#0#0#1#0#0#0#3#0#255#255#135#131#255#255#255 +]); + diff --git a/components/rx/Demos/ToolPanel/project1.manifest b/components/rx/Demos/ToolPanel/project1.manifest new file mode 100644 index 000000000..515fedeef --- /dev/null +++ b/components/rx/Demos/ToolPanel/project1.manifest @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> + <assemblyIdentity version="1.0.0.0" processorArchitecture="*" name="CompanyName.ProductName.YourApp" type="win32"/> + <description>Your application description here.</description> + <dependency> + <dependentAssembly> + <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*"/> + </dependentAssembly> + </dependency> + <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> + <security> + <requestedPrivileges> + <requestedExecutionLevel level="asInvoker" uiAccess="false"/> + </requestedPrivileges> + </security> + </trustInfo> +</assembly> \ No newline at end of file diff --git a/components/rx/Demos/ToolPanel/project1.rc b/components/rx/Demos/ToolPanel/project1.rc new file mode 100644 index 000000000..21ffe8db4 --- /dev/null +++ b/components/rx/Demos/ToolPanel/project1.rc @@ -0,0 +1,33 @@ +1 VERSIONINFO +FILEVERSION 0,0,0,0 +PRODUCTVERSION 1,0,0,0 +{ + BLOCK "StringFileInfo" + { + BLOCK "040904E4" + { + VALUE "Comments", "\000" + VALUE "CompanyName", "\000" + VALUE "FileDescription", "\000" + VALUE "FileVersion", "0.0.0.0\000" + VALUE "InternalName", "\000" + VALUE "LegalCopyright", "\000" + VALUE "LegalTrademarks", "\000" + VALUE "OriginalFilename", "\000" + VALUE "ProductName", "\000" + VALUE "ProductVersion", "1.0.0.0\000" + } + } + BLOCK "VarFileInfo" + { + VALUE "Translation", 0x0409, 0x04E4 + } +} + +#define RT_MANIFEST 24 +#define CREATEPROCESS_MANIFEST_RESOURCE_ID 1 +#define ISOLATIONAWARE_MANIFEST_RESOURCE_ID 2 +#define ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID 3 + +CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "project1.manifest" +MAINICON ICON "project1.ico" diff --git a/components/rx/Demos/ToolPanel/toolbardemo.cfg b/components/rx/Demos/ToolPanel/toolbardemo.cfg index 582b3785d..938e9a1d4 100644 --- a/components/rx/Demos/ToolPanel/toolbardemo.cfg +++ b/components/rx/Demos/ToolPanel/toolbardemo.cfg @@ -2,6 +2,6 @@ <CONFIG> <TApplication> <Form1 Form1_Top="255" Form1_Left="310" Form1_Width="592" Form1_Height="289" Form1.ToolPanel1.Count="7" Form1.ToolPanel1.Options="tpFlatBtns,tpCustomizable,tpGlyphPopup,tpCaptionPopup" Form1.ToolPanel1.Version="1" Form1.ToolPanel1.ShowHint="1" Form1.ToolPanel1.Item0.Top="4" Form1.ToolPanel1.Item1.Top="4" Form1.ToolPanel1.Item2.Top="4" Form1.ToolPanel1.Item3.Top="4" Form1.ToolPanel1.Item4.Top="4" Form1.ToolPanel1.Item5.Top="4" Form1.ToolPanel1.Item6.Top="4" Form1.ToolPanel1.Item0.Left="8" Form1.ToolPanel1.Item1.Left="328" Form1.ToolPanel1.Item2.Left="152" Form1.ToolPanel1.Item3.Left="96" Form1.ToolPanel1.Item4.Left="504" Form1.ToolPanel1.Item5.Left="216" Form1.ToolPanel1.Item6.Left="328" Form1.ToolPanel1.Item0.Width="49" Form1.ToolPanel1.Item1.Width="64" Form1.ToolPanel1.Item2.Width="24" Form1.ToolPanel1.Item3.Width="50" Form1.ToolPanel1.Item4.Width="46" Form1.ToolPanel1.Item5.Width="85" Form1.ToolPanel1.Item6.Width="64" Form1.ToolPanel1.Item0.Action="actNew" Form1.ToolPanel1.Item1.Action="actCustom" Form1.ToolPanel1.Item2.Action="actNext" Form1.ToolPanel1.Item3.Action="actPrior" Form1.ToolPanel1.Item4.Action="actExit" Form1.ToolPanel1.Item5.Action="actDemo" Form1.ToolPanel1.Item6.Action="actCustom" Form1.ToolPanel1.ToolBarStyle="tbsStandart" Form1.ToolPanel1.Item0.Visible="1" Form1.ToolPanel1.Item1.Visible="1" Form1.ToolPanel1.Item2.Visible="1" Form1.ToolPanel1.Item3.Visible="1" Form1.ToolPanel1.Item4.Visible="1" Form1.ToolPanel1.Item5.Visible="1" Form1.ToolPanel1.Item6.Visible="1" Form1.ToolPanel1.Item0.ShowCaption="1" Form1.ToolPanel1.Item1.ShowCaption="1" Form1.ToolPanel1.Item2.ShowCaption="0" Form1.ToolPanel1.Item3.ShowCaption="1" Form1.ToolPanel1.Item4.ShowCaption="1" Form1.ToolPanel1.Item5.ShowCaption="1" Form1.ToolPanel1.Item6.ShowCaption="1"/> - <MainForm MainForm_Top="42" MainForm_Left="273" MainForm_Width="675" MainForm_Height="77" MainForm.ToolPanel1.Count="7" MainForm.ToolPanel1.Options="tpFlatBtns,tpCustomizable,tpGlyphPopup,tpCaptionPopup" MainForm.ToolPanel1.Version="4" MainForm.ToolPanel1.ShowHint="1" MainForm.ToolPanel1.Item0.Top="4" MainForm.ToolPanel1.Item1.Top="4" MainForm.ToolPanel1.Item2.Top="4" MainForm.ToolPanel1.Item3.Top="4" MainForm.ToolPanel1.Item4.Top="4" MainForm.ToolPanel1.Item5.Top="4" MainForm.ToolPanel1.Item6.Top="4" MainForm.ToolPanel1.Item0.Left="4" MainForm.ToolPanel1.Item1.Left="59" MainForm.ToolPanel1.Item2.Left="137" MainForm.ToolPanel1.Item3.Left="176" MainForm.ToolPanel1.Item4.Left="233" MainForm.ToolPanel1.Item5.Left="284" MainForm.ToolPanel1.Item6.Left="361" MainForm.ToolPanel1.Item0.Width="55" MainForm.ToolPanel1.Item1.Width="78" MainForm.ToolPanel1.Item2.Width="39" MainForm.ToolPanel1.Item3.Width="57" MainForm.ToolPanel1.Item4.Width="51" MainForm.ToolPanel1.Item5.Width="77" MainForm.ToolPanel1.Item6.Width="66" MainForm.ToolPanel1.ButtonAllign="tbaLeft" MainForm.ToolPanel1.Item0.Action="actNew" MainForm.ToolPanel1.Item1.Action="actCustom" MainForm.ToolPanel1.Item2.Action="actNext" MainForm.ToolPanel1.Item3.Action="actPrior" MainForm.ToolPanel1.Item4.Action="actExit" MainForm.ToolPanel1.Item5.Action="actSysMenu" MainForm.ToolPanel1.Item6.Action="sysAbout" MainForm.ToolPanel1.ToolBarStyle="tbsWindowsXP" MainForm.ToolPanel1.Item0.Visible="1" MainForm.ToolPanel1.Item1.Visible="1" MainForm.ToolPanel1.Item2.Visible="1" MainForm.ToolPanel1.Item3.Visible="1" MainForm.ToolPanel1.Item4.Visible="1" MainForm.ToolPanel1.Item5.Visible="1" MainForm.ToolPanel1.Item6.Visible="1" MainForm.ToolPanel1.Item0.ShowCaption="1" MainForm.ToolPanel1.Item1.ShowCaption="1" MainForm.ToolPanel1.Item2.ShowCaption="0" MainForm.ToolPanel1.Item3.ShowCaption="1" MainForm.ToolPanel1.Item4.ShowCaption="1" MainForm.ToolPanel1.Item5.ShowCaption="1" MainForm.ToolPanel1.Item6.ShowCaption="1"/> + <MainForm MainForm_Top="42" MainForm_Left="182" MainForm_Width="766" MainForm_Height="77" MainForm.ToolPanel1.Count="7" MainForm.ToolPanel1.Options="tpFlatBtns,tpCustomizable,tpGlyphPopup,tpCaptionPopup" MainForm.ToolPanel1.Version="4" MainForm.ToolPanel1.ShowHint="1" MainForm.ToolPanel1.Item0.Top="4" MainForm.ToolPanel1.Item1.Top="4" MainForm.ToolPanel1.Item2.Top="4" MainForm.ToolPanel1.Item3.Top="4" MainForm.ToolPanel1.Item4.Top="4" MainForm.ToolPanel1.Item5.Top="4" MainForm.ToolPanel1.Item6.Top="4" MainForm.ToolPanel1.Item0.Left="4" MainForm.ToolPanel1.Item1.Left="31" MainForm.ToolPanel1.Item2.Left="81" MainForm.ToolPanel1.Item3.Left="111" MainForm.ToolPanel1.Item4.Left="140" MainForm.ToolPanel1.Item5.Left="163" MainForm.ToolPanel1.Item6.Left="212" MainForm.ToolPanel1.Item0.Width="55" MainForm.ToolPanel1.Item1.Width="78" MainForm.ToolPanel1.Item2.Width="39" MainForm.ToolPanel1.Item3.Width="57" MainForm.ToolPanel1.Item4.Width="51" MainForm.ToolPanel1.Item5.Width="77" MainForm.ToolPanel1.Item6.Width="66" MainForm.ToolPanel1.ButtonAllign="tbaLeft" MainForm.ToolPanel1.Item0.Action="actNew" MainForm.ToolPanel1.Item1.Action="actCustom" MainForm.ToolPanel1.Item2.Action="actNext" MainForm.ToolPanel1.Item3.Action="actPrior" MainForm.ToolPanel1.Item4.Action="actExit" MainForm.ToolPanel1.Item5.Action="actSysMenu" MainForm.ToolPanel1.Item6.Action="sysAbout" MainForm.ToolPanel1.ToolBarStyle="tbsWindowsXP" MainForm.ToolPanel1.Item0.Visible="1" MainForm.ToolPanel1.Item1.Visible="1" MainForm.ToolPanel1.Item2.Visible="1" MainForm.ToolPanel1.Item3.Visible="1" MainForm.ToolPanel1.Item4.Visible="1" MainForm.ToolPanel1.Item5.Visible="1" MainForm.ToolPanel1.Item6.Visible="1" MainForm.ToolPanel1.Item0.ShowCaption="1" MainForm.ToolPanel1.Item1.ShowCaption="1" MainForm.ToolPanel1.Item2.ShowCaption="0" MainForm.ToolPanel1.Item3.ShowCaption="1" MainForm.ToolPanel1.Item4.ShowCaption="1" MainForm.ToolPanel1.Item5.ShowCaption="1" MainForm.ToolPanel1.Item6.ShowCaption="1"/> </TApplication> </CONFIG> diff --git a/components/rx/Demos/ToolPanel/unit1.lfm b/components/rx/Demos/ToolPanel/unit1.lfm index 9881f8a7f..2955c3419 100644 --- a/components/rx/Demos/ToolPanel/unit1.lfm +++ b/components/rx/Demos/ToolPanel/unit1.lfm @@ -20,10 +20,10 @@ object MainForm: TMainForm item Action = actNew Visible = True - Left = 216 - Height = 24 + Left = 5 + Height = 25 Top = 4 - Width = 49 + Width = 55 DropDownMenu = PopupMenu1 ShowCaption = True ButtonStyle = tbrDropDown @@ -31,7 +31,7 @@ object MainForm: TMainForm item Action = actCustom Visible = True - Left = 328 + Left = 137 Height = 25 Top = 4 Width = 78 @@ -40,7 +40,7 @@ object MainForm: TMainForm item Action = actNext Visible = True - Left = 168 + Left = 272 Height = 24 Top = 4 Width = 39 @@ -51,17 +51,17 @@ object MainForm: TMainForm item Action = actPrior Visible = True - Left = 112 - Height = 24 + Left = 215 + Height = 25 Top = 4 - Width = 50 + Width = 57 DropDownMenu = PopupMenu2 ShowCaption = True end item Action = actExit Visible = True - Left = 536 + Left = 311 Height = 25 Top = 4 Width = 51 @@ -70,7 +70,7 @@ object MainForm: TMainForm item Action = actSysMenu Visible = True - Left = 8 + Left = 60 Height = 25 Top = 4 Width = 77 @@ -81,7 +81,7 @@ object MainForm: TMainForm item Action = sysAbout Visible = True - Left = 424 + Left = 362 Height = 25 Top = 4 Width = 66 @@ -94,7 +94,7 @@ object MainForm: TMainForm ToolBarStyle = tbsWindowsXP Options = [tpFlatBtns, tpCustomizable, tpGlyphPopup, tpCaptionPopup] Version = 4 - ButtonAllign = tbaNone + ButtonAllign = tbaLeft Align = alTop AutoSize = True BorderWidth = 4 @@ -104,7 +104,6 @@ object MainForm: TMainForm TabOrder = 0 end object ImageList1: TImageList - Masked = False left = 168 top = 88 Bitmap = { @@ -341,34 +340,29 @@ object MainForm: TMainForm top = 40 object actNew: TAction Caption = 'New' - DisableIfNoHandler = True Hint = 'Action N 1' ImageIndex = 3 end object actNext: TAction Caption = 'Next' - DisableIfNoHandler = True Hint = 'Action N 2' ImageIndex = 2 OnExecute = Action1Execute end object actPrior: TAction Caption = 'Prior' - DisableIfNoHandler = True Hint = 'Prior action' ImageIndex = 1 OnExecute = Action1Execute end object actCustom: TAction Caption = 'Custom' - DisableIfNoHandler = True Hint = 'Customize toolbar' ImageIndex = 0 OnExecute = actCustomExecute end object actExit: TAction Caption = 'Exit' - DisableIfNoHandler = True Hint = 'exit from demo application' ImageIndex = 5 OnExecute = actExitExecute @@ -377,13 +371,11 @@ object MainForm: TMainForm object actSysMenu: TAction Tag = 4 Caption = 'System' - DisableIfNoHandler = True ImageIndex = 4 end object sysAbout: TAction Category = 'System' Caption = 'About' - DisableIfNoHandler = True ImageIndex = 6 OnExecute = sysAboutExecute end diff --git a/components/rx/Demos/ToolPanel/unit1.lrs b/components/rx/Demos/ToolPanel/unit1.lrs index ef43bfd28..b2460a60f 100644 --- a/components/rx/Demos/ToolPanel/unit1.lrs +++ b/components/rx/Demos/ToolPanel/unit1.lrs @@ -7,299 +7,297 @@ LazarusResources.Add('TMainForm','FORMDATA',[ +'esktopCenter'#17'SessionProperties'#6#21'Width;Height;Left;Top'#8'ShowHint' +#9#10'LCLVersion'#6#6'0.9.27'#0#10'TToolPanel'#10'ToolPanel1'#4'Left'#2#0#6 +'Height'#2' '#3'Top'#2#0#5'Width'#3#138#2#5'Items'#14#1#6'Action'#7#6'actNew' - +#7'Visible'#9#4'Left'#3#216#0#6'Height'#2#24#3'Top'#2#4#5'Width'#2'1'#12'Dro' - +'pDownMenu'#7#10'PopupMenu1'#11'ShowCaption'#9#11'ButtonStyle'#7#11'tbrDropD' - +'own'#0#1#6'Action'#7#9'actCustom'#7'Visible'#9#4'Left'#3'H'#1#6'Height'#2#25 - +#3'Top'#2#4#5'Width'#2'N'#11'ShowCaption'#9#0#1#6'Action'#7#7'actNext'#7'Vis' - +'ible'#9#4'Left'#3#168#0#6'Height'#2#24#3'Top'#2#4#5'Width'#2''''#12'DropDow' - +'nMenu'#7#10'PopupMenu2'#11'ShowCaption'#8#11'ButtonStyle'#7#16'tbrDropDownE' - +'xtra'#0#1#6'Action'#7#8'actPrior'#7'Visible'#9#4'Left'#2'p'#6'Height'#2#24#3 - +'Top'#2#4#5'Width'#2'2'#12'DropDownMenu'#7#10'PopupMenu2'#11'ShowCaption'#9#0 - +#1#6'Action'#7#7'actExit'#7'Visible'#9#4'Left'#3#24#2#6'Height'#2#25#3'Top'#2 + +#7'Visible'#9#4'Left'#2#5#6'Height'#2#25#3'Top'#2#4#5'Width'#2'7'#12'DropDow' + +'nMenu'#7#10'PopupMenu1'#11'ShowCaption'#9#11'ButtonStyle'#7#11'tbrDropDown' + +#0#1#6'Action'#7#9'actCustom'#7'Visible'#9#4'Left'#3#137#0#6'Height'#2#25#3 + +'Top'#2#4#5'Width'#2'N'#11'ShowCaption'#9#0#1#6'Action'#7#7'actNext'#7'Visib' + +'le'#9#4'Left'#3#16#1#6'Height'#2#24#3'Top'#2#4#5'Width'#2''''#12'DropDownMe' + +'nu'#7#10'PopupMenu2'#11'ShowCaption'#8#11'ButtonStyle'#7#16'tbrDropDownExtr' + +'a'#0#1#6'Action'#7#8'actPrior'#7'Visible'#9#4'Left'#3#215#0#6'Height'#2#25#3 + +'Top'#2#4#5'Width'#2'9'#12'DropDownMenu'#7#10'PopupMenu2'#11'ShowCaption'#9#0 + +#1#6'Action'#7#7'actExit'#7'Visible'#9#4'Left'#3'7'#1#6'Height'#2#25#3'Top'#2 +#4#5'Width'#2'3'#11'ShowCaption'#9#0#1#6'Action'#7#10'actSysMenu'#7'Visible' - +#9#4'Left'#2#8#6'Height'#2#25#3'Top'#2#4#5'Width'#2'M'#12'DropDownMenu'#7#10 + +#9#4'Left'#2'<'#6'Height'#2#25#3'Top'#2#4#5'Width'#2'M'#12'DropDownMenu'#7#10 +'PopupMenu1'#11'ShowCaption'#9#11'ButtonStyle'#7#11'tbrDropDown'#0#1#6'Actio' - +'n'#7#8'sysAbout'#7'Visible'#9#4'Left'#3#168#1#6'Height'#2#25#3'Top'#2#4#5'W' - +'idth'#2'B'#11'ShowCaption'#9#0#0#9'ImageList'#7#10'ImageList1'#15'PropertyS' - +'torage'#7#15'XMLPropStorage1'#8'BtnWidth'#2#23#9'BtnHeight'#2#24#12'ToolBar' - +'Style'#7#12'tbsWindowsXP'#7'Options'#11#10'tpFlatBtns'#14'tpCustomizable'#12 - +'tpGlyphPopup'#14'tpCaptionPopup'#0#7'Version'#2#4#12'ButtonAllign'#7#7'tbaN' - +'one'#5'Align'#7#5'alTop'#8'AutoSize'#9#11'BorderWidth'#2#4#12'ClientHeight' + +'n'#7#8'sysAbout'#7'Visible'#9#4'Left'#3'j'#1#6'Height'#2#25#3'Top'#2#4#5'Wi' + +'dth'#2'B'#11'ShowCaption'#9#0#0#9'ImageList'#7#10'ImageList1'#15'PropertySt' + +'orage'#7#15'XMLPropStorage1'#8'BtnWidth'#2#23#9'BtnHeight'#2#24#12'ToolBarS' + +'tyle'#7#12'tbsWindowsXP'#7'Options'#11#10'tpFlatBtns'#14'tpCustomizable'#12 + +'tpGlyphPopup'#14'tpCaptionPopup'#0#7'Version'#2#4#12'ButtonAllign'#7#7'tbaL' + +'eft'#5'Align'#7#5'alTop'#8'AutoSize'#9#11'BorderWidth'#2#4#12'ClientHeight' +#2' '#11'ClientWidth'#3#138#2#11'FullRepaint'#8#8'TabOrder'#2#0#0#0#10'TImag' - +'eList'#10'ImageList1'#6'Masked'#8#4'left'#3#168#0#3'top'#2'X'#6'Bitmap'#10 - +#14#28#0#0'Li'#7#0#0#0#16#0#0#0#16#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +'eList'#10'ImageList1'#4'left'#3#168#0#3'top'#2'X'#6'Bitmap'#10#14#28#0#0'Li' + +#7#0#0#0#16#0#0#0#16#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#255 - +#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#255#0#128#128#255#0#128#128 - +#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#255#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#255#0 - +#128#128#255#0#128#128#255#0#128#128#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255 - +#0#128#128#255#0#128#128#255#0#128#128#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0 - +#255#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#255#0#0#0#255#0#128#128#255#0#128#128#255#0#0#0#255#0#0#0#255#0#0#0#0#0#0 - +#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#255#0#0#128#255#0#0#0#255#0#0#0#255#0#0#0#255#0#128#128#255#0#128#128#255#0 - +#0#0#0#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#192#192#192#255#0#0#0#255#0#0 - +#0#0#0#0#0#255#0#0#128#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#255#0#128#128#255 - +#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#192#192#192#255 - +#0#0#0#255#0#0#128#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#192#192#192 - +#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#128#255#0#0#0#255#192#192 - +#192#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#128#255#0#0#0#255#0#0#0#0#0#0#0#255#192 - +#192#192#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#255#0#0#128#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255 - +#192#192#192#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#255#0#0#128#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#255#192#192#192#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#255#0#0#0#255#0#0 + +#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#255#0#128#128#255#0#128#128#255#0#0#0#255 + +#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0 + +#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#255#0#128#128#255#0 + +#128#128#255#0#128#128#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#128#128#255 + +#0#128#128#255#0#128#128#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#0#0#0 + +#0#0#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#255 + +#0#128#128#255#0#128#128#255#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#255#0#0#0#255 + +#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#128#255 + +#0#0#0#255#0#0#0#255#0#0#0#255#0#128#128#255#0#128#128#255#0#0#0#0#0#0#0#255 + +#0#0#0#255#0#0#0#255#0#0#0#255#192#192#192#255#0#0#0#255#0#0#0#0#0#0#0#255#0 + +#0#128#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#255#0#128#128#255#0#0#0#255#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#192#192#192#255#0#0#0#255#0#0 + +#128#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#192#192#192#255#0#0#0#255 +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - ,#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#128#255#0#0#0#255#192#192#192#255#0#0#0 +#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255#0#0#0#255#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#255#255#255#255#255#255#255#255#255#0#0#0#255#0#0#0#255#0 - +#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255#255#255#255#255#255#255#255#255#255 - +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 - +#255#255#255#255#255#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 - +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 - +#255#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255 - +#255#255#255#255#255#255#255#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0 - +#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#255#255#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#255#0#0#128#255#0#0#0#255#0#0#0#0#0#0#0#255#192#192#192#255#0 + +#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#255#0#0#128#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#192#192#192 + +#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0 + +#128#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#192#192 + +#192#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0 + +#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0 +#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 +#0#0#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0 + ,#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#255#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#255#255#255#255#255#255#255#255#255#0#0#0#255#0#0#0#255#0#0#0#255#0 + +#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 + +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 + +#255#255#255#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255 + +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 + +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 + +#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255 + +#255#255#255#255#255#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0 + +#0#0#255#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#255#255#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 +#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255#0#0#0#255 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#255#0#0#0 - +#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#255#255#255#255#255 - +#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255 - +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 - +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 - +#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255#255 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#255#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255#0#0#0#255#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255 + +#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#255#255#255#255#255#255#255#255#0#0 + +#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255#255 +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#0#0#0#255#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0 - +#255#0#0#0#255#0#0#0#255#0#0#0#255#255#255#255#255#255#255#255#255#0#0#0#255 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255 - +#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255#255#255#255#255#255#255#255#255 - +#255#255#255#255#255#255#255#255#255#255#255#255#0#0#0#255#0#0#0#255#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255#255#255#255#255#255 +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 - ,#255#0#0#0#255#255#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#255#255#255#255#255#255#255#255#255#255#255#255#255#255 - +#255#255#255#255#255#255#255#255#255#255#255#0#0#0#255#0#0#0#255#0#0#0#255#0 - +#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255 + +#255#255#255#255#255#255#255#255#255#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0 + +#0#0#255#0#0#0#255#255#255#255#255#255#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#255#255#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0 + +#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 + +#255#255#255#255#255#255#255#255#255#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255#255#255#255 + +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#0#0#0 + ,#255#255#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 + +#255#255#255#255#255#255#255#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255#255#255#255 + +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 + +#255#255#255#255#255#255#255#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255#255#255#255#255#255#255#255#255#255 + +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 + +#255#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255 + +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 + +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#0#0#0 + +#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255#255 + +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 + +#255#255#255#255#255#255#255#255#255#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255#255#255#255#255#255#255#255 + +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 + +#255#255#255#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 + +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 + +#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255 +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 +#255#255#255#255#255#255#255#255#255#255#255#255#255#0#0#0#255#0#0#0#0#0#0#0 +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255#255#255#255#255#255#255 +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 +#255#255#255#255#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 - +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 - +#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255 - +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 - +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#0#0#0#255#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255#255#255#255#255#255 - +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 - +#255#255#255#255#255#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 - +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 - +#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255 - +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 - +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#0#0#0#255#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255#255#255#255#255 - +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 - +#255#255#255#255#255#255#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0 - +#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0 + +#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#255#0#0 - +#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#0#128#0#0#255#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#192#192#192#255#192#192#192 - +#255#192#192#192#255#192#192#192#255#192#192#192#255#192#192#192#255#0#0#0 - +#255#128#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255 - +#192#192#192#255#0#0#0#255#192#192#192#255#192#192#192#255#192#192#192#255 - +#192#192#192#255#192#192#192#255#192#192#192#255#128#0#0#255#0#0#0#0#0#0#0 - +#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#192#192#192#255#0#0#0#255#192 - +#192#192#255#0#0#0#255#192#192#192#255#192#192#192#255#192#192#192#255#192 - +#192#192#255#192#192#192#255#128#0#0#255#0#0#0#0#0#0#0#255#255#255#255#255 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#255#0#0#0#255#0 + +#0#0#255#0#0#0#255#0#0#0#255#0#0#0#0#128#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#192#192#192#255#192#192#192#255#192 + +#192#192#255#192#192#192#255#192#192#192#255#192#192#192#255#0#0#0#255#128#0 + +#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#192#192#192 + +#255#0#0#0#255#192#192#192#255#192#192#192#255#192#192#192#255#192#192#192 + +#255#192#192#192#255#192#192#192#255#128#0#0#255#0#0#0#0#0#0#0#255#0#0#0#255 + +#0#0#0#255#0#0#0#255#0#0#0#255#192#192#192#255#0#0#0#255#192#192#192#255#0#0 + +#0#255#192#192#192#255#192#192#192#255#192#192#192#255#192#192#192#255#192 + +#192#192#255#128#0#0#255#0#0#0#0#0#0#0#255#255#255#255#255#255#255#255#255#0 + +#0#0#255#192#192#192#255#0#0#0#255#192#192#192#255#0#0#0#255#192#192#192#255 + +#0#0#0#255#192#192#192#255#192#192#192#255#192#192#192#255#0#0#0#255#128#0#0 + +#255#0#0#0#0#0#0#0#255#255#255#255#255#0#0#0#255#192#192#192#255#0#0#0#255 +#255#255#255#255#0#0#0#255#192#192#192#255#0#0#0#255#192#192#192#255#0#0#0 - +#255#192#192#192#255#0#0#0#255#192#192#192#255#192#192#192#255#192#192#192 - +#255#0#0#0#255#128#0#0#255#0#0#0#0#0#0#0#255#255#255#255#255#0#0#0#255#192 - +#192#192#255#0#0#0#255#255#255#255#255#0#0#0#255#192#192#192#255#0#0#0#255 - +#192#192#192#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#0#128#0#0#255#0#0#0#0#0 - +#0#0#255#255#255#255#255#0#0#0#255#0#0#0#255#255#255#255#255#255#255#255#255 - +#255#255#255#255#0#0#0#255#192#192#192#255#0#0#0#255#255#255#255#255#0#0#0 - +#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255#255#255#255 + +#255#0#0#0#255#0#0#0#255#0#0#0#0#128#0#0#255#0#0#0#0#0#0#0#255#255#255#255 + +#255#0#0#0#255#0#0#0#255#255#255#255#255#255#255#255#255#255#255#255#255#0#0 + +#0#255#192#192#192#255#0#0#0#255#255#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255#255#255#255#255#255#255#255#255#255 + +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#0#0#0#255#255 + +#255#255#255#255#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 - +#255#255#0#0#0#255#255#255#255#255#255#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255#255#255#255#255#255#255#255#255 +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 - +#255#255#255#255#255#255#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#255#255#255#255#255#128#0#0#255#128#0#0#255#255#255#255#255#128#0#0 - +#255#128#0#0#255#128#0#0#255#128#0#0#255#128#0#0#255#255#255#255#255#0#0#0 - +#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255#255#255#255 - +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 - +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#0#0#0#255#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255#128#0#0#255#128#0#0#255#255 - +#255#255#255#128#0#0#255#128#0#0#255#128#0#0#255#128#0#0#255#128#0#0#255#255 +#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255 + +#255#128#0#0#255#128#0#0#255#255#255#255#255#128#0#0#255#128#0#0#255#128#0#0 + +#255#128#0#0#255#128#0#0#255#255#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 - ,#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#0#0 - +#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0 - +#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0 - +#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#255#255#255#255#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#255#255#255#255#255#128#0#0#255#128#0#0#255#255#255#255#255#128#0#0#255#128 + +#0#0#255#128#0#0#255#128#0#0#255#128#0#0#255#255#255#255#255#0#0#0#255#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255#255#255#255#255#255#255 + +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 + ,#255#255#255#255#255#255#255#255#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0 + +#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0 +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#255#0#0#0 - +#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#128#0#255#0#128#0#255#0 - +#128#0#255#0#128#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255 - +#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#128#0#0#255#128 - +#0#0#255#128#0#0#255#128#0#0#255#128#0#0#255#128#0#0#255#128#0#0#255#128#0#0 - +#255#128#0#0#255#128#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#128#0#0#255#255#0#0#255#128#0#0#255#255#0#0#255#0#0#0#255#255#255#0#255#255 - +#255#255#255#255#255#0#255#255#255#255#255#128#0#0#255#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#128#0#0#255#128#0#0#255#255#0#0#255#128#0#0#255#0 - +#0#0#255#255#255#255#255#255#255#0#255#255#255#255#255#255#255#0#255#128#0#0 - +#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#128#0#0#255#255#0#0#255 - +#128#0#0#255#255#0#0#255#0#0#0#255#255#255#0#255#255#255#255#255#255#255#0 - +#255#255#255#255#255#128#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#128#0#0#255#128#0#0#255#255#0#0#255#128#0#0#255#0#0#0#255#255#255#255 - +#255#255#255#0#255#255#255#255#255#255#255#0#255#128#0#0#255#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#128#0#0#255#255#0#0#255#128#0#0#255#255#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0 + +#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#255#0#128#0#255#0#128#0#255#0#128#0#255#0#128#0#255#0#0#0#255 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#128#0#0#255#128#0#0#255#128#0#0#255#128#0#0#255 + +#128#0#0#255#128#0#0#255#128#0#0#255#128#0#0#255#128#0#0#255#128#0#0#255#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#128#0#0#255#255#0#0#255#128#0#0 + +#255#255#0#0#255#0#0#0#255#255#255#0#255#255#255#255#255#255#255#0#255#255 + +#255#255#255#128#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#128 + +#0#0#255#128#0#0#255#255#0#0#255#128#0#0#255#0#0#0#255#255#255#255#255#255 + +#255#0#255#255#255#255#255#255#255#0#255#128#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#128#0#0#255#255#0#0#255#128#0#0#255#255#0#0#255#0#0 + +#0#255#255#255#0#255#255#255#255#255#255#255#0#255#255#255#255#255#128#0#0 + +#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#128#0#0#255#128#0#0#255 + +#255#0#0#255#128#0#0#255#0#0#0#255#255#255#255#255#255#255#0#255#255#255#255 + +#255#255#255#0#255#128#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#128#0#0#255#255#0#0#255#128#0#0#255#255#0#0#255#0#0#0#255#255#255#255#255 + +#255#255#255#255#255#255#255#255#255#255#255#255#128#0#0#255#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#128#0#0#255#128#0#0#255#255#0#0#255#128#0#0 +#255#0#0#0#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 +#255#128#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#128#0#0#255 - +#128#0#0#255#255#0#0#255#128#0#0#255#0#0#0#255#255#255#255#255#255#255#255 - +#255#255#255#255#255#255#255#255#255#128#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#128#0#0#255#255#0#0#255#128#0#0#255#0#0#0#255#0#0#0#255 - +#128#128#128#255#255#255#255#255#255#255#255#255#255#255#255#255#128#0#0#255 - +#0#0#0#0#0#0#0#0#0#0#0#0#128#0#0#255#128#0#0#255#128#0#0#255#128#0#0#255#0#0 - +#0#255#0#0#0#255#128#128#128#255#128#128#128#255#128#128#128#255#255#255#255 - +#255#255#255#255#255#255#255#255#255#128#0#0#255#128#0#0#255#128#0#0#255#128 - +#0#0#255#128#128#128#255#128#128#128#255#128#128#128#255#128#128#128#255#128 - +#128#128#255#128#128#128#255#128#128#128#255#128#128#128#255#128#128#128#255 - +#128#128#128#255#128#128#128#255#255#255#255#255#128#128#128#255#255#255#255 - +#255#128#128#128#255#128#128#128#255#128#128#0#255#128#128#128#255#128#128 + +#255#0#0#255#128#0#0#255#0#0#0#255#0#0#0#255#128#128#128#255#255#255#255#255 + +#255#255#255#255#255#255#255#255#128#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#128#0#0 + +#255#128#0#0#255#128#0#0#255#128#0#0#255#0#0#0#255#0#0#0#255#128#128#128#255 + +#128#128#128#255#128#128#128#255#255#255#255#255#255#255#255#255#255#255#255 + +#255#128#0#0#255#128#0#0#255#128#0#0#255#128#0#0#255#128#128#128#255#128#128 +#128#255#128#128#128#255#128#128#128#255#128#128#128#255#128#128#128#255#128 - +#128#128#255#128#128#128#255#128#128#128#255#255#255#255#255#192#192#192#255 - +#128#128#128#255#192#192#192#255#255#255#255#255#128#128#128#255#0#0#0#0#0#0 + +#128#128#255#128#128#128#255#128#128#128#255#128#128#128#255#128#128#128#255 + +#255#255#255#255#128#128#128#255#255#255#255#255#128#128#128#255#128#128#128 + +#255#128#128#0#255#128#128#128#255#128#128#128#255#128#128#128#255#128#128 + +#128#255#128#128#128#255#128#128#128#255#128#128#128#255#128#128#128#255#128 + +#128#128#255#255#255#255#255#192#192#192#255#128#128#128#255#192#192#192#255 + +#255#255#255#255#128#128#128#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#255#0#255#255#255 - +#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#0#0#255#0#0#0#255 - +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#255#255#255#0 - +#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255 - +#255#255#0#255#255#255#0#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255 + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0 + +#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#255#0#0#0#255#0#255#255#255#0#255#255#255#0#255#255#255#0 + +#255#255#255#0#255#255#255#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255 +#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255 - +#255#0#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#255#255#255 - +#0#255#255#255#0#0#0#255#0#0#0#255#0#255#255#255#0#255#255#255#0#255#255#255 - +#0#0#0#255#0#0#0#255#0#255#255#255#0#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0 - +#0#0#255#0#255#255#255#0#255#255#255#0#255#255#255#0#0#0#255#0#0#0#255#0#255 - +#255#255#0#255#255#255#0#255#255#255#0#0#0#255#0#0#0#255#0#255#255#255#0#255 - +#255#255#0#255#255#255#0#0#0#0#0#0#0#0#0#0#0#255#0#255#255#255#0#255#255#255 + +#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#255#255#255#0#255 + +#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255 + +#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#0#0#255#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#0#0#255#0#255#255#255#0#255#255#255#0#0#0#255#0#0#0#255 + +#0#255#255#255#0#255#255#255#0#255#255#255#0#0#0#255#0#0#0#255#0#255#255#255 + +#0#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#255#0#255#255#255#0#255#255 + +#255#0#255#255#255#0#0#0#255#0#0#0#255#0#255#255#255#0#255#255#255#0#255#255 + +#255#0#0#0#255#0#0#0#255#0#255#255#255#0#255#255#255#0#255#255#255#0#0#0#0#0 + +#0#0#0#0#0#0#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0 + +#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255 + +#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#0#0#0#0#0#0#0#0#0#0#255 +#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255 +#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255 - +#255#0#0#0#0#0#0#0#0#0#0#0#255#0#255#255#255#0#255#255#255#0#255#255#255#0 - +#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255 - +#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#0#0#0#0#0 - ,#0#0#0#0#0#255#0#255#255#255#0#255#255#255#0#0#0#255#0#255#255#255#0#255#255 - +#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0 - +#0#0#255#0#255#255#255#0#255#255#255#0#0#0#0#0#0#0#0#0#0#0#255#0#255#255#255 - +#0#255#255#255#0#255#255#255#0#0#0#255#0#255#255#255#0#255#255#255#0#255#255 - +#255#0#255#255#255#0#255#255#255#0#0#0#255#0#255#255#255#0#255#255#255#0#255 - +#255#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#255#255#255#0#255#255#255#0#255 - +#255#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#255#255#255#0 - +#255#255#255#0#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#255 + +#255#0#255#255#255#0#255#255#255#0#0#0#0#0#0#0#0#0#0#0#255#0#255#255#255#0 + ,#255#255#255#0#0#0#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255 + +#255#0#255#255#255#0#255#255#255#0#255#255#255#0#0#0#255#0#255#255#255#0#255 + +#255#255#0#0#0#0#0#0#0#0#0#0#0#255#0#255#255#255#0#255#255#255#0#255#255#255 + +#0#0#0#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255 + +#255#0#0#0#255#0#255#255#255#0#255#255#255#0#255#255#255#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#255#0#255#255#255#0#255#255#255#0#255#255#255#0#0#0#255#0#0#0#255 + +#0#0#0#255#0#0#0#255#0#0#0#255#0#255#255#255#0#255#255#255#0#255#255#255#0#0 + +#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#255#255#255#0#255#255#255#0#255 +#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255 + +#255#0#255#255#255#0#255#255#255#0#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255 +#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0 - +#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#255#255#255#0#255#255 - +#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0 - +#255#255#255#0#255#255#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 - +#0#0#0#0#0#0#0#255#0#0#0#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255 - +#255#255#0#255#255#255#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#11'TActionLis' - +'t'#11'ActionList1'#6'Images'#7#10'ImageList1'#4'left'#3#216#0#3'top'#2'('#0 - +#7'TAction'#6'actNew'#7'Caption'#6#3'New'#18'DisableIfNoHandler'#9#4'Hint'#6 - +#10'Action N 1'#10'ImageIndex'#2#3#0#0#7'TAction'#7'actNext'#7'Caption'#6#4 - +'Next'#18'DisableIfNoHandler'#9#4'Hint'#6#10'Action N 2'#10'ImageIndex'#2#2#9 + +#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#255 + +#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#0#0 + +#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#11'TActionList'#11'ActionList1'#6'Images' + +#7#10'ImageList1'#4'left'#3#216#0#3'top'#2'('#0#7'TAction'#6'actNew'#7'Capti' + +'on'#6#3'New'#4'Hint'#6#10'Action N 1'#10'ImageIndex'#2#3#0#0#7'TAction'#7'a' + +'ctNext'#7'Caption'#6#4'Next'#4'Hint'#6#10'Action N 2'#10'ImageIndex'#2#2#9 +'OnExecute'#7#14'Action1Execute'#0#0#7'TAction'#8'actPrior'#7'Caption'#6#5'P' - +'rior'#18'DisableIfNoHandler'#9#4'Hint'#6#12'Prior action'#10'ImageIndex'#2#1 - +#9'OnExecute'#7#14'Action1Execute'#0#0#7'TAction'#9'actCustom'#7'Caption'#6#6 - +'Custom'#18'DisableIfNoHandler'#9#4'Hint'#6#17'Customize toolbar'#10'ImageIn' - +'dex'#2#0#9'OnExecute'#7#16'actCustomExecute'#0#0#7'TAction'#7'actExit'#7'Ca' - +'ption'#6#4'Exit'#18'DisableIfNoHandler'#9#4'Hint'#6#26'exit from demo appli' - +'cation'#10'ImageIndex'#2#5#9'OnExecute'#7#14'actExitExecute'#8'ShortCut'#4 - +'X'#128#0#0#0#0#7'TAction'#10'actSysMenu'#3'Tag'#2#4#7'Caption'#6#6'System' - +#18'DisableIfNoHandler'#9#10'ImageIndex'#2#4#0#0#7'TAction'#8'sysAbout'#8'Ca' - +'tegory'#6#6'System'#7'Caption'#6#5'About'#18'DisableIfNoHandler'#9#10'Image' - +'Index'#2#6#9'OnExecute'#7#15'sysAboutExecute'#0#0#0#15'TXMLPropStorage'#15 - +'XMLPropStorage1'#12'StoredValues'#14#0#8'FileName'#6#15'toolbardemo.cfg'#4 - +'left'#3#216#0#3'top'#2'X'#0#0#10'TPopupMenu'#10'PopupMenu1'#6'Images'#7#10 - +'ImageList1'#4'left'#2#16#3'top'#2'('#0#9'TMenuItem'#9'MenuItem1'#6'Action'#7 - +#6'actNew'#0#0#9'TMenuItem'#9'MenuItem2'#7'Caption'#6#1'-'#0#0#9'TMenuItem'#9 - +'MenuItem4'#6'Action'#7#7'actNext'#7'OnClick'#7#14'Action1Execute'#0#0#9'TMe' - +'nuItem'#9'MenuItem3'#6'Action'#7#8'actPrior'#7'OnClick'#7#14'Action1Execute' - +#0#0#9'TMenuItem'#9'MenuItem8'#7'Caption'#6#1'-'#0#0#9'TMenuItem'#9'MenuItem' - +'9'#6'Action'#7#9'actCustom'#7'OnClick'#7#16'actCustomExecute'#0#0#9'TMenuIt' - +'em'#9'MenuItem7'#6'Action'#7#8'sysAbout'#7'OnClick'#7#15'sysAboutExecute'#0 - +#0#9'TMenuItem'#9'MenuItem6'#7'Caption'#6#1'-'#0#0#9'TMenuItem'#9'MenuItem5' - +#6'Action'#7#7'actExit'#7'OnClick'#7#14'actExitExecute'#0#0#0#10'TPopupMenu' - +#10'PopupMenu2'#6'Images'#7#10'ImageList1'#4'left'#3#168#0#3'top'#2'('#0#9'T' - +'MenuItem'#10'MenuItem10'#7'Caption'#6#6'Item 1'#0#0#9'TMenuItem'#10'MenuIte' - +'m11'#7'Caption'#6#6'Item 2'#0#0#9'TMenuItem'#10'MenuItem12'#7'Caption'#6#6 - +'Item 3'#0#0#9'TMenuItem'#10'MenuItem13'#7'Caption'#6#6'Item 4'#0#0#0#0 + +'rior'#4'Hint'#6#12'Prior action'#10'ImageIndex'#2#1#9'OnExecute'#7#14'Actio' + +'n1Execute'#0#0#7'TAction'#9'actCustom'#7'Caption'#6#6'Custom'#4'Hint'#6#17 + +'Customize toolbar'#10'ImageIndex'#2#0#9'OnExecute'#7#16'actCustomExecute'#0 + +#0#7'TAction'#7'actExit'#7'Caption'#6#4'Exit'#4'Hint'#6#26'exit from demo ap' + +'plication'#10'ImageIndex'#2#5#9'OnExecute'#7#14'actExitExecute'#8'ShortCut' + +#4'X'#128#0#0#0#0#7'TAction'#10'actSysMenu'#3'Tag'#2#4#7'Caption'#6#6'System' + +#10'ImageIndex'#2#4#0#0#7'TAction'#8'sysAbout'#8'Category'#6#6'System'#7'Cap' + +'tion'#6#5'About'#10'ImageIndex'#2#6#9'OnExecute'#7#15'sysAboutExecute'#0#0#0 + +#15'TXMLPropStorage'#15'XMLPropStorage1'#12'StoredValues'#14#0#8'FileName'#6 + +#15'toolbardemo.cfg'#4'left'#3#216#0#3'top'#2'X'#0#0#10'TPopupMenu'#10'Popup' + +'Menu1'#6'Images'#7#10'ImageList1'#4'left'#2#16#3'top'#2'('#0#9'TMenuItem'#9 + +'MenuItem1'#6'Action'#7#6'actNew'#0#0#9'TMenuItem'#9'MenuItem2'#7'Caption'#6 + +#1'-'#0#0#9'TMenuItem'#9'MenuItem4'#6'Action'#7#7'actNext'#7'OnClick'#7#14'A' + +'ction1Execute'#0#0#9'TMenuItem'#9'MenuItem3'#6'Action'#7#8'actPrior'#7'OnCl' + +'ick'#7#14'Action1Execute'#0#0#9'TMenuItem'#9'MenuItem8'#7'Caption'#6#1'-'#0 + +#0#9'TMenuItem'#9'MenuItem9'#6'Action'#7#9'actCustom'#7'OnClick'#7#16'actCus' + +'tomExecute'#0#0#9'TMenuItem'#9'MenuItem7'#6'Action'#7#8'sysAbout'#7'OnClick' + +#7#15'sysAboutExecute'#0#0#9'TMenuItem'#9'MenuItem6'#7'Caption'#6#1'-'#0#0#9 + +'TMenuItem'#9'MenuItem5'#6'Action'#7#7'actExit'#7'OnClick'#7#14'actExitExecu' + +'te'#0#0#0#10'TPopupMenu'#10'PopupMenu2'#6'Images'#7#10'ImageList1'#4'left'#3 + +#168#0#3'top'#2'('#0#9'TMenuItem'#10'MenuItem10'#7'Caption'#6#6'Item 1'#0#0#9 + +'TMenuItem'#10'MenuItem11'#7'Caption'#6#6'Item 2'#0#0#9'TMenuItem'#10'MenuIt' + +'em12'#7'Caption'#6#6'Item 3'#0#0#9'TMenuItem'#10'MenuItem13'#7'Caption'#6#6 + +'Item 4'#0#0#0#0 ]); diff --git a/components/rx/rxdbcomb.pas b/components/rx/rxdbcomb.pas index a866eb3ad..9a14b337e 100644 --- a/components/rx/rxdbcomb.pas +++ b/components/rx/rxdbcomb.pas @@ -237,8 +237,8 @@ procedure TCustomDBComboBox.Change; begin FDataLink.Edit; inherited Change; - FDataLink.UpdateRecord; FDataLink.Modified; + FDataLink.UpdateRecord; end; procedure TCustomDBComboBox.Click; diff --git a/components/rx/rxdbgrid.pas b/components/rx/rxdbgrid.pas index 04780ef2f..a6a0df478 100644 --- a/components/rx/rxdbgrid.pas +++ b/components/rx/rxdbgrid.pas @@ -920,7 +920,7 @@ begin end; } - W:=Max(rxCol.Width-2, 1); + W:=Max(rxCol.Width-6, 1); if rxTit.CaptionLinesCount > 0 then begin H2:=0; diff --git a/components/rx/vclutils.pas b/components/rx/vclutils.pas index 4f645541a..e07f83c94 100644 --- a/components/rx/vclutils.pas +++ b/components/rx/vclutils.pas @@ -33,6 +33,10 @@ function ValidParentForm(Control: TControl): TCustomForm; function CreateArrowBitmap:TBitmap; function LoadLazResBitmapImage(const ResName: string): TBitmap; +{functions from DBGrid} +function GetWorkingCanvas(const Canvas: TCanvas): TCanvas; +procedure FreeWorkingCanvas(canvas: TCanvas); + { function AllocMemo(Size: Longint): Pointer; function ReallocMemo(fpBlock: Pointer; Size: Longint): Pointer; @@ -588,6 +592,27 @@ begin Result:=nil; end; +function GetWorkingCanvas(const Canvas: TCanvas): TCanvas; +var + DC: HDC; +begin + if (Canvas=nil) or (not Canvas.HandleAllocated) then + begin + DC := GetDC(0); + Result := TCanvas.Create; + Result.Handle := DC; + end + else + Result := Canvas; +end; + + +procedure FreeWorkingCanvas(canvas: TCanvas); +begin + ReleaseDC(0, Canvas.Handle); + Canvas.Free; +end; + initialization LazarusResources.Add('rxbtn_downarrow','XPM',[ '/* XPM */'#13#10'static char * btn_downarrow_xpm[] = {'#13#10'"5 3 2 1",'#13