virtualTreeview: Add high-dpi component palette icons for VirtualTreeView components (by Roland Hahn)

git-svn-id: trunk@59437 -
This commit is contained in:
wp 2018-11-03 13:25:44 +00:00
parent 93fbbb0db7
commit 679c209629
18 changed files with 29 additions and 52 deletions

15
.gitattributes vendored
View File

@ -5431,7 +5431,20 @@ components/virtualtreeview/VTHeaderPopup.pas svneol=native#text/pascal
components/virtualtreeview/VTIDEEditors.pas svneol=native#text/pascal
components/virtualtreeview/VirtualTrees.pas svneol=native#text/pascal
components/virtualtreeview/VirtualTrees.res -text
components/virtualtreeview/ideicons.lrs svneol=native#text/plain
components/virtualtreeview/ideicons.res -text
components/virtualtreeview/images/components/tvirtualdrawtree.png -text svneol=unset#image/png
components/virtualtreeview/images/components/tvirtualdrawtree_150.png -text svneol=unset#image/png
components/virtualtreeview/images/components/tvirtualdrawtree_200.png -text svneol=unset#image/png
components/virtualtreeview/images/components/tvirtualexplorertree.png -text svneol=unset#image/png
components/virtualtreeview/images/components/tvirtualexplorertree_150.png -text svneol=unset#image/png
components/virtualtreeview/images/components/tvirtualexplorertree_200.png -text svneol=unset#image/png
components/virtualtreeview/images/components/tvirtualstringtree.png -text svneol=unset#image/png
components/virtualtreeview/images/components/tvirtualstringtree_150.png -text svneol=unset#image/png
components/virtualtreeview/images/components/tvirtualstringtree_200.png -text svneol=unset#image/png
components/virtualtreeview/images/components/tvtheaderpopupmenu.png -text svneol=unset#image/png
components/virtualtreeview/images/components/tvtheaderpopupmenu_150.png -text svneol=unset#image/png
components/virtualtreeview/images/components/tvtheaderpopupmenu_200.png -text svneol=unset#image/png
components/virtualtreeview/images/ideicons_list.txt svneol=native#text/plain
components/virtualtreeview/images/make_res.bat svneol=native#text/plain
components/virtualtreeview/images/virtualtrees_list.txt svneol=native#text/plain
components/virtualtreeview/images/vt_check_dark.png -text svneol=unset#image/png

View File

