mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-01 07:13:59 +02:00
IDE: codeexplorer: using icons for category nodes
git-svn-id: trunk@13557 -
This commit is contained in:
parent
49f04ab86a
commit
36b392a837
@ -622,8 +622,12 @@ begin
|
||||
if ShowNode then begin
|
||||
if fCategoryNodes[Category]=nil then begin
|
||||
NodeData:=TViewNodeData.Create(CodeNode.Parent);
|
||||
NodeText:=CodeExplorerLocalizedString(Category);
|
||||
NodeImageIndex:=GetCodeNodeImage(ACodeTool,CodeNode.Parent);
|
||||
fCategoryNodes[Category]:=CodeTreeview.Items.AddChildObject(nil,
|
||||
CodeExplorerLocalizedString(Category),NodeData);
|
||||
NodeText,NodeData);
|
||||
fCategoryNodes[Category].ImageIndex:=NodeImageIndex;
|
||||
fCategoryNodes[Category].SelectedIndex:=NodeImageIndex;
|
||||
end;
|
||||
ParentViewNode:=fCategoryNodes[Category];
|
||||
InFrontViewNode:=nil;
|
||||
|
Loading…
Reference in New Issue
Block a user