- replaced old images with modern from silk and own painting:

debugger images, most packages images, misc
- ide dialogs switched to use common image list instead of their own:
compileroptions, projectinspector, packageeditor, pkggraphexplorer

git-svn-id: trunk@11126 -
This commit is contained in:
paul 2007-05-11 02:40:08 +00:00
parent d1ef2dcb9a
commit 0312cb2ee4
43 changed files with 1073 additions and 2185 deletions

31
.gitattributes vendored
View File

@ -2025,9 +2025,14 @@ images/components/txmlconfig.xpm svneol=native#text/plain
images/components/txmlpropstorage.xpm -text svneol=native#image/x-xpixmap images/components/txmlpropstorage.xpm -text svneol=native#image/x-xpixmap
images/components/unregisteredcomponent.xpm -text svneol=native#image/x-xpixmap images/components/unregisteredcomponent.xpm -text svneol=native#image/x-xpixmap
images/components_images.lrs svneol=native#text/pascal images/components_images.lrs svneol=native#text/pascal
images/debugger/debugger.png -text svneol=unset#image/png
images/debugger/debugger_breakpoints.png -text svneol=unset#image/png
images/debugger/debugger_call_stack.png -text svneol=unset#image/png
images/debugger/debugger_evaluate.png -text svneol=unset#images/png images/debugger/debugger_evaluate.png -text svneol=unset#images/png
images/debugger/debugger_inspect.png -text svneol=unset#images/png images/debugger/debugger_inspect.png -text svneol=unset#images/png
images/debugger/debugger_modify.png -text svneol=unset#images/png images/debugger/debugger_modify.png -text svneol=unset#images/png
images/debugger/debugger_output.png -text svneol=unset#image/png
images/debugger/debugger_watches.png -text svneol=unset#image/png
images/designer/anchorbottombottom.xpm -text svneol=native#image/x-xpixmap images/designer/anchorbottombottom.xpm -text svneol=native#image/x-xpixmap
images/designer/anchorcenterhorizontal.xpm -text svneol=native#image/x-xpixmap images/designer/anchorcenterhorizontal.xpm -text svneol=native#image/x-xpixmap
images/designer/anchorcentervertical.xpm -text svneol=native#image/x-xpixmap images/designer/anchorcentervertical.xpm -text svneol=native#image/x-xpixmap
@ -2061,26 +2066,23 @@ images/lprfile.ico -text svneol=unset#image/x-icon
images/mainicon.ico -text svneol=unset#image/x-icon images/mainicon.ico -text svneol=unset#image/x-icon
images/mainicon.lrs svneol=native#text/pascal images/mainicon.lrs svneol=native#text/pascal
images/mainicon.xpm -text svneol=native#image/x-xpixmap images/mainicon.xpm -text svneol=native#image/x-xpixmap
images/menu/menu_breakpoints.xpm -text svneol=native#image/x-xpixmap
images/menu/menu_build.png -text svneol=unset#image/png images/menu/menu_build.png -text svneol=unset#image/png
images/menu/menu_build_all.png -text svneol=unset#image/png images/menu/menu_build_all.png -text svneol=unset#image/png
images/menu/menu_build_clean.png -text svneol=unset#image/png images/menu/menu_build_clean.png -text svneol=unset#image/png
images/menu/menu_build_lazarus.png -text svneol=unset#image/png images/menu/menu_build_lazarus.png -text svneol=unset#image/png
images/menu/menu_callstack.xpm -text svneol=native#image/x-xpixmap
images/menu/menu_clean.png -text svneol=unset#image/png images/menu/menu_clean.png -text svneol=unset#image/png
images/menu/menu_close.png -text svneol=unset#image/png images/menu/menu_close.png -text svneol=unset#image/png
images/menu/menu_codetoolsdefineseditor.xpm -text svneol=native#image/x-xpixmap images/menu/menu_codetoolsdefineseditor.xpm -text svneol=native#image/x-xpixmap
images/menu/menu_codetoolsoptions.xpm -text svneol=native#image/x-xpixmap images/menu/menu_codetoolsoptions.xpm -text svneol=native#image/x-xpixmap
images/menu/menu_comment_16.xpm svneol=native#text/plain images/menu/menu_comment_16.xpm svneol=native#text/plain
images/menu/menu_compiler_options.png -text svneol=unset#image/png
images/menu/menu_copy_16.xpm svneol=native#text/plain images/menu/menu_copy_16.xpm svneol=native#text/plain
images/menu/menu_debugger.png -text svneol=unset#image/png
images/menu/menu_debugoutput.png -text svneol=unset#image/png
images/menu/menu_edit_cut_16.xpm svneol=native#text/plain images/menu/menu_edit_cut_16.xpm svneol=native#text/plain
images/menu/menu_edit_lowercase_16.xpm svneol=native#text/plain images/menu/menu_edit_lowercase_16.xpm svneol=native#text/plain
images/menu/menu_edit_paste_16.xpm svneol=native#text/plain images/menu/menu_edit_paste_16.xpm svneol=native#text/plain
images/menu/menu_edit_sort_16.xpm svneol=native#text/plain images/menu/menu_edit_sort_16.xpm svneol=native#text/plain
images/menu/menu_edit_uppercase_16.xpm svneol=native#text/plain images/menu/menu_edit_uppercase_16.xpm svneol=native#text/plain
images/menu/menu_editoroptions.xpm -text svneol=native#image/x-xpixmap images/menu/menu_editor_options.png -text svneol=unset#image/png
images/menu/menu_environment_options.png -text svneol=unset#image/png images/menu/menu_environment_options.png -text svneol=unset#image/png
images/menu/menu_exit_16.xpm svneol=native#text/plain images/menu/menu_exit_16.xpm svneol=native#text/plain
images/menu/menu_help_16.xpm svneol=native#text/plain images/menu/menu_help_16.xpm svneol=native#text/plain
@ -2092,8 +2094,8 @@ images/menu/menu_new_unit.png -text svneol=unset#image/png
images/menu/menu_open.png -text svneol=unset#image/png images/menu/menu_open.png -text svneol=unset#image/png
images/menu/menu_open_project.png -text svneol=unset#image/png images/menu/menu_open_project.png -text svneol=unset#image/png
images/menu/menu_pause.xpm -text svneol=native#image/x-xpixmap images/menu/menu_pause.xpm -text svneol=native#image/x-xpixmap
images/menu/menu_projectinspector.xpm -text svneol=native#image/x-xpixmap images/menu/menu_project_inspector.png -text svneol=unset#image/png
images/menu/menu_projectoptions.png -text svneol=unset#image/png images/menu/menu_project_options.png -text svneol=unset#image/png
images/menu/menu_redo.png -text svneol=unset#image/png images/menu/menu_redo.png -text svneol=unset#image/png
images/menu/menu_restart_16.xpm svneol=native#text/plain images/menu/menu_restart_16.xpm svneol=native#text/plain
images/menu/menu_run.xpm -text svneol=native#image/x-xpixmap images/menu/menu_run.xpm -text svneol=native#image/x-xpixmap
@ -2110,15 +2112,20 @@ images/menu/menu_stepover.xpm -text svneol=native#image/x-xpixmap
images/menu/menu_uncomment_16.xpm svneol=native#text/plain images/menu/menu_uncomment_16.xpm svneol=native#text/plain
images/menu/menu_undo.png -text svneol=unset#image/png images/menu/menu_undo.png -text svneol=unset#image/png
images/menu/menu_unindent.xpm -text svneol=native#image/x-xpixmap images/menu/menu_unindent.xpm -text svneol=native#image/x-xpixmap
images/menu/menu_watches.xpm -text svneol=native#image/x-xpixmap
images/mouse.ico -text svneol=unset#image/x-icon images/mouse.ico -text svneol=unset#image/x-icon
images/mouse.xpm -text svneol=native#image/x-xpixmap images/mouse.xpm -text svneol=native#image/x-xpixmap
images/notebook.ico -text svneol=unset#image/x-icon images/notebook.ico -text svneol=unset#image/x-icon
images/notebook.xpm -text svneol=native#image/x-xpixmap images/notebook.xpm -text svneol=native#image/x-xpixmap
images/packages/pkg_add.png -text svneol=unset#image/png
images/packages/pkg_graph.png -text svneol=unset#image/png
images/packages/pkg_inherited.png -text svneol=unset#image/png
images/packages/pkg_installed.png -text svneol=unset#image/png
images/packages/pkg_open.png -text svneol=unset#image/png
images/packages/pkg_package.png -text svneol=unset#image/png
images/packages/pkg_properties.png -text svneol=unset#image/png
images/packages/pkg_required.png -text svneol=unset#image/png
images/penguin.ico -text svneol=unset#image/x-icon images/penguin.ico -text svneol=unset#image/x-icon
images/penguin.xpm -text svneol=native#image/x-xpixmap images/penguin.xpm -text svneol=native#image/x-xpixmap
images/pkg_add.xpm -text svneol=native#image/x-xpixmap
images/pkg_addunittopackage.xpm -text svneol=native#image/x-xpixmap
images/pkg_binary.xpm -text svneol=native#image/x-xpixmap images/pkg_binary.xpm -text svneol=native#image/x-xpixmap
images/pkg_compile.xpm -text svneol=native#image/x-xpixmap images/pkg_compile.xpm -text svneol=native#image/x-xpixmap
images/pkg_conflict.xpm -text svneol=native#image/x-xpixmap images/pkg_conflict.xpm -text svneol=native#image/x-xpixmap
@ -2127,13 +2134,9 @@ images/pkg_include.xpm -text svneol=native#image/x-xpixmap
images/pkg_inherited.xpm -text svneol=native#image/x-xpixmap images/pkg_inherited.xpm -text svneol=native#image/x-xpixmap
images/pkg_lfm.xpm -text svneol=native#image/x-xpixmap images/pkg_lfm.xpm -text svneol=native#image/x-xpixmap
images/pkg_lrs.xpm -text svneol=native#image/x-xpixmap images/pkg_lrs.xpm -text svneol=native#image/x-xpixmap
images/pkg_package.xpm -text svneol=native#image/x-xpixmap
images/pkg_package_autoinstall.xpm -text svneol=native#image/x-xpixmap images/pkg_package_autoinstall.xpm -text svneol=native#image/x-xpixmap
images/pkg_package_circle.xpm -text svneol=native#image/x-xpixmap images/pkg_package_circle.xpm -text svneol=native#image/x-xpixmap
images/pkg_package_install.xpm -text svneol=native#image/x-xpixmap
images/pkg_package_installed.xpm -text svneol=native#image/x-xpixmap
images/pkg_package_uninstall.xpm -text svneol=native#image/x-xpixmap images/pkg_package_uninstall.xpm -text svneol=native#image/x-xpixmap
images/pkg_packagegraph.xpm -text svneol=native#image/x-xpixmap
images/pkg_project.xpm -text svneol=native#image/x-xpixmap images/pkg_project.xpm -text svneol=native#image/x-xpixmap
images/pkg_registerunit.xpm -text svneol=native#image/x-xpixmap images/pkg_registerunit.xpm -text svneol=native#image/x-xpixmap
images/pkg_removedfiles.xpm -text svneol=native#image/x-xpixmap images/pkg_removedfiles.xpm -text svneol=native#image/x-xpixmap

