mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
ADD: Application icon under Linux
This commit is contained in:
parent
4ef4f692c3
commit
2f7fdad084
2 changed files with 106 additions and 2 deletions
|
|
@ -48,11 +48,12 @@ uses
|
|||
fEditorConf,
|
||||
uFindMmap,
|
||||
{$IFDEF UNIX}
|
||||
LResources, // for LazarusResources.Add
|
||||
fFileProperties,
|
||||
uUsersGroups,
|
||||
{$ENDIF}
|
||||
{$IFDEF MSWINDOWS}
|
||||
Windows,
|
||||
Windows, // for LoadIcon function
|
||||
{$ENDIF}
|
||||
fLinker,
|
||||
fCompareFiles,
|
||||
|
|
@ -68,10 +69,13 @@ uses
|
|||
|
||||
const
|
||||
buildDate = {$I %DATE%};
|
||||
Version = '0.3.5 alpha';
|
||||
Version = '0.4 alpha';
|
||||
begin
|
||||
{$IFDEF MSWINDOWS}
|
||||
Application.Icon.Handle:= LoadIcon(hInstance, 'DOUBLECMD');
|
||||
{$ELSE}
|
||||
{$I doublecmd.lrs}
|
||||
Application.Icon.LoadFromLazarusResource('DOUBLECMD');
|
||||
{$ENDIF}
|
||||
Application.Title:='Double Commander';
|
||||
Application.Initialize;
|
||||
|
|
|
|||
100
doublecmd.lrs
Normal file
100
doublecmd.lrs
Normal file
|
|
@ -0,0 +1,100 @@
|
|||
LazarusResources.Add('DOUBLECMD','ICO',[
|
||||
#0#0#1#0#1#0' '#0#0#0#0#0#0#168#12#0#0#22#0#0#0'('#0#0#0' '#0#0#0'@'#0#0#0#1
|
||||
+#0#24#0#0#0#0#0#128#12#0#0#18#11#0#0#18#11#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
||||
+#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
||||
+#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
||||
+#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
||||
+#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
||||
+#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
||||
+#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0'000000000000'
|
||||
+#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
||||
+#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
||||
+#0#0#0#0#0'000'#0#128#0#0#128#0'000'#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
||||
+#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
||||
+#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0'000'#0#128#0#255#128#0#0#128#0
|
||||
+'000000000000000000000'#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
||||
+#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0'000'#0#128
|
||||
+#0#255#128#0#0#128#0'000'#0#128#0#0#128#0#0#128#0#0#128#0#0#128#0'0000000000'
|
||||
+'00000000'#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
||||
+#0#0#0'000'#0#0#0#0#0#0'000'#0#128#0#255#128#0#255#128#0#0#128#0'000'#0#128#0
|
||||
+#255#128#0#255#128#0#255#128#0#255#128#0#0#128#0#0#128#0#0#128#0#0#128#0'000'
|
||||
+'000000'#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0'000000'
|
||||
+#0#0#0'000'#0#128#0#255#128#0#255#128#0#0#128#0'000'#0#128#0#255#128#0#255
|
||||
+#128#0#255#128#0#255#128#0#255#128#0#255#128#0#255#128#0#0#128#0'000000'#0#0
|
||||
+#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0'0000000'
|
||||
+'00'#0#128#0#255#128#0#255#128#0#255#128#0#0#128#0'000'#0#128#0#255#128#0#255
|
||||
+#128#0#255#128#0#255#128#0#255#128#0#0#128#0#0#128#0'000'#0#128#0#0#128#0'00'
|
||||
+'0'#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0'000'#0
|
||||
+#128#0'000'#0#128#0#255#128#0#255#128#0#255#128#0#0#128#0'000'#0#128#0#255
|
||||
+#128#0#255#128#0#255#128#0#0#128#0#0#128#0'000000'#0#128#0#255#128#0#255#128
|
||||
+#0#0#128#0'000'#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
||||
+'000'#0#128#0#0#128#0'000'#0#128#0#255#128#0#255#128#0#0#128#0'000'#0#128#0
|
||||
+#255#128#0#255#128#0#0#128#0'000000000'#0#128#0#255#128#0#255#128#0#255#128#0
|
||||
+#255#128#0#0#128#0'000'#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0'0000'
|
||||
+'00'#0#128#0#255#128#0#0#128#0'000'#0#128#0#255#128#0#0#128#0'000'#0#128#0
|
||||
+#255#128#0#0#128#0'000000'#0#128#0#0#128#0#255#128#0#255#128#0#255#128#0#255
|
||||
+#128#0#255#128#0#255#128#0#0#128#0'000'#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
||||
+#0#0'000'#0#128#0#255#128#0#255#128#0#255#128#0#0#128#0'000'#0#128#0#255#128
|
||||
+#0#0#128#0'000'#0#128#0'000'#0#128#0#0#128#0#255#128#0#255#128#0#0#128#0#0
|
||||
+#128#0#0#128#0#0#128#0#0#128#0#255#128#0#255#128#0#0#128#0'000'#0#0#0#0#0#0#0
|
||||
+#0#0#0#0#0#0#0#0#0#0#0'000'#0#128#0#255#128#0#255#128#0#255#128#0#0#128#0'00'
|
||||
+'0'#0#128#0#255#128#0#0#128#0'000'#0#128#0'000'#0#128#0#0#128#0#0#128#0#0#128
|
||||
+#0'000000000000000'#0#128#0#0#128#0#255#128#0#0#128#0'000'#0#0#0#0#0#0#0#0#0
|
||||
+#0#0#0#0#0#0'000'#0#128#0#255#128#0#255#128#0#255#128#0#255#128#0#0#128#0'00'
|
||||
+'0'#0#128#0#0#128#0'000'#0#128#0'000'#0#128#0'000000000'#0#128#0#0#128#0#0
|
||||
+#128#0#0#128#0#0#128#0'000000'#0#128#0#0#128#0'000'#0#0#0#0#0#0#0#0#0#0#0#0#0
|
||||
+#0#0'000'#0#128#0#255#128#0#255#128#0#255#128#0#255#128#0#0#128#0'000'#0#128
|
||||
+#0#0#128#0#0#128#0'000000000'#0#128#0#0#128#0#0#128#0#0#128#0#255#128#0#255
|
||||
+#128#0#255#128#0#255#128#0#0#128#0#0#128#0'000000000'#0#0#0#0#0#0#0#0#0'000'
|
||||
+#0#0#0'000'#0#128#0#255#128#0#255#128#0#255#128#0#255#128#0#255#128#0#0#128#0
|
||||
+'000000000000000000000000000'#0#128#0#255#128#0#255#128#0#255#128#0#255#128#0
|
||||
+#255#128#0#0#128#0'000'#0#0#0'000'#0#0#0#0#0#0#0#0#0'000000000'#0#128#0#0#128
|
||||
+#0#255#128#0#255#128#0#255#128#0#255#128#0#255#128#0#0#128#0#0#128#0#0#128#0
|
||||
+'000000000'#0#128#0#0#128#0#0#128#0'000'#0#128#0#255#128#0#255#128#0#255#128
|
||||
+#0#255#128#0#0#128#0'000'#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0'000'#0#128#0#0#128#0
|
||||
+'000000'#0#128#0#0#128#0#0#128#0#0#128#0#0#128#0'000000000'#0#128#0'000'#0
|
||||
+#128#0'000'#0#128#0#0#128#0'000000'#0#128#0#255#128#0#255#128#0#255#128#0#0
|
||||
+#128#0'000'#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0'000'#0#128#0#255#128#0#0#128#0#0
|
||||
+#128#0'000000000000000'#0#128#0#0#128#0#0#128#0#0#128#0'000'#0#128#0'000'#0
|
||||
+#128#0#255#128#0#0#128#0'000'#0#128#0#255#128#0#255#128#0#255#128#0#0#128#0
|
||||
+'000'#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0'000'#0#128#0#255#128#0#255#128#0#0
|
||||
+#128#0#0#128#0#0#128#0#0#128#0#0#128#0#255#128#0#255#128#0#0#128#0#0#128#0'0'
|
||||
+'00'#0#128#0'000'#0#128#0#255#128#0#0#128#0'000000'#0#128#0#255#128#0#0#128#0
|
||||
+'000000'#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0'000'#0#128#0#255#128#0#255
|
||||
+#128#0#255#128#0#255#128#0#255#128#0#255#128#0#0#128#0#0#128#0'000000'#0#128
|
||||
+#0#255#128#0#0#128#0'000'#0#128#0#255#128#0#0#128#0'000'#0#128#0#255#128#0#0
|
||||
,#128#0'000'#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0'000'#0#128
|
||||
+#0#255#128#0#255#128#0#255#128#0#255#128#0#0#128#0'000000000'#0#128#0#255#128
|
||||
+#0#255#128#0#0#128#0'000'#0#128#0#255#128#0#255#128#0#0#128#0'000'#0#128#0#0
|
||||
+#128#0'000'#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0'000'
|
||||
+#0#128#0#255#128#0#255#128#0#0#128#0'000000'#0#128#0#0#128#0#255#128#0#255
|
||||
+#128#0#255#128#0#0#128#0'000'#0#128#0#255#128#0#255#128#0#255#128#0#0#128#0
|
||||
+'000'#0#128#0'000'#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
||||
+#0#0#0#0'000'#0#128#0#0#128#0'000'#0#128#0#0#128#0#255#128#0#255#128#0#255
|
||||
+#128#0#255#128#0#255#128#0#0#128#0'000'#0#128#0#255#128#0#255#128#0#255#128#0
|
||||
+#0#128#0'000000000'#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
||||
+#0#0#0#0#0#0#0'000000'#0#128#0#255#128#0#255#128#0#255#128#0#255#128#0#255
|
||||
+#128#0#255#128#0#255#128#0#0#128#0'000'#0#128#0#255#128#0#255#128#0#0#128#0
|
||||
+'000'#0#0#0'000000'#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
||||
+#0'000000000'#0#128#0#0#128#0#0#128#0#0#128#0#0#128#0#255#128#0#255#128#0#255
|
||||
+#128#0#0#128#0'000'#0#128#0#255#128#0#255#128#0#0#128#0'000'#0#0#0#0#0#0'000'
|
||||
+#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0'000'
|
||||
+'000000000000000000'#0#128#0#0#128#0#0#128#0#0#128#0'000'#0#128#0#255#128#0#0
|
||||
+#128#0'000'#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
||||
+#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0'000000000000000'
|
||||
+'000'#0#128#0#255#128#0#0#128#0'000'#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
||||
+#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
||||
+#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0'000'#0#128#0#0#128#0'000'#0#0
|
||||
+#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
||||
+#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
||||
+#0#0#0'000000000000'#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
||||
+#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
||||
+#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
||||
+#0#0#0#0#0#0#0#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#240#255#255#255#225#255#255#255#192#7#255#255#128#0
|
||||
+''#251#0#0'?'#242#0#0#255#240#0#0''#240#0#0'?'#240#0#0#31#224#0#0#15#224#0
|
||||
+#0#7#224#0#0#3#224#0#0#3#224#0#0#3#160#0#0#11#128#0#0#15#128#0#0#15#128#0#0
|
||||
+#15#192#0#0#15#224#0#0#31#240#0#0#31#248#0#0#31#252#0#0#31#254#0#0#159#248#0
|
||||
+#1#191#252#0#3#255#255#224#7#255#255#255#15#255#255#254#31#255#255#255#255
|
||||
+#255
|
||||
]);
|
||||
Loading…
Add table
Add a link
Reference in a new issue