forked from KolibriOS/kolibrios
iconstrp.png rename to icons32.png, update icons
git-svn-id: svn://kolibrios.org@5425 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
ccc793acf8
commit
96d20af14a
@ -29,7 +29,7 @@ img_files = {
|
|||||||
{"SETTINGS/AUTORUN.DAT", build_type .. "/settings/autorun.dat"},
|
{"SETTINGS/AUTORUN.DAT", build_type .. "/settings/autorun.dat"},
|
||||||
{"DEFAULT.SKN", build_type .. "/default.skn"},
|
{"DEFAULT.SKN", build_type .. "/default.skn"},
|
||||||
{"SETTINGS/ICON.INI", build_type .. "/settings/icon.ini"},
|
{"SETTINGS/ICON.INI", build_type .. "/settings/icon.ini"},
|
||||||
{"ICONSTRP.PNG", "common/iconstrp.png"},
|
{"ICONS32.PNG", "common/icons32.png"},
|
||||||
{"INDEX.HTM", build_type .. "/index_htm"},
|
{"INDEX.HTM", build_type .. "/index_htm"},
|
||||||
{"KERPACK", "common/kerpack"},
|
{"KERPACK", "common/kerpack"},
|
||||||
{"SETTINGS/KEYMAP.KEY", build_type .. "/settings/keymap.key"},
|
{"SETTINGS/KEYMAP.KEY", build_type .. "/settings/keymap.key"},
|
||||||
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
@ -69,7 +69,7 @@ void main()
|
|||||||
if (load_dll2(libimg, #libimg_init,1)!=0) notify("Error: library doesn't exists - libimg");
|
if (load_dll2(libimg, #libimg_init,1)!=0) notify("Error: library doesn't exists - libimg");
|
||||||
if (load_dll2(libini, #lib_init,1)!=0) notify("Error: library doesn't exists - libini");
|
if (load_dll2(libini, #lib_init,1)!=0) notify("Error: library doesn't exists - libini");
|
||||||
|
|
||||||
Libimg_LoadImage(#skin, "/sys/iconstrp.png");
|
Libimg_LoadImage(#skin, "/sys/icons32.png");
|
||||||
Libimg_FillTransparent(skin.image, skin.w, skin.h, LIST_BACKGROUND_COLOR);
|
Libimg_FillTransparent(skin.image, skin.w, skin.h, LIST_BACKGROUND_COLOR);
|
||||||
|
|
||||||
if (param)
|
if (param)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
;-------------------------------------------------------------------------------
|
;-------------------------------------------------------------------------------
|
||||||
img_data:
|
img_data:
|
||||||
.file_name:
|
.file_name:
|
||||||
db "/sys/iconstrp.png", 0
|
db "/sys/icons32.png", 0
|
||||||
;-------------------------------------------------------------------------------
|
;-------------------------------------------------------------------------------
|
||||||
ini_data:
|
ini_data:
|
||||||
.file_name:
|
.file_name:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
ICON_STRIP equ '/rd/1/iconstrp.png'
|
ICON_STRIP equ '/rd/1/icons32.png'
|
||||||
ICON_INI equ '/rd/1/settings/icon.ini'
|
ICON_INI equ '/rd/1/settings/icon.ini'
|
||||||
ICON_SIZE equ 68 ;à §¬¥à ®¡« á⨠¤«ï ¨ª®ª¨ á ¤¯¨áìî
|
ICON_SIZE equ 68 ;à §¬¥à ®¡« á⨠¤«ï ¨ª®ª¨ á ¤¯¨áìî
|
||||||
IMG_SIZE equ 32 ;à §¬¥à ¨ª®®ª
|
IMG_SIZE equ 32 ;à §¬¥à ¨ª®®ª
|
||||||
@ -51,18 +51,18 @@ START: ; start of execution
|
|||||||
mov eax,[unpack_DeflateUnpack2]
|
mov eax,[unpack_DeflateUnpack2]
|
||||||
mov [deflate_unpack],eax
|
mov [deflate_unpack],eax
|
||||||
;---------------------------------------------------------------------
|
;---------------------------------------------------------------------
|
||||||
; get size of file ICONSTRP.PNG
|
; get size of file icons32.png
|
||||||
mcall 70,fiStdIco
|
mcall 70,fiStdIco
|
||||||
test eax,eax
|
test eax,eax
|
||||||
jnz ErrorStrp
|
jnz ErrorStrp
|
||||||
; get memory for ICONSTRP.PNG
|
; get memory for icons32.png
|
||||||
mov ecx,dword[bufStdIco+32]
|
mov ecx,dword[bufStdIco+32]
|
||||||
mov [fiStdIco.size],ecx
|
mov [fiStdIco.size],ecx
|
||||||
mov [img_size],ecx
|
mov [img_size],ecx
|
||||||
mcall 68,12
|
mcall 68,12
|
||||||
mov [fiStdIco.point],eax
|
mov [fiStdIco.point],eax
|
||||||
mov [image_file],eax
|
mov [image_file],eax
|
||||||
; load ICONSTRP.PNG
|
; load icons32.png
|
||||||
mov dword[fiStdIco],0
|
mov dword[fiStdIco],0
|
||||||
mcall 70,fiStdIco
|
mcall 70,fiStdIco
|
||||||
test eax,eax
|
test eax,eax
|
||||||
@ -197,7 +197,7 @@ ErrLoadLibs:
|
|||||||
;debug_newline
|
;debug_newline
|
||||||
jmp close
|
jmp close
|
||||||
ErrorStrp:
|
ErrorStrp:
|
||||||
;dps 'Žè¨¡ª ®âªàëâ¨ï iconstrp.png'
|
;dps 'Žè¨¡ª ®âªàëâ¨ï icons32.png'
|
||||||
;debug_newline
|
;debug_newline
|
||||||
close:
|
close:
|
||||||
mcall -1
|
mcall -1
|
||||||
|
Loading…
Reference in New Issue
Block a user