@ -1,48 +0,0 @@
LazarusResources.Add('tvirtualdrawtree','XPM',[
'/* XPM */'#10'static char * tvirtualdrawtree_xpm[] = {'#10'"24 24 8 1",'#10
+'".'#9'c #000000",'#10'"+'#9'c None",'#10'"@'#9'c #808000",'#10'"#'#9'c #20A'
+'080",'#10'"$'#9'c #808080",'#10'"%'#9'c #C0A000",'#10'"&'#9'c #C0C0C0",'#10
+'"*'#9'c #FFFFFF",'#10'"++++++..++++++++++++++++",'#10'"+++++.&&............'
+'.+++",'#10'"++++.***&&&&&&&&&&$$@.++",'#10'"++++.************@$$$.++",'#10
+'"+++.************@$$$$.++",'#10'"++++...@********.$$$$.++",'#10'"+++++++...'
+'......$$$$@+++",'#10'"+++++++.$$$$$$$$***$.+++",'#10'"+++++++.*******%***&.'
+'+++",'#10'"+++++++.*.****%%%**$.+++",'#10'"+++++++.*...*%%%%%*.++++",'#10'"'
+'+++++++.*.**%%%%%%%.++++",'#10'"++++++.**.***####**.++++",'#10'"+++++.$**.*'
+'*######*.++++",'#10'"+++++.&**..*######*.++++",'#10'"+++++.******######*.++'
+'++",'#10'"+++++.*******####**&.+++",'#10'"+...+.***.....******.+++",'#10'"+'
+'.&&@....&&&&&.****$.+++",'#10'"+.&&&&&&&&&&&&&.**&.++++",'#10'"++.$&&&&&&&&'
+'&&&.&&&.++++",'#10'"++.$$$$$$$$$$$$$.&.+++++",'#10'"+++...............+++++'
+'+",'#10'"++++++++++++++++++++++++"};'#10
]);
LazarusResources.Add('tvirtualstringtree','XPM',[
'/* XPM */'#10'static char * tvirtualstringtree_xpm[] = {'#10'"24 24 8 1",'#10
+'".'#9'c #000000",'#10'"+'#9'c None",'#10'"@'#9'c #808000",'#10'"#'#9'c #20A'
+'080",'#10'"$'#9'c #808080",'#10'"%'#9'c #C0A000",'#10'"&'#9'c #C0C0C0",'#10
+'"*'#9'c #FFFFFF",'#10'"++++++..++++++++++++++++",'#10'"+++++.&&............'
+'.+++",'#10'"++++.***&&&&&&&&&&$$@.++",'#10'"++++.************@$$$.++",'#10
+'"+++.************@$$$$.++",'#10'"++++...@********.$$$$.++",'#10'"+++++++...'
+'......$$$$@+++",'#10'"+++++++.$$$$$$$$***$.+++",'#10'"+++++++.***********&.'
+'+++",'#10'"+++++++.*.**......*$.+++",'#10'"+++++++.*....%%%%.*.++++",'#10'"'
+'+++++++.*.**......*.++++",'#10'"++++++.**.*********.++++",'#10'"+++++.$**.*'
+'*......*.++++",'#10'"+++++.&**....####.*.++++",'#10'"+++++.******......*.++'
+'++",'#10'"+++++.*************&.+++",'#10'"+...+.***.....******.+++",'#10'"+'
+'.&&@....&&&&&.****$.+++",'#10'"+.&&&&&&&&&&&&&.**&.++++",'#10'"++.$&&&&&&&&'
+'&&&.&&&.++++",'#10'"++.$$$$$$$$$$$$$.&.+++++",'#10'"+++...............+++++'
+'+",'#10'"++++++++++++++++++++++++"};'#10
]);
LazarusResources.Add('tvtheaderpopupmenu','XPM',[
'/* XPM */'#10'static char * tvtheaderpopupmenu_xpm[] = {'#10'"24 24 7 1",'#10
+'".'#9'c #000000",'#10'"+'#9'c #000080",'#10'"@'#9'c None",'#10'"#'#9'c #808'
+'000",'#10'"$'#9'c #808080",'#10'"%'#9'c #C0C0C0",'#10'"&'#9'c #FFFFFF",'#10
+'"@@@@@@..@@@@@@@@@@@@@@@@",'#10'"@@@@@.%%.............@@@",'#10'"@@@@.&&&%%'
+'%%%%%%%%$$#.@@",'#10'"@@@@.&&&&&&&&&&&&#$$$.@@",'#10'"@@@.&&&&&&&&&&&&#$$$$'
+'.@@",'#10'"@@@@...#&&&&&&&&.$$$$.@@",'#10'"@@@@@@@.........$$$$#@@@",'#10'"'
+'@@@@@@@.$$$$$$$$&&&$.@@@",'#10'"@@@@@@@.$&&&&&&.&&&%.@@@",'#10'"@@@@@@@.$&+'
+'++&&.&&&$.@@@",'#10'"@@@@@@@.$&&&&&&.&&&.@@@@",'#10'"@@@@@@@.$&+++++.&&&.@@'
+'@@",'#10'"@@@@@@.&$+&&&+&+&&&.@@@@",'#10'"@@@@@.$&$&++++&&+&&.@@@@",'#10'"@'
+'@@@@.%&$&&&&+&&&+&.@@@@",'#10'"@@@@@.&&$....+&&&&+.@@@@",'#10'"@@@@@.&&&&&&'
+'&+&&&++++@@@",'#10'"@...@.&&&....+&&&&+&.@@@",'#10'"@.%%#....%%%%+&++&&+.@@'
+'@",'#10'"@.%%%%%%%%%%%++$+&&+@@@@",'#10'"@@.$%%%%%%%%%+%.%+&&+@@@",'#10'"@@'
+'.$$$$$$$$$$$$$.+&&+@@@",'#10'"@@@...............++@@@@",'#10'"@@@@@@@@@@@@@'
+'@@@@@@@@@@@"};'#10
]);

Binary file not shown.

Binary file not shown.

After

(image error) Size: 1.1 KiB

Binary file not shown.

After

(image error) Size: 1.8 KiB

Binary file not shown.

After

(image error) Size: 2.3 KiB

Binary file not shown.

After

(image error) Size: 1.0 KiB

Binary file not shown.

After

(image error) Size: 1.7 KiB

Binary file not shown.

After

(image error) Size: 2.1 KiB

Binary file not shown.

After

(image error) Size: 1.0 KiB

Binary file not shown.

After

(image error) Size: 1.6 KiB

Binary file not shown.

After

(image error) Size: 2.0 KiB

Binary file not shown.

After

(image error) Size: 1.1 KiB

Binary file not shown.

After

(image error) Size: 1.9 KiB

Binary file not shown.

After

(image error) Size: 2.4 KiB

View File

@ -0,0 +1,12 @@
components/tvirtualdrawtree.png
components/tvirtualdrawtree_150.png
components/tvirtualdrawtree_200.png
components/tvirtualexplorertree.png
components/tvirtualexplorertree_150.png
components/tvirtualexplorertree_200.png
components/tvirtualstringtree.png
components/tvirtualstringtree_150.png
components/tvirtualstringtree_200.png
components/tvtheaderpopupmenu.png
components/tvtheaderpopupmenu_150.png
components/tvtheaderpopupmenu_200.png

View File

@ -1 +1,2 @@
..\..\..\tools\lazres.exe ..\virtualtrees.res @virtualtrees_list.txt
..\..\..\tools\lazres.exe ..\ideicons.res @ideicons_list.txt

View File

@ -9,6 +9,8 @@ procedure Register;
implementation
{$R ideicons.res}
uses
Classes, SysUtils, LResources, LazarusPackageIntf,
VirtualTrees, VTHeaderPopup, VTIDEEditors, ComponentEditors;
@ -32,7 +34,4 @@ begin
RegisterUnit('VTHeaderPopup', @RegisterUnitVTHeaderPopup);
end;
initialization
{$i ideicons.lrs}
end.