View File

@ -90,7 +90,7 @@ begin
ToolBar1.Images := IDEImages.Images_16; ToolBar1.Images := IDEImages.Images_16;
tbInspect.ImageIndex := IDEImages.LoadImage(16, 'debugger_inspect'); tbInspect.ImageIndex := IDEImages.LoadImage(16, 'debugger_inspect');
tbWatch.ImageIndex := IDEImages.LoadImage(16, 'menu_watches'); tbWatch.ImageIndex := IDEImages.LoadImage(16, 'debugger_watches');
tbModify.ImageIndex := IDEImages.LoadImage(16, 'debugger_modify'); tbModify.ImageIndex := IDEImages.LoadImage(16, 'debugger_modify');
tbEvaluate.ImageIndex := IDEImages.LoadImage(16, 'debugger_evaluate'); tbEvaluate.ImageIndex := IDEImages.LoadImage(16, 'debugger_evaluate');
end; end;

View File

@ -49,8 +49,6 @@ type
TfrmCompilerOptions = class(TForm) TfrmCompilerOptions = class(TForm)
nbMain: TNotebook; nbMain: TNotebook;
ImageList: TImageList;
{ Search Paths Controls } { Search Paths Controls }
PathPage: TPage; PathPage: TPage;
@ -295,6 +293,9 @@ type
implementation implementation
uses
IDEImagesIntf;
const const
XMARGIN = 6; XMARGIN = 6;
YMARGIN = 6; YMARGIN = 6;
@ -315,18 +316,8 @@ type
{ TfrmCompilerOptions Constructor } { TfrmCompilerOptions Constructor }
{------------------------------------------------------------------------------} {------------------------------------------------------------------------------}
constructor TfrmCompilerOptions.Create(TheOwner: TComponent); constructor TfrmCompilerOptions.Create(TheOwner: TComponent);
var
procedure AddResImg(const ResName: string); Page: integer;
var Pixmap: TPixmap;
begin
Pixmap:=TPixmap.Create;
Pixmap.TransparentColor:=clWhite;
Pixmap.LoadFromLazarusResource(ResName);
ImageList.Add(Pixmap,nil);
Pixmap.Free;
end;
var Page: integer;
begin begin
inherited Create(TheOwner); inherited Create(TheOwner);
Name:='CompilerOptionsDlg'; Name:='CompilerOptionsDlg';
@ -335,18 +326,9 @@ begin
Position:=poScreenCenter; Position:=poScreenCenter;
IDEDialogLayoutList.ApplyLayout(Self,550,450); IDEDialogLayoutList.ApplyLayout(Self,550,450);
ImageList:=TImageList.Create(Self); ImageIndexPackage := IDEImages.LoadImage(16, 'pkg_package');
with ImageList do begin ImageIndexRequired := IDEImages.LoadImage(16, 'pkg_required');
Width:=17; ImageIndexInherited := IDEImages.LoadImage(16, 'pkg_inherited');
Height:=17;
Name:='ImageList';
ImageIndexPackage:=Count;
AddResImg('pkg_package');
ImageIndexRequired:=Count;
AddResImg('pkg_required');
ImageIndexInherited:=Count;
AddResImg('pkg_inherited');
end;
DisableAlign; DisableAlign;
try try
@ -1969,7 +1951,7 @@ begin
Name:='InhTreeView'; Name:='InhTreeView';
Options:=Options+[tvoReadOnly, tvoRightClickSelect, tvoShowRoot, Options:=Options+[tvoReadOnly, tvoRightClickSelect, tvoShowRoot,
tvoKeepCollapsedNodes]; tvoKeepCollapsedNodes];
Images:=ImageList; Images := IDEImages.Images_16;
AnchorToNeighbour(akTop,6,InhNoteLabel); AnchorToNeighbour(akTop,6,InhNoteLabel);
AnchorParallel(akLeft,0,InheritedPage); AnchorParallel(akLeft,0,InheritedPage);
AnchorParallel(akRight,0,InheritedPage); AnchorParallel(akRight,0,InheritedPage);

View File

