mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-25 17:29:07 +02:00
virtualTreeview: Add high-dpi component palette icons for VirtualTreeView components (by Roland Hahn)
git-svn-id: trunk@59437 -
This commit is contained in:
parent
93fbbb0db7
commit
679c209629
.gitattributes
components/virtualtreeview
ideicons.lrsideicons.resregistervirtualtreeview.pas
images
components
tvirtualdrawtree.pngtvirtualdrawtree_150.pngtvirtualdrawtree_200.pngtvirtualexplorertree.pngtvirtualexplorertree_150.pngtvirtualexplorertree_200.pngtvirtualstringtree.pngtvirtualstringtree_150.pngtvirtualstringtree_200.pngtvtheaderpopupmenu.pngtvtheaderpopupmenu_150.pngtvtheaderpopupmenu_200.png
ideicons_list.txtmake_res.bat
15
.gitattributes
vendored
15
.gitattributes
vendored
@ -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
|
||||
|
@ -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
|
||||
]);
|
BIN
components/virtualtreeview/ideicons.res
Normal file
BIN
components/virtualtreeview/ideicons.res
Normal file
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 |
12
components/virtualtreeview/images/ideicons_list.txt
Normal file
12
components/virtualtreeview/images/ideicons_list.txt
Normal 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
|
@ -1 +1,2 @@
|
||||
..\..\..\tools\lazres.exe ..\virtualtrees.res @virtualtrees_list.txt
|
||||
..\..\..\tools\lazres.exe ..\ideicons.res @ideicons_list.txt
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user