@ -526,13 +526,13 @@ begin
CreateMenuItem(ParentMI,itmViewAnchorEditor,'itmViewAnchorEditor',lisMenuViewAnchorEditor); CreateMenuItem(ParentMI,itmViewAnchorEditor,'itmViewAnchorEditor',lisMenuViewAnchorEditor);
CreateMenuItem(ParentMI,itmViewComponentPalette,'itmViewComponentPalette',lisMenuViewComponentPalette, '', true, EnvironmentOptions.ComponentPaletteVisible); CreateMenuItem(ParentMI,itmViewComponentPalette,'itmViewComponentPalette',lisMenuViewComponentPalette, '', true, EnvironmentOptions.ComponentPaletteVisible);
CreateMenuItem(ParentMI,itmViewIDESpeedButtons,'itmViewIDESpeedButtons',lisMenuViewIDESpeedButtons, '', true, EnvironmentOptions.IDESpeedButtonsVisible); CreateMenuItem(ParentMI,itmViewIDESpeedButtons,'itmViewIDESpeedButtons',lisMenuViewIDESpeedButtons, '', true, EnvironmentOptions.IDESpeedButtonsVisible);
CreateMenuSubSection(ParentMI,itmViewDebugWindows,'itmViewDebugWindows',lisMenuDebugWindows,'menu_debugger'); CreateMenuSubSection(ParentMI,itmViewDebugWindows,'itmViewDebugWindows',lisMenuDebugWindows,'debugger');
begin begin
CreateMenuItem(itmViewDebugWindows,itmViewWatches,'itmViewWatches',lisMenuViewWatches,'menu_watches'); CreateMenuItem(itmViewDebugWindows,itmViewWatches,'itmViewWatches',lisMenuViewWatches,'debugger_watches');
CreateMenuItem(itmViewDebugWindows,itmViewBreakPoints,'itmViewBreakPoints',lisMenuViewBreakPoints,'menu_breakpoints'); CreateMenuItem(itmViewDebugWindows,itmViewBreakPoints,'itmViewBreakPoints',lisMenuViewBreakPoints,'debugger_breakpoints');
CreateMenuItem(itmViewDebugWindows,itmViewLocals,'itmViewLocals',lisMenuViewLocalVariables,''); CreateMenuItem(itmViewDebugWindows,itmViewLocals,'itmViewLocals',lisMenuViewLocalVariables,'');
CreateMenuItem(itmViewDebugWindows,itmViewCallStack,'itmViewCallStack',lisMenuViewCallStack,'menu_callstack'); CreateMenuItem(itmViewDebugWindows,itmViewCallStack,'itmViewCallStack',lisMenuViewCallStack,'debugger_call_stack');
CreateMenuItem(itmViewDebugWindows,itmViewDebugOutput,'itmViewDebugOutput',lisMenuViewDebugOutput,'menu_debugoutput'); CreateMenuItem(itmViewDebugWindows,itmViewDebugOutput,'itmViewDebugOutput',lisMenuViewDebugOutput,'debugger_output');
end; end;
end; end;
end; end;
@ -565,9 +565,9 @@ begin
CreateMenuSeparatorSection(mnuProject,itmProjectWindowSection,'itmProjectWindowSection'); CreateMenuSeparatorSection(mnuProject,itmProjectWindowSection,'itmProjectWindowSection');
ParentMI:=itmProjectWindowSection; ParentMI:=itmProjectWindowSection;
CreateMenuItem(ParentMI,itmProjectInspector,'itmProjectInspector',lisMenuProjectInspector,'menu_projectinspector'); CreateMenuItem(ParentMI,itmProjectInspector,'itmProjectInspector',lisMenuProjectInspector,'menu_project_inspector');
CreateMenuItem(ParentMI,itmProjectOptions,'itmProjectOptions',lisMenuProjectOptions,'menu_projectoptions'); CreateMenuItem(ParentMI,itmProjectOptions,'itmProjectOptions',lisMenuProjectOptions,'menu_project_options');
CreateMenuItem(ParentMI,itmProjectCompilerOptions,'itmProjectCompilerOptions',lisMenuCompilerOptions); CreateMenuItem(ParentMI,itmProjectCompilerOptions,'itmProjectCompilerOptions',lisMenuCompilerOptions,'menu_compiler_options');
CreateMenuItem(ParentMI,itmProjectViewToDos,'itmProjectViewToDos',lisMenuViewProjectTodos); CreateMenuItem(ParentMI,itmProjectViewToDos,'itmProjectViewToDos',lisMenuViewProjectTodos);
CreateMenuSeparatorSection(mnuProject,itmProjectAddRemoveSection,'itmProjectAddRemoveSection'); CreateMenuSeparatorSection(mnuProject,itmProjectAddRemoveSection,'itmProjectAddRemoveSection');
@ -637,21 +637,21 @@ begin
CreateMenuSeparatorSection(mnuComponents,itmPkgOpening,'itmPkgOpening'); CreateMenuSeparatorSection(mnuComponents,itmPkgOpening,'itmPkgOpening');
ParentMI:=itmPkgOpening; ParentMI:=itmPkgOpening;
CreateMenuItem(ParentMI,itmPkgOpenPackage,'itmPkgOpenPackage',lisMenuOpenPackage,'pkg_package'); CreateMenuItem(ParentMI,itmPkgOpenPackage,'itmPkgOpenPackage',lisMenuOpenPackage,'pkg_installed');
CreateMenuItem(ParentMI,itmPkgOpenPackageFile,'itmPkgOpenPackageFile',lisMenuOpenPackageFile,'pkg_package'); CreateMenuItem(ParentMI,itmPkgOpenPackageFile,'itmPkgOpenPackageFile',lisMenuOpenPackageFile,'pkg_open');
CreateMenuItem(ParentMI,itmPkgOpenPackageOfCurUnit,'itmPkgOpenPackageOfCurUnit',lisMenuOpenPackageOfCurUnit,'pkg_package'); CreateMenuItem(ParentMI,itmPkgOpenPackageOfCurUnit,'itmPkgOpenPackageOfCurUnit',lisMenuOpenPackageOfCurUnit);
CreateMenuSubSection(ParentMI,itmPkgOpenRecent,'itmPkgOpenRecent',lisMenuOpenRecentPkg,'pkg_package'); CreateMenuSubSection(ParentMI,itmPkgOpenRecent,'itmPkgOpenRecent',lisMenuOpenRecentPkg);
CreateMenuSeparatorSection(mnuComponents,itmPkgUnits,'itmPkgUnits'); CreateMenuSeparatorSection(mnuComponents,itmPkgUnits,'itmPkgUnits');
ParentMI:=itmPkgUnits; ParentMI:=itmPkgUnits;
CreateMenuItem(ParentMI,itmPkgAddCurUnitToPkg,'itmPkgAddCurUnitToPkg',lisMenuAddCurUnitToPkg,'pkg_addunittopackage'); CreateMenuItem(ParentMI,itmPkgAddCurUnitToPkg,'itmPkgAddCurUnitToPkg',lisMenuAddCurUnitToPkg,'pkg_add');
CreateMenuSeparatorSection(mnuComponents,itmPkgGraphSection,'itmPkgGraphSection'); CreateMenuSeparatorSection(mnuComponents,itmPkgGraphSection,'itmPkgGraphSection');
ParentMI:=itmPkgGraphSection; ParentMI:=itmPkgGraphSection;
CreateMenuItem(ParentMI,itmPkgPkgGraph,'itmPkgPkgGraph',lisMenuPackageGraph,'pkg_packagegraph'); CreateMenuItem(ParentMI,itmPkgPkgGraph,'itmPkgPkgGraph',lisMenuPackageGraph,'pkg_graph');
CreateMenuItem(ParentMI,itmPkgEditInstallPkgs,'itmPkgEditInstallPkgs',lisMenuEditInstallPkgs,'pkg_package_install'); CreateMenuItem(ParentMI,itmPkgEditInstallPkgs,'itmPkgEditInstallPkgs',lisMenuEditInstallPkgs,'pkg_properties');
{$IFDEF CustomIDEComps} {$IFDEF CustomIDEComps}
CreateMenuItem(ParentMI,itmCompsConfigCustomComps,'itmCompsConfigCustomComps',lisMenuConfigCustomComps); CreateMenuItem(ParentMI,itmCompsConfigCustomComps,'itmCompsConfigCustomComps',lisMenuConfigCustomComps);
@ -710,7 +710,7 @@ begin
CreateMenuItem(ParentMI,itmEnvGeneralOptions,'itmEnvGeneralOptions', CreateMenuItem(ParentMI,itmEnvGeneralOptions,'itmEnvGeneralOptions',
lisMenuGeneralOptions,'menu_environment_options'); lisMenuGeneralOptions,'menu_environment_options');
CreateMenuItem(ParentMI,itmEnvEditorOptions,'itmEnvEditorOptions', CreateMenuItem(ParentMI,itmEnvEditorOptions,'itmEnvEditorOptions',
lisMenuEditorOptions,'menu_editoroptions'); lisMenuEditorOptions,'menu_editor_options');
CreateMenuItem(ParentMI,itmEnvCodeTemplates,'itmEnvCodeTemplates', CreateMenuItem(ParentMI,itmEnvCodeTemplates,'itmEnvCodeTemplates',
lisMenuEditCodeTemplates,''); lisMenuEditCodeTemplates,'');
CreateMenuItem(ParentMI,itmEnvDebuggerOptions,'itmEnvDebuggerOptions', CreateMenuItem(ParentMI,itmEnvDebuggerOptions,'itmEnvDebuggerOptions',

View File

@ -63,7 +63,6 @@ object ProjectInspectorForm: TProjectInspectorForm
Anchors = [akTop, akLeft, akRight, akBottom] Anchors = [akTop, akLeft, akRight, akBottom]
BorderSpacing.Top = 2 BorderSpacing.Top = 2
DefaultItemHeight = 16 DefaultItemHeight = 16
Images = ImageList
PopupMenu = ItemsPopupMenu PopupMenu = ItemsPopupMenu
RightClickSelect = True RightClickSelect = True
TabOrder = 4 TabOrder = 4
@ -77,10 +76,6 @@ object ProjectInspectorForm: TProjectInspectorForm
Top = 28 Top = 28
Width = 433 Width = 433
end end
object ImageList: TImageList
left = 39
top = 20
end
object ItemsPopupMenu: TPopupMenu object ItemsPopupMenu: TPopupMenu
OnPopup = ItemsPopupMenuPopup OnPopup = ItemsPopupMenuPopup
left = 40 left = 40

View File

@ -1,5 +1,3 @@
{ This is an automatically generated lazarus resource file }
LazarusResources.Add('TProjectInspectorForm','FORMDATA',[ LazarusResources.Add('TProjectInspectorForm','FORMDATA',[
'TPF0'#21'TProjectInspectorForm'#20'ProjectInspectorForm'#13'ActiveControl'#7 'TPF0'#21'TProjectInspectorForm'#20'ProjectInspectorForm'#13'ActiveControl'#7
+#10'OpenBitBtn'#11'BorderIcons'#11#12'biSystemMenu'#0#7'Caption'#6#20'Projec' +#10'OpenBitBtn'#11'BorderIcons'#11#12'biSystemMenu'#0#7'Caption'#6#20'Projec'
@ -22,14 +20,13 @@ LazarusResources.Add('TProjectInspectorForm','FORMDATA',[
+'e'#7#9'asrBottom'#4'Left'#3#246#0#6'Height'#2#26#5'Width'#3#187#0#0#0#9'TTr' +'e'#7#9'asrBottom'#4'Left'#3#246#0#6'Height'#2#26#5'Width'#3#187#0#0#0#9'TTr'
+'eeView'#13'ItemsTreeView'#5'Align'#7#8'alBottom'#7'Anchors'#11#5'akTop'#6'a' +'eeView'#13'ItemsTreeView'#5'Align'#7#8'alBottom'#7'Anchors'#11#5'akTop'#6'a'
+'kLeft'#7'akRight'#8'akBottom'#0#17'BorderSpacing.Top'#2#2#17'DefaultItemHei' +'kLeft'#7'akRight'#8'akBottom'#0#17'BorderSpacing.Top'#2#2#17'DefaultItemHei'
+'ght'#2#16#6'Images'#7#9'ImageList'#9'PopupMenu'#7#14'ItemsPopupMenu'#16'Rig' +'ght'#2#16#9'PopupMenu'#7#14'ItemsPopupMenu'#16'RightClickSelect'#9#8'TabOrd'
+'htClickSelect'#9#8'TabOrder'#2#4#10'OnDblClick'#7#21'ItemsTreeViewDblClick' +'er'#2#4#10'OnDblClick'#7#21'ItemsTreeViewDblClick'#9'OnKeyDown'#7#20'ItemsT'
+#9'OnKeyDown'#7#20'ItemsTreeViewKeyDown'#18'OnSelectionChanged'#7#29'ItemsTr' +'reeViewKeyDown'#18'OnSelectionChanged'#7#29'ItemsTreeViewSelectionChanged'#7
+'eeViewSelectionChanged'#7'Options'#11#17'tvoAutoItemHeight'#16'tvoHideSelec' +'Options'#11#17'tvoAutoItemHeight'#16'tvoHideSelection'#21'tvoKeepCollapsedN'
+'tion'#21'tvoKeepCollapsedNodes'#19'tvoRightClickSelect'#14'tvoShowButtons' +'odes'#19'tvoRightClickSelect'#14'tvoShowButtons'#12'tvoShowLines'#11'tvoSho'
+#12'tvoShowLines'#11'tvoShowRoot'#11'tvoToolTips'#0#21'AnchorSideTop.Control' +'wRoot'#11'tvoToolTips'#0#21'AnchorSideTop.Control'#7#10'OpenBitBtn'#18'Anch'
+#7#10'OpenBitBtn'#18'AnchorSideTop.Side'#7#9'asrBottom'#6'Height'#3#25#1#3'T' +'orSideTop.Side'#7#9'asrBottom'#6'Height'#3#25#1#3'Top'#2#28#5'Width'#3#177#1
+'op'#2#28#5'Width'#3#177#1#0#0#10'TImageList'#9'ImageList'#4'left'#2''''#3't' +#0#0#10'TPopupMenu'#14'ItemsPopupMenu'#7'OnPopup'#7#19'ItemsPopupMenuPopup'#4
+'op'#2#20#0#0#10'TPopupMenu'#14'ItemsPopupMenu'#7'OnPopup'#7#19'ItemsPopupMe' +'left'#2'('#3'top'#2';'#0#0#0
+'nuPopup'#4'left'#2'('#3'top'#2';'#0#0#0
]); ]);

View File

@ -69,7 +69,6 @@ type
RemoveBitBtn: TBitBtn; RemoveBitBtn: TBitBtn;
OptionsBitBtn: TBitBtn; OptionsBitBtn: TBitBtn;
ItemsTreeView: TTreeView; ItemsTreeView: TTreeView;
ImageList: TImageList;
ItemsPopupMenu: TPopupMenu; ItemsPopupMenu: TPopupMenu;
procedure AddBitBtnClick(Sender: TObject); procedure AddBitBtnClick(Sender: TObject);
procedure ItemsPopupMenuPopup(Sender: TObject); procedure ItemsPopupMenuPopup(Sender: TObject);
@ -154,6 +153,8 @@ var
implementation implementation
uses
IDEImagesIntf;
{ TProjectInspectorForm } { TProjectInspectorForm }
@ -412,38 +413,17 @@ begin
end; end;
procedure TProjectInspectorForm.SetupComponents; procedure TProjectInspectorForm.SetupComponents;
procedure AddResImg(const ResName: string);
var Pixmap: TPixmap;
begin
Pixmap:=TPixmap.Create;
Pixmap.TransparentColor:=clWhite;
Pixmap.LoadFromLazarusResource(ResName);
ImageList.Add(Pixmap,nil);
Pixmap.Free;
end;
begin begin
with ImageList do begin ItemsTreeView.Images := IDEImages.Images_16;
ImageIndexFiles:=Count; ImageIndexFiles := IDEImages.LoadImage(16, 'pkg_files');
AddResImg('pkg_files'); ImageIndexRequired := IDEImages.LoadImage(16, 'pkg_required');
ImageIndexRequired:=Count; ImageIndexConflict := IDEImages.LoadImage(16, 'pkg_conflict');
AddResImg('pkg_required'); ImageIndexRemovedRequired := IDEImages.LoadImage(16, 'pkg_removedrequired');
ImageIndexConflict:=Count; ImageIndexProject := IDEImages.LoadImage(16, 'pkg_project');
AddResImg('pkg_conflict'); ImageIndexUnit := IDEImages.LoadImage(16, 'pkg_unit');
ImageIndexRemovedRequired:=Count; ImageIndexRegisterUnit := IDEImages.LoadImage(16, 'pkg_registerunit');
AddResImg('pkg_removedrequired'); ImageIndexText := IDEImages.LoadImage(16, 'pkg_text');
ImageIndexProject:=Count; ImageIndexBinary := IDEImages.LoadImage(16, 'pkg_binary');
AddResImg('pkg_project');
ImageIndexUnit:=Count;
AddResImg('pkg_unit');
ImageIndexRegisterUnit:=Count;
AddResImg('pkg_registerunit');
ImageIndexText:=Count;
AddResImg('pkg_text');
ImageIndexBinary:=Count;
AddResImg('pkg_binary');
end;
OpenBitBtn.Caption:=lisMenuOpen; OpenBitBtn.Caption:=lisMenuOpen;
AddBitBtn.Caption:=lisCodeTemplAdd; AddBitBtn.Caption:=lisCodeTemplAdd;

View File

@ -52,7 +52,7 @@ cd <lazarusdir>/images/
6. laz_images.lrs 6. laz_images.lrs
cd <lazarusdir>/images/ cd <lazarusdir>/images/
../tools/lazres laz_images.lrs btn_*.xpm pkg_*.xpm arrow_*.xpm menu/menu_*.xpm menu/menu_*.png codeexplorer/*.xpm designer/*.xpm debugger/*.png ../tools/lazres laz_images.lrs btn_*.xpm pkg_*.xpm arrow_*.xpm menu/menu_*.xpm menu/menu_*.png codeexplorer/*.xpm designer/*.xpm debugger/*.png packages/*.png
rm ../main.ppu rm ../main.ppu

View File

Before

Width:  |  Height:  |  Size: 774 B

After

Width:  |  Height:  |  Size: 774 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 522 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 879 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

File diff suppressed because it is too large Load Diff

View File

@ -1,251 +0,0 @@
/* XPM */
static char * breakpoints_xpm[] = {
"16 16 232 2",
" c None",
". c #FFFFFF",
"+ c #FFFFCC",
"@ c #FFFF99",
"# c #FFFF66",
"$ c #FFFF33",
"% c #FFFF00",
"& c #FFCCFF",
"* c #FFCCCC",
"= c #FFCC99",
"- c #FFCC66",
"; c #FFCC33",
"> c #FFCC00",
", c #FF99FF",
"' c #FF99CC",
") c #FF9999",
"! c #FF9966",
"~ c #FF9933",
"{ c #FF9900",
"] c #FF66FF",
"^ c #FF66CC",
"/ c #FF6699",
"( c #FF6666",
"_ c #FF6633",
": c #FF6600",
"< c #FF33FF",
"[ c #FF33CC",
"} c #FF3399",
"| c #FF3366",
"1 c #FF3333",
"2 c #FF3300",
"3 c #FF00FF",
"4 c #FF00CC",
"5 c #FF0099",
"6 c #FF0066",
"7 c #FF0033",
"8 c #FF0000",
"9 c #CCFFFF",
"0 c #CCFFCC",
"a c #CCFF99",
"b c #CCFF66",
"c c #CCFF33",
"d c #CCFF00",
"e c #CCCCFF",
"f c #CCCCCC",
"g c #CCCC99",
"h c #CCCC66",
"i c #CCCC33",
"j c #CCCC00",
"k c #CC99FF",
"l c #CC99CC",
"m c #CC9999",
"n c #CC9966",
"o c #CC9933",
"p c #CC9900",
"q c #CC66FF",
"r c #CC66CC",
"s c #CC6699",
"t c #CC6666",
"u c #CC6633",
"v c #CC6600",
"w c #CC33FF",
"x c #CC33CC",
"y c #CC3399",
"z c #CC3366",
"A c #CC3333",
"B c #CC3300",
"C c #CC00FF",
"D c #CC00CC",
"E c #CC0099",
"F c #CC0066",
"G c #CC0033",
"H c #CC0000",
"I c #99FFFF",
"J c #99FFCC",
"K c #99FF99",
"L c #99FF66",
"M c #99FF33",
"N c #99FF00",
"O c #99CCFF",
"P c #99CCCC",
"Q c #99CC99",
"R c #99CC66",
"S c #99CC33",
"T c #99CC00",
"U c #9999FF",
"V c #9999CC",
"W c #999999",
"X c #999966",
"Y c #999933",
"Z c #999900",
"` c #9966FF",
" . c #9966CC",
".. c #996699",
"+. c #996666",
"@. c #996633",
"#. c #996600",
"$. c #9933FF",
"%. c #9933CC",
"&. c #993399",
"*. c #993366",
"=. c #993333",
"-. c #993300",
";. c #9900FF",
">. c #9900CC",
",. c #990099",
"'. c #990066",
"). c #990033",
"!. c #990000",
"~. c #66FFFF",
"{. c #66FFCC",
"]. c #66FF99",
"^. c #66FF66",
"/. c #66FF33",
"(. c #66FF00",
"_. c #66CCFF",
":. c #66CCCC",
"<. c #66CC99",
"[. c #66CC66",
"}. c #66CC33",
"|. c #66CC00",
"1. c #6699FF",
"2. c #6699CC",
"3. c #669999",
"4. c #669966",
"5. c #669933",
"6. c #669900",
"7. c #6666FF",
"8. c #6666CC",
"9. c #666699",
"0. c #666666",
"a. c #666633",
"b. c #666600",
"c. c #6633FF",
"d. c #6633CC",
"e. c #663399",
"f. c #663366",
"g. c #663333",
"h. c #663300",
"i. c #6600FF",
"j. c #6600CC",
"k. c #660099",
"l. c #660066",
"m. c #660033",
"n. c #660000",
"o. c #33FFFF",
"p. c #33FFCC",
"q. c #33FF99",
"r. c #33FF66",
"s. c #33FF33",
"t. c #33FF00",
"u. c #33CCFF",
"v. c #33CCCC",
"w. c #33CC99",
"x. c #33CC66",
"y. c #33CC33",
"z. c #33CC00",
"A. c #3399FF",
"B. c #3399CC",
"C. c #339999",
"D. c #339966",
"E. c #339933",
"F. c #339900",
"G. c #3366FF",
"H. c #3366CC",
"I. c #336699",
"J. c #336666",
"K. c #336633",
"L. c #336600",
"M. c #3333FF",
"N. c #3333CC",
"O. c #333399",
"P. c #333366",
"Q. c #333333",
"R. c #333300",
"S. c #3300FF",
"T. c #3300CC",
"U. c #330099",
"V. c #330066",
"W. c #330033",
"X. c #330000",
"Y. c #00FFFF",
"Z. c #00FFCC",
"`. c #00FF99",
" + c #00FF66",
".+ c #00FF33",
"++ c #00FF00",
"@+ c #00CCFF",
"#+ c #00CCCC",
"$+ c #00CC99",
"%+ c #00CC66",
"&+ c #00CC33",
"*+ c #00CC00",
"=+ c #0099FF",
"-+ c #0099CC",
";+ c #009999",
">+ c #009966",
",+ c #009933",
"'+ c #009900",
")+ c #0066FF",
"!+ c #0066CC",
"~+ c #006699",
"{+ c #006666",
"]+ c #006633",
"^+ c #006600",
"/+ c #0033FF",
"(+ c #0033CC",
"_+ c #003399",
":+ c #003366",
"<+ c #003333",
"[+ c #003300",
"}+ c #0000FF",
"|+ c #0000CC",
"1+ c #000099",
"2+ c #000066",
"3+ c #000033",
"4+ c #000000",
"5+ c #A4A3D6",
"6+ c #9D9DCF",
"7+ c #B2B2E5",
"8+ c #B6B6E9",
"9+ c #C0C0F3",
"0+ c #8D8DB1",
"a+ c #8C8CAF",
"b+ c #9797BA",
"c+ c #9494B7",
"d+ c #9F9FC2",
"e+ c #9A9ABC",
"f+ c #A3A3C6",
"g+ c #ACACD0",
"h+ c #AAAACD",
"i+ c #C6C7FA",
" ",
" 4+4+4+4+4+4+4+4+ ",
" 4+. . . . . . . 4+ ",
" 4+. e g+e g+e 4+e 4+ ",
" 4+. g+e g+e g+e 4+4+ ",
" 4+. e g+e g+i+f+8+e+4+ ",
" 4+. g+e h+9+d+7+b+b+4+ ",
" 4+2 2 2 2 2 2 2 2 2 2 2 4+ ",
" 4+2 2 2 2 2 2 2 2 2 2 2 4+ ",
" 4+!.!.!.!.!.!.!.!.!.!.!.4+ ",
" 4+. c+5+0+6+c+5+0+5+4+ ",
" 4+. 5+a+6+a+5+a+6+a+4+ ",
" 4+. a+6+a+6+a+6+a+5+4+ ",
" 4+4+4+4+4+4+4+4+4+4+4+ ",
" ",
" "};

View File

@ -1,32 +0,0 @@
/* XPM */
static char * callstack_xpm[] = {
"16 16 13 1",
" c None",
". c #3600FF",
"+ c #7C6B3C",
"@ c #8A7743",
"# c #B8A05C",
"$ c #62593F",
"% c #FFECB7",
"& c #E6D5A5",
"* c #938560",
"= c #BFB59B",
"- c #C0C0C0",
"; c #FFFFFF",
"> c #000000",
"=========== ",
"=*>>******$ ",
"=>>*******$ ",
"=*>>******$ ",
"=*&&&&&&&&&&& ",
"=*&#>>######+ ",
"=*&>>#######+ ",
"=$&#>>######+ ",
" &#%%%%%%%%%%% ",
" &#%;..;;;;;;@ ",
" &#%..;;;;;;;@ ",
" &+%;..;;;;;;@ ",
" %;;;;;;..;@ ",
" %;;;;;;;..@ ",
" %;;;;;;..;@ ",
" %@@@@@@@@@@ "};

Binary file not shown.

After

Width:  |  Height:  |  Size: 778 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 841 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -1,22 +0,0 @@
/* XPM */
static char * editoroptions_xpm[] = {
"16 15 4 1",
" c None",
". c #848484",
"+ c #040484",
"@ c #FAFAFA",
"..........++. ",
".@@@@@@@.+. +. ",
".@@@@@@@+@. + ",
".@+++@@@+@. + ",
".@@@@@@@+@. + ",
".@@++++++@.+++++",
".@@@@@@@+@. +++ ",
".@@++++++@. + ",
".@@@@@@@+@. ",
".@@@+++++@. ",
".@@@@@@@+@. + ",
".@@++++++@. + ",
".@@@@@@@+@. + ",
".@@@@@@@.+. +. ",
"..........++. "};

Binary file not shown.

After

Width:  |  Height:  |  Size: 685 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 709 B

View File

@ -1,137 +0,0 @@
/* XPM */
static char * menu_projectinspector_xpm[] = {
"16 16 118 2",
" c None",
". c #6C7E95",
"+ c #92A0AD",
"@ c #EBF2F8",
"# c #3C5571",
"$ c #516882",
"% c #4B627C",
"& c #CED7DF",
"* c #FFFFFF",
"= c #D2D9E3",
"- c #A8B3BF",
"; c #C7CFD8",
"> c #BDC6D0",
", c #939FAC",
"' c #CBD4DC",
") c #C2CBD5",
"! c #BBC4CE",
"~ c #AFB8C4",
"{ c #A7B1BC",
"] c #798B9C",
"^ c #BFC7D2",
"/ c #B9C3CC",
"( c #B3BEC8",
"_ c #A1AAB4",
": c #62768D",
"< c #C1CCD6",
"[ c #BAC4CD",
"} c #B1BBC6",
"| c #A3AEBA",
"1 c #9CA7B3",
"2 c #96A1AD",
"3 c #8C9BA9",
"4 c #7F8FA0",
"5 c #5B728C",
"6 c #2D4968",
"7 c #D6DEE7",
"8 c #97A2AE",
"9 c #AEB7C3",
"0 c #A4AEBB",
"a c #98A5B1",
"b c #919FAC",
"c c #8B97A6",
"d c #71849A",
"e c #687E95",
"f c #64778F",
"g c #576D88",
"h c #4B637E",
"i c #91AA91",
"j c #AFC8AF",
"k c #AAC3AA",
"l c #7A937A",
"m c #819A81",
"n c #90A790",
"o c #7F987F",
"p c #688568",
"q c #658265",
"r c #6D8C6D",
"s c #5E7E5E",
"t c #4A6B4A",
"u c #8AA38A",
"v c #ABC4AB",
"w c #A2BBA2",
"x c #789178",
"y c #F7F9F7",
"z c #98AD98",
"A c #FFFF00",
"B c #476847",
"C c #658465",
"D c #577757",
"E c #3E5F3E",
"F c #859E85",
"G c #A4BDA4",
"H c #9CB59C",
"I c #E1E1E1",
"J c #94AA94",
"K c #759275",
"L c #C4C42B",
"M c #5E7D5E",
"N c #527252",
"O c #375937",
"P c #809980",
"Q c #9EB79E",
"R c #95AE95",
"S c #6C8B6C",
"T c #CACACA",
"U c #8EA58E",
"V c #6E8D6E",
"W c #617E61",
"X c #577657",
"Y c #567556",
"Z c #4E6E4E",
"` c #2E522E",
" . c #799279",
".. c #96AF96",
"+. c #90A990",
"@. c #668566",
"#. c #AFAFAF",
"$. c #849D84",
"%. c #597859",
"&. c #537353",
"*. c #486948",
"=. c #264C26",
"-. c #00B200",
";. c #00FF00",
">. c #969696",
",. c #799379",
"'. c #597759",
"). c #537253",
"!. c #04F704",
"~. c #007400",
"{. c #216B21",
"]. c #006600",
"^. c #8D8D8D",
"/. c #5E7C5E",
"(. c #076707",
"_. c #008700",
":. c #008C00",
"<. c #009D00",
" . . ",
" + @ # $ ",
" % & + * = - # $ ",
" % & + * & ; > , # $ ",
" % + * ' ) ! ~ { ] # $ ",
" + * ; ^ / ( - _ , : # $ ",
" + * < [ } - | 1 2 3 4 5 6 $ ",
"+ 7 8 9 0 a b c 4 d e f g h # $ ",
" i j k l m n o p q r s t ",
" u v w x y z l A B C D E ",
" F G H x I J K L B M N O ",
" P Q R S T U V W X Y Z ` ",
" ...+.@.#.$.C W %.&.*.=. ",
" x -.;.q >.,.'.).!.~.-.{. ",
" -.].].B ^./.(.-._.:.<.-. ",
" "};

Binary file not shown.

Before

Width:  |  Height:  |  Size: 464 B

View File

@ -1,27 +0,0 @@
/* XPM */
static char * watches_xpm[] = {
"16 16 8 1",
" c None",
". c #6666CC",
"+ c #D5D5EF",
"@ c #FFFFFF",
"# c #E1E1E1",
"$ c #C8C8C8",
"% c #444444",
"& c #000000",
" ",
" &&&&&&&&&&&&& ",
" &...........%@ ",
" &#####@@@@@#%@ ",
" &$#&@&@@&&@$%@ ",
" &#@#&@@@@@@#%@ ",
" &$#&@&@@&&@$%@ ",
" &#@@@@@@@@@+%@ ",
" &$@@@@@@@@#$%@ ",
" &#@&@&@@&&@+%@ ",
" &$@@&@@@#@#$%@ ",
" &#@@&@@#&&@+%@ ",
" &$#$#$+$+$+$%@ ",
" &%%%%%%%%%%%%@ ",
" @@@@@@@@@@@@@ ",
" "};

BIN
images/packages/pkg_add.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 899 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 365 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 896 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 850 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 853 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 943 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 591 B

View File

@ -1,276 +0,0 @@
/* XPM */
static char * pkg_add_xpm[] = {
"16 16 257 2",
" c None",
". c #000000",
"+ c #800000",
"@ c #008000",
"# c #808000",
"$ c #000080",
"% c #800080",
"& c #008080",
"* c #C0C0C0",
"= c #C0DCC0",
"- c #A6CAF0",
"; c #402000",
"> c #602000",
", c #802000",
"' c #A02000",
") c #C02000",
"! c #E02000",
"~ c #004000",
"{ c #204000",
"] c #404000",
"^ c #604000",
"/ c #804000",
"( c #A04000",
"_ c #C04000",
": c #E04000",
"< c #006000",
"[ c #206000",
"} c #406000",
"| c #606000",
"1 c #806000",
"2 c #A06000",
"3 c #C06000",
"4 c #E06000",
"5 c #008000",
"6 c #208000",
"7 c #408000",
"8 c #608000",
"9 c #808000",
"0 c #A08000",
"a c #C08000",
"b c #E08000",
"c c #00A000",
"d c #20A000",
"e c #40A000",
"f c #60A000",
"g c #80A000",
"h c #A0A000",
"i c #C0A000",
"j c #E0A000",
"k c #00C000",
"l c #20C000",
"m c #40C000",
"n c #60C000",
"o c #80C000",
"p c #A0C000",
"q c #C0C000",
"r c #E0C000",
"s c #00E000",
"t c #20E000",
"u c #40E000",
"v c #60E000",
"w c #80E000",
"x c #A0E000",
"y c #C0E000",
"z c #E0E000",
"A c #000040",
"B c #200040",
"C c #400040",
"D c #600040",
"E c #800040",
"F c #A00040",
"G c #C00040",
"H c #E00040",
"I c #002040",
"J c #202040",
"K c #402040",
"L c #602040",
"M c #802040",
"N c #A02040",
"O c #C02040",
"P c #E02040",
"Q c #004040",
"R c #204040",
"S c #404040",
"T c #604040",
"U c #804040",
"V c #A04040",
"W c #C04040",
"X c #E04040",
"Y c #006040",
"Z c #206040",
"` c #406040",
" . c #606040",
".. c #806040",
"+. c #A06040",
"@. c #C06040",
"#. c #E06040",
"$. c #008040",
"%. c #208040",
"&. c #408040",
"*. c #608040",
"=. c #808040",
"-. c #A08040",
";. c #C08040",
">. c #E08040",
",. c #00A040",
"'. c #20A040",
"). c #40A040",
"!. c #60A040",
"~. c #80A040",
"{. c #A0A040",
"]. c #C0A040",
"^. c #E0A040",
"/. c #00C040",
"(. c #20C040",
"_. c #40C040",
":. c #60C040",
"<. c #80C040",
"[. c #A0C040",
"}. c #C0C040",
"|. c #E0C040",
"1. c #00E040",
"2. c #20E040",
"3. c #40E040",
"4. c #60E040",
"5. c #80E040",
"6. c #A0E040",
"7. c #C0E040",
"8. c #E0E040",
"9. c #000080",
"0. c #200080",
"a. c #400080",
"b. c #600080",
"c. c #800080",
"d. c #A00080",
"e. c #C00080",
"f. c #E00080",
"g. c #002080",
"h. c #202080",
"i. c #402080",
"j. c #602080",
"k. c #802080",
"l. c #A02080",
"m. c #C02080",
"n. c #E02080",
"o. c #004080",
"p. c #204080",
"q. c #404080",
"r. c #604080",
"s. c #804080",
"t. c #A04080",
"u. c #C04080",
"v. c #E04080",
"w. c #006080",
"x. c #206080",
"y. c #406080",
"z. c #606080",
"A. c #806080",
"B. c #A06080",
"C. c #C06080",
"D. c #E06080",
"E. c #008080",
"F. c #208080",
"G. c #408080",
"H. c #608080",
"I. c #808080",
"J. c #A08080",
"K. c #C08080",
"L. c #E08080",
"M. c #00A080",
"N. c #20A080",
"O. c #40A080",
"P. c #60A080",
"Q. c #80A080",
"R. c #A0A080",
"S. c #C0A080",
"T. c #E0A080",
"U. c #00C080",
"V. c #20C080",
"W. c #40C080",
"X. c #60C080",
"Y. c #80C080",
"Z. c #A0C080",
"`. c #C0C080",
" + c #E0C080",
".+ c #00E080",
"++ c #20E080",
"@+ c #40E080",
"#+ c #60E080",
"$+ c #80E080",
"%+ c #A0E080",
"&+ c #C0E080",
"*+ c #E0E080",
"=+ c #0000C0",
"-+ c #2000C0",
";+ c #4000C0",
">+ c #6000C0",
",+ c #8000C0",
"'+ c #A000C0",
")+ c #C000C0",
"!+ c #E000C0",
"~+ c #0020C0",
"{+ c #2020C0",
"]+ c #4020C0",
"^+ c #6020C0",
"/+ c #8020C0",
"(+ c #A020C0",
"_+ c #C020C0",
":+ c #E020C0",
"<+ c #0040C0",
"[+ c #2040C0",
"}+ c #4040C0",
"|+ c #6040C0",
"1+ c #8040C0",
"2+ c #A040C0",
"3+ c #C040C0",
"4+ c #E040C0",
"5+ c #0060C0",
"6+ c #2060C0",
"7+ c #4060C0",
"8+ c #6060C0",
"9+ c #8060C0",
"0+ c #A060C0",
"a+ c #C060C0",
"b+ c #E060C0",
"c+ c #0080C0",
"d+ c #2080C0",
"e+ c #4080C0",
"f+ c #6080C0",
"g+ c #8080C0",
"h+ c #A080C0",
"i+ c #C080C0",
"j+ c #E080C0",
"k+ c #00A0C0",
"l+ c #20A0C0",
"m+ c #40A0C0",
"n+ c #60A0C0",
"o+ c #80A0C0",
"p+ c #A0A0C0",
"q+ c #C0A0C0",
"r+ c #E0A0C0",
"s+ c #00C0C0",
"t+ c #20C0C0",
"u+ c #40C0C0",
"v+ c #60C0C0",
"w+ c #80C0C0",
"x+ c #A0C0C0",
"y+ c #FFFBF0",
"z+ c #A0A0A4",
"A+ c #808080",
"B+ c #FF0000",
"C+ c #00FF00",
"D+ c #FFFF00",
"E+ c #0000FF",
"F+ c #FF00FF",
"G+ c #00FFFF",
"H+ c #FFFFFF",
" ",
" . . . . ",
" . d d . ",
" . d d . ",
" . d d . ",
" . d d . ",
" . . . . . . d d . . . . . . ",
" . d d d d d d d d d d d d . ",
" . d d d d d d d d d d d d . ",
" . . . . . . d d . . . . . . ",
" . d d . ",
" . d d . ",
" . d d . ",
" . d d . ",
" . . . . ",
" "};

View File

@ -1,104 +0,0 @@
/* XPM */
static char * pkg_addunittopackage_xpm[] = {
"16 17 84 1",
" c None",
". c #494214",
"+ c #C0BDA2",
"@ c #FEF9D4",
"# c #FEFBE4",
"$ c #FEFADF",
"% c #024266",
"& c #FEF7CA",
"* c #777049",
"= c #B7B394",
"- c #CBC8AC",
"; c #AEDDE9",
"> c #8EC8DC",
", c #FEF7C6",
"' c #FEF6C1",
") c #FEFDFB",
"! c #FEFDF5",
"~ c #FEFCF0",
"{ c #FEFBEB",
"] c #FEFBE6",
"^ c #85C0D6",
"/ c #888361",
"( c #97916D",
"_ c #A6A079",
": c #B5AE85",
"< c #F8EEC3",
"[ c #F7EBC0",
"} c #FEFCF1",
"| c #FEFCEC",
"1 c #FEFBE7",
"2 c #7CB8CF",
"3 c #FEF7C8",
"4 c #FEF6C2",
"5 c #AC9A47",
"6 c #A29240",
"7 c #F6EABD",
"8 c #F4E8B9",
"9 c #F2E6B5",
"0 c #F0E4B1",
"a c #FEFBE8",
"b c #73B0CA",
"c c #B7A450",
"d c #AE9C49",
"e c #A59442",
"f c #9C8D3B",
"g c #F3E7B7",
"h c #6AA8C4",
"i c #78B3CB",
"j c #61A0BE",
"k c #66A4C0",
"l c #80B8CE",
"m c #9FD1E0",
"n c #A8D8E5",
"o c #7CB6CC",
"p c #5898B7",
"q c #82B8CF",
"r c #4F8FB2",
"s c #E8D99E",
"t c #074769",
"u c #5292B5",
"v c #4586AB",
"w c #4687AC",
"x c #E5D598",
"y c #E3D394",
"z c #E1D190",
"A c #E0CF8C",
"B c #DECD88",
"C c #609FBD",
"D c #3D7FA6",
"E c #908333",
"F c #877B2C",
"G c #7E7325",
"H c #756B1E",
"I c #DFCE89",
"J c #DDCC85",
"K c #DBC981",
"L c #5696B7",
"M c #34779F",
"N c #8A7D2E",
"O c #817527",
"P c #D8C67B",
"Q c #3B7EA5",
"R c #2B6F9A",
"S c #226794",
" .. ",
" ..+@.. ",
" ..#$%%%&.. ",
" .*=-+%;;>%,'.. ",
".)!~{]%;^^%/(_:.",
".<[}|1%;22%3456.",
".7890a%;bb%cdef.",
".g%%%%%;hh%%%%%.",
".%;;;;;ijjklmno%",
".%;pppppppppppp%",
".%qrrrrrrrrrrrr%",
".st%%%%uvw%%%%%.",
".xyzAB%CDD%EFGH.",
" ..IJK%LMM%NO.. ",
" ..P%QRR%.. ",
" .%SSS% ",
" %%% "};

View File

@ -1,170 +0,0 @@
/* XPM */
static char * pkg_package_xpm[] = {
"16 17 150 2",
" c None",
". c #494214",
"+ c #C0BDA2",
"@ c #FEF9D4",
"# c #FEFBE4",
"$ c #FEFADF",
"% c #B1AE93",
"& c #FEF9D5",
"* c #FEF8CF",
"= c #FEF7CA",
"- c #777049",
"; c #B7B394",
"> c #CBC8AC",
", c #A29F85",
"' c #FEF8D0",
") c #FEF7CB",
"! c #FEF7C6",
"~ c #FEF6C1",
"{ c #FEFDFB",
"] c #FEFDF5",
"^ c #FEFCF0",
"/ c #FEFBEB",
"( c #FEFBE6",
"_ c #FEFAE1",
": c #FEFADC",
"< c #5B573D",
"[ c #6A6649",
"} c #797455",
"| c #888361",
"1 c #97916D",
"2 c #A6A079",
"3 c #B5AE85",
"4 c #F8EEC3",
"5 c #F7EBC0",
"6 c #FEFCF1",
"7 c #FEFCEC",
"8 c #FEFBE7",
"9 c #FEFAE2",
"0 c #827D5B",
"a c #FEF8D2",
"b c #FEF8CD",
"c c #FEF7C8",
"d c #FEF6C2",
"e c #AC9A47",
"f c #A29240",
"g c #F6EABD",
"h c #F4E8B9",
"i c #F2E6B5",
"j c #F0E4B1",
"k c #FEFBE8",
"l c #FEFADD",
"m c #99936B",
"n c #F5EEC1",
"o c #FEF8CE",
"p c #B7A450",
"q c #AE9C49",
"r c #A59442",
"s c #9C8D3B",
"t c #F3E7B7",
"u c #F1E4B3",
"v c #EFE2AF",
"w c #EEE0AB",
"x c #ECDEA7",
"y c #EADCA3",
"z c #FEFADE",
"A c #A69D6F",
"B c #C3AE59",
"C c #BAA652",
"D c #B19F4B",
"E c #A89744",
"F c #9F8F3D",
"G c #968737",
"H c #F0E3B1",
"I c #EEE1AD",
"J c #EDDFA9",
"K c #EBDDA5",
"L c #E9DAA1",
"M c #E7D89D",
"N c #E6D699",
"O c #C6B05B",
"P c #BCA954",
"Q c #B3A14D",
"R c #AA9946",
"S c #A1913F",
"T c #988938",
"U c #8F8132",
"V c #EDE0AA",
"W c #ECDEA6",
"X c #EADBA2",
"Y c #E8D99E",
"Z c #E6D79A",
"` c #E5D596",
" . c #E3D392",
".. c #BFAB56",
"+. c #B6A34F",
"@. c #AD9B48",
"#. c #A49341",
"$. c #9B8B3A",
"%. c #928434",
"&. c #897C2D",
"*. c #EBDCA4",
"=. c #E9DAA0",
"-. c #E7D89C",
";. c #E5D698",
">. c #E4D494",
",. c #E2D190",
"'. c #E0CF8C",
"). c #B9A551",
"!. c #AF9D4A",
"~. c #A69643",
"{. c #9D8E3C",
"]. c #948636",
"^. c #8B7E2F",
"/. c #827628",
"(. c #E4D596",
"_. c #E2D292",
":. c #E1D08E",
"<. c #DFCE8A",
"[. c #DDCC86",
"}. c #B2A04C",
"|. c #A99845",
"1. c #A0903E",
"2. c #978837",
"3. c #8E8031",
"4. c #85782A",
"5. c #7C7123",
"6. c #E5D598",
"7. c #E3D394",
"8. c #E1D190",
"9. c #DECD88",
"0. c #DCCB84",
"a. c #DAC880",
"b. c #998A39",
"c. c #908333",
"d. c #877B2C",
"e. c #7E7325",
"f. c #756B1E",
"g. c #DFCE89",
"h. c #DDCC85",
"i. c #DBC981",
"j. c #D9C77D",
"k. c #D8C579",
"l. c #938535",
"m. c #8A7D2E",
"n. c #817527",
"o. c #D8C67B",
"p. c #D7C477",
"q. c #D5C273",
"r. c #8C7F30",
"s. c #D2BE6D",
" . . ",
" . . + @ . . ",
" . . # $ % & * = . . ",
" . - ; > + % , & ' ) ! ~ . . ",
". { ] ^ / ( _ : < [ } | 1 2 3 . ",
". 4 5 6 7 8 9 : 0 a b c d e f . ",
". g h i j k 9 l m n o p q r s . ",
". t u v w x y z A B C D E F G . ",
". H I J K L M N O P Q R S T U . ",
". V W X Y Z ` ...+.@.#.$.%.&.. ",
". *.=.-.;.>.,.'.).!.~.{.].^./.. ",
". Y Z (._.:.<.[.}.|.1.2.3.4.5.. ",
". 6.7.8.'.9.0.a.e f b.c.d.e.f.. ",
" . . g.h.i.j.k.r s l.m.n.. . ",
" . . o.p.q.F G r.. . ",
" . . s.T . . ",
" . . "};

View File

@ -1,162 +0,0 @@
/* XPM */
static char * pkg_package_install_xpm[] = {
"16 17 142 2",
" c None",
". c #1D4813",
"+ c #A6BFA2",
"@ c #DBFDD4",
"# c #E8FDE4",
"$ c #E3FDDE",
"% c #97B093",
"& c #D6FDCE",
"* c #D4FDCA",
"= c #517649",
"- c #99B693",
"; c #AFCAAB",
"> c #88A184",
", c #D8FDD0",
"' c #CFFDC6",
") c #CBFDC0",
"! c #FBFDFA",
"~ c #F5FDF4",
"{ c #F2FDF0",
"] c #EEFDEA",
"^ c #EAFDE6",
"/ c #E5FDE0",
"( c #E1FDDC",
"_ c #425A3D",
": c #4D6948",
"< c #5B7855",
"[ c #678760",
"} c #75966D",
"| c #81A578",
"1 c #8EB485",
"2 c #CFF7C2",
"3 c #CDF6BF",
"4 c #F3FDF0",
"5 c #EFFDEC",
"6 c #E7FDE2",
"7 c #60815A",
"8 c #DAFDD2",
"9 c #D4FDCC",
"0 c #D2FDC8",
"a c #CDFDC2",
"b c #5EAA47",
"c c #54A140",
"d c #CBF5BC",
"e c #C7F3B8",
"f c #C2F1B4",
"g c #BFEFB0",
"h c #ECFDE8",
"i c #73986B",
"j c #CBF4C1",
"k c #67B64F",
"l c #60AD48",
"m c #56A441",
"n c #4F9B3A",
"o c #C5F2B7",
"p c #C3F0B3",
"q c #BFEEAF",
"r c #BBEDAA",
"s c #B8EBA6",
"t c #B3E9A2",
"u c #7AA56E",
"v c #72C259",
"w c #6AB952",
"x c #60B04B",
"y c #59A744",
"z c #519E3D",
"A c #4A9536",
"B c #C0EFB0",
"C c #BBEDAC",
"D c #BAECA9",
"E c #B5EAA5",
"F c #B3E8A1",
"G c #B0E69D",
"H c #ACE598",
"I c #76C55A",
"J c #6CBB54",
"K c #62B24D",
"L c #5BA946",
"M c #53A03F",
"N c #4C9738",
"O c #438D32",
"P c #B9ECA9",
"Q c #B6EBA6",
"R c #B4E9A2",
"S c #B1E79E",
"T c #ACE59A",
"U c #AAE495",
"V c #A4E291",
"W c #6EBE55",
"X c #66B54E",
"Y c #5FAC47",
"Z c #55A340",
"` c #4E9A39",
" . c #459134",
".. c #3E882D",
"+. c #B5EAA3",
"@. c #B2E89F",
"#. c #ADE69B",
"$. c #A9E497",
"%. c #A6E394",
"&. c #A5E190",
"*. c #A1DF8C",
"=. c #69B851",
"-. c #61AE49",
";. c #57A542",
">. c #509B3C",
",. c #479336",
"'. c #408A2F",
"). c #388127",
"!. c #A8E396",
"~. c #A5E192",
"{. c #A3E08D",
"]. c #9DDE89",
"^. c #9ADC85",
"/. c #61B14C",
"(. c #5AA845",
"_. c #529F3E",
":. c #4B9637",
"<. c #428D30",
"[. c #3A8429",
"}. c #317A23",
"|. c #ABE497",
"1. c #A7E293",
"2. c #A2E08F",
"3. c #9CDD88",
"4. c #98DB84",
"5. c #95D980",
"6. c #4D9839",
"7. c #448F32",
"8. c #3C862B",
"9. c #337D24",
"0. c #2C731E",
"a. c #96DA81",
"b. c #92D87D",
"c. c #8ED778",
"d. c #469235",
"e. c #3F892E",
"f. c #388027",
"g. c #90D77A",
"h. c #8DD677",
"i. c #8AD473",
"j. c #418B30",
"k. c #84D16C",
" . . ",
" . . + @ . . ",
" . . # $ % @ & * . . ",
" . = - ; + % > @ , * ' ) . . ",
". ! ~ { ] ^ / ( _ : < [ } | 1 . ",
". 2 3 4 5 ^ 6 ( 7 8 9 0 a b c . ",
". d e f g h 6 ( i j & k l m n . ",
". o p q r s t $ u v w x y z A . ",
". B C D E F G H I J K L M N O . ",
". P Q R S T U V W X Y Z ` .... ",
". +.@.#.$.%.&.*.=.-.;.>.,.'.).. ",
". S T !.~.{.].^./.(._.:.<.[.}.. ",
". |.1.2.*.3.4.5.b c 6.7.8.9.0.. ",
" . . ].^.a.b.c.m n d.e.f.. . ",
" . . g.h.i.z A j.. . ",
" . . k.N . . ",
" . . "};

View File

@ -1,155 +0,0 @@
/* XPM */
static char * pkg_package_installed_xpm[] = {
"16 17 135 2",
" c None",
". c #494214",
"+ c #C0BDA2",
"@ c #FEF9D4",
"# c #FEFBE4",
"$ c #FEFADF",
"% c #B1AE93",
"& c #FEF9D5",
"* c #FEF8CF",
"= c #FEF7CA",
"- c #777049",
"; c #B7B394",
"> c #CBC8AC",
", c #A29F85",
"' c #FEF8D0",
") c #FEF7CB",
"! c #FEF7C6",
"~ c #FEF6C1",
"{ c #FEFDFB",
"] c #FEFDF5",
"^ c #FEFCF0",
"/ c #FEFBEB",
"( c #FEFBE6",
"_ c #FEFAE1",
": c #FEFADC",
"< c #5B573D",
"[ c #6A6649",
"} c #797455",
"| c #888361",
"1 c #97916D",
"2 c #A6A079",
"3 c #B5AE85",
"4 c #F8EEC3",
"5 c #F7EBC0",
"6 c #FEFCF1",
"7 c #FEFCEC",
"8 c #FEFBE7",
"9 c #FEFAE2",
"0 c #827D5B",
"a c #FEF8D2",
"b c #FEF8CD",
"c c #FEF7C8",
"d c #FEF6C2",
"e c #AC9A47",
"f c #A29240",
"g c #F6EABD",
"h c #F4E8B9",
"i c #F2E6B5",
"j c #F0E4B1",
"k c #FEFBE8",
"l c #FEFADD",
"m c #99936B",
"n c #F5EEC1",
"o c #FEF8CE",
"p c #B7A450",
"q c #AE9C49",
"r c #A59442",
"s c #9C8D3B",
"t c #F3E7B7",
"u c #F1E4B3",
"v c #EFE2AF",
"w c #EEE0AB",
"x c #ECDEA7",
"y c #EADCA3",
"z c #FEFADE",
"A c #A69D6F",
"B c #C3AE59",
"C c #BAA652",
"D c #B19F4B",
"E c #A89744",
"F c #9F8F3D",
"G c #968737",
"H c #F0E3B1",
"I c #EEE1AD",
"J c #EDDFA9",
"K c #EBDDA5",
"L c #E9DAA1",
"M c #E7D89D",
"N c #E6D699",
"O c #C6B05B",
"P c #BCA954",
"Q c #B3A14D",
"R c #AA9946",
"S c #A1913F",
"T c #988938",
"U c #8F8132",
"V c #EDE0AA",
"W c #ECDEA6",
"X c #EADBA2",
"Y c #E8D99E",
"Z c #E6D79A",
"` c #E5D596",
" . c #E3D392",
".. c #BFAB56",
"+. c #B6A34F",
"@. c #AD9B48",
"#. c #000000",
"$. c #928434",
"%. c #897C2D",
"&. c #EBDCA4",
"*. c #E9DAA0",
"=. c #E7D89C",
"-. c #E5D698",
";. c #E4D494",
">. c #E2D190",
",. c #E0CF8C",
"'. c #B9A551",
"). c #AF9D4A",
"!. c #FFFFFF",
"~. c #00C000",
"{. c #827628",
"]. c #E4D596",
"^. c #E2D292",
"/. c #E1D08E",
"(. c #DFCE8A",
"_. c #DDCC86",
":. c #B2A04C",
"<. c #303030",
"[. c #C0FFC0",
"}. c #E5D598",
"|. c #E3D394",
"1. c #E1D190",
"2. c #DECD88",
"3. c #DCCB84",
"4. c #DAC880",
"5. c #DFCE89",
"6. c #DDCC85",
"7. c #DBC981",
"8. c #D9C77D",
"9. c #D8C579",
"0. c #D8C67B",
"a. c #D7C477",
"b. c #D5C273",
"c. c #008000",
"d. c #D2BE6D",
" . . ",
" . . + @ . . ",
" . . # $ % & * = . . ",
" . - ; > + % , & ' ) ! ~ . . ",
". { ] ^ / ( _ : < [ } | 1 2 3 . ",
". 4 5 6 7 8 9 : 0 a b c d e f . ",
". g h i j k 9 l m n o p q r s . ",
". t u v w x y z A B C D E F G . ",
". H I J K L M N O P Q R S T U . ",
". V W X Y Z ` ...+.@.#.#.$.%.. ",
". &.*.=.-.;.>.,.'.).#.!.~.#.{.. ",
". Y Z ].^./.(._.:.#.<.[.~.#.#.. ",
". }.|.1.,.2.3.4.#.!.[.!.~.[.[.#.",
" . . 5.6.7.8.9.#.~.~.~.~.~.~.#.",
" . . 0.a.b.F #.<.~.c.#.<. ",
" . . d.T . #.[.c.<. ",
" . . #.#. "};

View File

@ -1,36 +0,0 @@
/* XPM */
static char * pkg_packagegraph_xpm[] = {
"16 16 17 1",
" c None",
". c #3A3A3A",
"+ c #87BD88",
"@ c #8BBE8B",
"# c #81BA81",
"$ c #6DAF6D",
"% c #87BD87",
"& c #FCFDFC",
"* c #AED0AE",
"= c #4E9C4C",
"- c #91BD91",
"; c #72B172",
"> c #448643",
", c #686868",
"' c #519F50",
") c #499247",
"! c #356A35",
" . ",
" . ",
" . +@#$ ",
" . %&*= ",
" .. #-;> ,, ,,,",
" . $')! ",
" . ",
" . ",
" . ",
" . +@#$ ",
" . %&*= ",
" .. #-;> ,, ,,,",
" $')! ",
" ",
" ",
" "};

View File

@ -126,7 +126,6 @@ type
// statusbar // statusbar
StatusBar: TStatusBar; StatusBar: TStatusBar;
// hidden components // hidden components
ImageList: TImageList;
FilesPopupMenu: TPopupMenu; FilesPopupMenu: TPopupMenu;
procedure AddBitBtnClick(Sender: TObject); procedure AddBitBtnClick(Sender: TObject);
procedure AddToUsesPkgSectionCheckBoxChange(Sender: TObject); procedure AddToUsesPkgSectionCheckBoxChange(Sender: TObject);
@ -319,7 +318,7 @@ var
implementation implementation
uses Math; uses Math, IDEImagesIntf;
var var
ImageIndexFiles: integer; ImageIndexFiles: integer;
@ -1282,16 +1281,6 @@ begin
end; end;
procedure TPackageEditorForm.SetupComponents; procedure TPackageEditorForm.SetupComponents;
procedure AddResImg(const ResName: string);
var Pixmap: TPixmap;
begin
Pixmap:=TPixmap.Create;
Pixmap.TransparentColor:=clWhite;
Pixmap.LoadFromLazarusResource(ResName);
ImageList.Add(Pixmap,nil);
Pixmap.Free;
end;
procedure LoadBitBtnGlyph(ABitBtn: TBitBtn; const ResName: string); procedure LoadBitBtnGlyph(ABitBtn: TBitBtn; const ResName: string);
begin begin
@ -1299,36 +1288,18 @@ procedure TPackageEditorForm.SetupComponents;
end; end;
begin begin
ImageList:=TImageList.Create(Self); ImageIndexFiles := IDEImages.LoadImage(16, 'pkg_files');
with ImageList do begin ImageIndexRemovedFiles := IDEImages.LoadImage(16, 'pkg_removedfiles');
Width:=16; ImageIndexRequired := IDEImages.LoadImage(16, 'pkg_required');
Height:=16; ImageIndexRemovedRequired := IDEImages.LoadImage(16, 'pkg_removedrequired');
Name:='ImageList'; ImageIndexUnit := IDEImages.LoadImage(16, 'pkg_unit');
ImageIndexFiles:=Count; ImageIndexRegisterUnit := IDEImages.LoadImage(16, 'pkg_registerunit');
AddResImg('pkg_files'); ImageIndexLFM := IDEImages.LoadImage(16, 'pkg_lfm');
ImageIndexRemovedFiles:=Count; ImageIndexLRS := IDEImages.LoadImage(16, 'pkg_lrs');
AddResImg('pkg_removedfiles'); ImageIndexInclude := IDEImages.LoadImage(16, 'pkg_include');
ImageIndexRequired:=Count; ImageIndexText := IDEImages.LoadImage(16, 'pkg_text');
AddResImg('pkg_required'); ImageIndexBinary := IDEImages.LoadImage(16, 'pkg_binary');
ImageIndexRemovedRequired:=Count; ImageIndexConflict := IDEImages.LoadImage(16, 'pkg_conflict');
AddResImg('pkg_removedrequired');
ImageIndexUnit:=Count;
AddResImg('pkg_unit');
ImageIndexRegisterUnit:=Count;
AddResImg('pkg_registerunit');
ImageIndexLFM:=Count;
AddResImg('pkg_lfm');
ImageIndexLRS:=Count;
AddResImg('pkg_lrs');
ImageIndexInclude:=Count;
AddResImg('pkg_include');
ImageIndexText:=Count;
AddResImg('pkg_text');
ImageIndexBinary:=Count;
AddResImg('pkg_binary');
ImageIndexConflict:=Count;
AddResImg('pkg_conflict');
end;
SaveBitBtn:=TBitBtn.Create(Self); SaveBitBtn:=TBitBtn.Create(Self);
with SaveBitBtn do begin with SaveBitBtn do begin
@ -1432,7 +1403,7 @@ begin
Name:='FilesTreeView'; Name:='FilesTreeView';
Parent:=Self; Parent:=Self;
BeginUpdate; BeginUpdate;
Images:=ImageList; Images := IDEImages.Images_16;
FilesNode:=Items.Add(nil, dlgEnvFiles); FilesNode:=Items.Add(nil, dlgEnvFiles);
FilesNode.ImageIndex:=ImageIndexFiles; FilesNode.ImageIndex:=ImageIndexFiles;
FilesNode.SelectedIndex:=FilesNode.ImageIndex; FilesNode.SelectedIndex:=FilesNode.ImageIndex;

View File

@ -100,7 +100,6 @@ object PkgGraphExplorerDlg: TPkgGraphExplorerDlg
object PkgTreeView: TTreeView object PkgTreeView: TTreeView
Align = alClient Align = alClient
DefaultItemHeight = 17 DefaultItemHeight = 17
Images = ImageList
PopupMenu = PkgPopupMenu PopupMenu = PkgPopupMenu
RightClickSelect = True RightClickSelect = True
TabOrder = 0 TabOrder = 0
@ -114,12 +113,6 @@ object PkgGraphExplorerDlg: TPkgGraphExplorerDlg
Width = 229 Width = 229
end end
end end
object ImageList: TImageList
Height = 17
Width = 17
left = 32
top = 8
end
object PkgPopupMenu: TPopupMenu object PkgPopupMenu: TPopupMenu
OnPopup = PkgPopupMenuPopup OnPopup = PkgPopupMenuPopup
left = 32 left = 32

View File

@ -27,15 +27,14 @@ LazarusResources.Add('TPkgGraphExplorerDlg','FORMDATA',[
+'BorderSpacing.Around'#2#6#7'Caption'#6#12'PkgTreeLabel'#5'Color'#7#6'clNone' +'BorderSpacing.Around'#2#6#7'Caption'#6#12'PkgTreeLabel'#5'Color'#7#6'clNone'
+#11'ParentColor'#8#4'Left'#2#6#6'Height'#2#13#3'Top'#2#6#5'Width'#3#217#0#0#0 +#11'ParentColor'#8#4'Left'#2#6#6'Height'#2#13#3'Top'#2#6#5'Width'#3#217#0#0#0
+#9'TTreeView'#11'PkgTreeView'#5'Align'#7#8'alClient'#17'DefaultItemHeight'#2 +#9'TTreeView'#11'PkgTreeView'#5'Align'#7#8'alClient'#17'DefaultItemHeight'#2
+#17#6'Images'#7#9'ImageList'#9'PopupMenu'#7#12'PkgPopupMenu'#16'RightClickSe' +#17#9'PopupMenu'#7#12'PkgPopupMenu'#16'RightClickSelect'#9#8'TabOrder'#2#0#10
+'lect'#9#8'TabOrder'#2#0#10'OnDblClick'#7#19'PkgTreeViewDblClick'#11'OnExpan' +'OnDblClick'#7#19'PkgTreeViewDblClick'#11'OnExpanding'#7#20'PkgTreeViewExpan'
+'ding'#7#20'PkgTreeViewExpanding'#9'OnKeyDown'#7#15'InfoMemoKeyDown'#18'OnSe' +'ding'#9'OnKeyDown'#7#15'InfoMemoKeyDown'#18'OnSelectionChanged'#7#27'PkgTre'
+'lectionChanged'#7#27'PkgTreeViewSelectionChanged'#7'Options'#11#17'tvoAutoI' +'eViewSelectionChanged'#7'Options'#11#17'tvoAutoItemHeight'#16'tvoHideSelect'
+'temHeight'#16'tvoHideSelection'#21'tvoKeepCollapsedNodes'#19'tvoRightClickS' +'ion'#21'tvoKeepCollapsedNodes'#19'tvoRightClickSelect'#14'tvoShowButtons'#12
+'elect'#14'tvoShowButtons'#12'tvoShowLines'#11'tvoShowRoot'#11'tvoToolTips'#0 +'tvoShowLines'#11'tvoShowRoot'#11'tvoToolTips'#0#6'Height'#3#239#0#3'Top'#2
+#6'Height'#3#239#0#3'Top'#2#25#5'Width'#3#229#0#0#0#0#10'TImageList'#9'Image' +#25#5'Width'#3#229#0#0#0#0#10'TPopupMenu'#12'PkgPopupMenu'#7'OnPopup'#7#17'P'
+'List'#6'Height'#2#17#5'Width'#2#17#4'left'#2' '#3'top'#2#8#0#0#10'TPopupMen' +'kgPopupMenuPopup'#4'left'#2' '#3'top'#2'('#0#9'TMenuItem'#17'UninstallMenuI'
+'u'#12'PkgPopupMenu'#7'OnPopup'#7#17'PkgPopupMenuPopup'#4'left'#2' '#3'top'#2 +'tem'#7'Caption'#6#9'New Item1'#7'OnClick'#7#22'UninstallMenuItemClick'#0#0#0
+'('#0#9'TMenuItem'#17'UninstallMenuItem'#7'Caption'#6#9'New Item1'#7'OnClick' +#0
+#7#22'UninstallMenuItemClick'#0#0#0#0
]); ]);

View File

@ -52,7 +52,6 @@ type
{ TPkgGraphExplorerDlg } { TPkgGraphExplorerDlg }
TPkgGraphExplorerDlg = class(TForm) TPkgGraphExplorerDlg = class(TForm)
ImageList: TImageList;
PkgTreeLabel: TLabel; PkgTreeLabel: TLabel;
PkgTreeView: TTreeView; PkgTreeView: TTreeView;
PkgListPanel: TPanel; PkgListPanel: TPanel;
@ -126,7 +125,7 @@ var
implementation implementation
uses Math; uses Math, IDEImagesIntf;
{ TPkgGraphExplorerDlg } { TPkgGraphExplorerDlg }
procedure TPkgGraphExplorerDlg.PkgGraphExplorerShow(Sender: TObject); procedure TPkgGraphExplorerDlg.PkgGraphExplorerShow(Sender: TObject);
@ -270,12 +269,13 @@ end;
procedure TPkgGraphExplorerDlg.SetupComponents; procedure TPkgGraphExplorerDlg.SetupComponents;
begin begin
ImgIndexPackage := ImageList.AddLazarusResource('pkg_package'); PkgTreeView.Images := IDEImages.Images_16;
ImgIndexInstalledPackage := ImageList.AddLazarusResource('pkg_package_install'); ImgIndexPackage := IDEImages.LoadImage(16, 'pkg_package');
ImgIndexInstallPackage := ImageList.AddLazarusResource('pkg_package_autoinstall'); ImgIndexInstalledPackage := IDEImages.LoadImage(16, 'pkg_installed');
ImgIndexUninstallPackage := ImageList.AddLazarusResource('pkg_package_uninstall'); ImgIndexInstallPackage := IDEImages.LoadImage(16, 'pkg_package_autoinstall');
ImgIndexCirclePackage := ImageList.AddLazarusResource('pkg_package_circle'); ImgIndexUninstallPackage := IDEImages.LoadImage(16, 'pkg_package_uninstall');
ImgIndexMissingPackage := ImageList.AddLazarusResource('pkg_conflict'); ImgIndexCirclePackage := IDEImages.LoadImage(16, 'pkg_package_circle');
ImgIndexMissingPackage := IDEImages.LoadImage(16, 'pkg_conflict');
PkgTreeLabel.Caption:=lisPckExplLoadedPackages; PkgTreeLabel.Caption:=lisPckExplLoadedPackages;
PkgListLabel.Caption:=lisPckExplIsRequiredBy; PkgListLabel.Caption:=lisPckExplIsRequiredBy;