info3ds: better icons

git-svn-id: svn://kolibrios.org@6130 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2016-02-02 15:05:58 +00:00
parent 9364691375
commit 14963ad6d1
4 changed files with 30 additions and 30 deletions

View File

@@ -49,7 +49,7 @@ open_b rb 560
; ;
main_wnd_height equ 460 ;<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ணࠬ<E0AEA3><E0A0AC> main_wnd_height equ 460 ;<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ணࠬ<E0AEA3><E0A0AC>
fn_toolbar db 'toolbar.png',0 fn_toolbar db 'toolbar.png',0
IMAGE_TOOLBAR_ICON_SIZE equ 16*16*3 IMAGE_TOOLBAR_ICON_SIZE equ 21*21*3
IMAGE_TOOLBAR_SIZE equ IMAGE_TOOLBAR_ICON_SIZE*12+54 IMAGE_TOOLBAR_SIZE equ IMAGE_TOOLBAR_ICON_SIZE*12+54
image_data_toolbar dd 0 image_data_toolbar dd 0
; ;
@@ -457,36 +457,36 @@ pushad
mov word[buf_0.l],ax mov word[buf_0.l],ax
mov esi,[sc.work_button] mov esi,[sc.work_button]
mcall SF_DEFINE_BUTTON,(5 shl 16)+20,(5 shl 16)+20,3 mcall SF_DEFINE_BUTTON,(5 shl 16)+20,(5 shl 16)+20,0x40000003
mcall ,(30 shl 16)+20,,4 mcall ,(30 shl 16)+20,,0x40000004
cmp byte[can_save],0 cmp byte[can_save],0
je @f je @f
mcall ,(55 shl 16)+20,,5 mcall ,(55 shl 16)+20,,0x40000005
@@: @@:
mcall ,(85 shl 16)+20,,6 ;<3B><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><E0A4A8><EFBFBD> mcall ,(85 shl 16)+20,,0x40000006 ;<3B><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><E0A4A8><EFBFBD>
mcall ,(110 shl 16)+20,,7 ;㤠<><E3A4A0><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> mcall ,(110 shl 16)+20,,0x40000007 ;㤠<><E3A4A0><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
mcall SF_PUT_IMAGE,[image_data_toolbar],(16 shl 16)+16,(7 shl 16)+7 ;new mcall SF_PUT_IMAGE,[image_data_toolbar],(21 shl 16)+21,(5 shl 16)+5 ;new
add ebx,IMAGE_TOOLBAR_ICON_SIZE add ebx,IMAGE_TOOLBAR_ICON_SIZE
mov edx,(32 shl 16)+7 ;open mov edx,(30 shl 16)+5 ;open
int 0x40 int 0x40
cmp byte[can_save],0 cmp byte[can_save],0
je @f je @f
add ebx,IMAGE_TOOLBAR_ICON_SIZE add ebx,IMAGE_TOOLBAR_ICON_SIZE
mov edx,(57 shl 16)+7 ;save mov edx,(55 shl 16)+5 ;save
int 0x40 int 0x40
sub ebx,IMAGE_TOOLBAR_ICON_SIZE sub ebx,IMAGE_TOOLBAR_ICON_SIZE
@@: @@:
add ebx,4*IMAGE_TOOLBAR_ICON_SIZE add ebx,4*IMAGE_TOOLBAR_ICON_SIZE
mov edx,(87 shl 16)+7 mov edx,(85 shl 16)+5
int 0x40 int 0x40
add ebx,IMAGE_TOOLBAR_ICON_SIZE add ebx,IMAGE_TOOLBAR_ICON_SIZE
mov edx,(112 shl 16)+7 mov edx,(110 shl 16)+5
int 0x40 int 0x40
mov dword[w_scr_t1.all_redraw],1 mov dword[w_scr_t1.all_redraw],1

View File

@@ -54,7 +54,7 @@ open_b rb 560
; ;
main_wnd_height equ 460 ;<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ணࠬ<E0AEA3><E0A0AC> main_wnd_height equ 460 ;<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ணࠬ<E0AEA3><E0A0AC>
fn_toolbar db 'toolbar.png',0 fn_toolbar db 'toolbar.png',0
IMAGE_TOOLBAR_ICON_SIZE equ 16*16*3 IMAGE_TOOLBAR_ICON_SIZE equ 21*21*3
IMAGE_TOOLBAR_SIZE equ IMAGE_TOOLBAR_ICON_SIZE*12+54 IMAGE_TOOLBAR_SIZE equ IMAGE_TOOLBAR_ICON_SIZE*12+54
image_data_toolbar dd 0 image_data_toolbar dd 0
; ;
@@ -491,27 +491,27 @@ pushad
stdcall [kmainmenu_draw], [main_menu] stdcall [kmainmenu_draw], [main_menu]
mov esi,[sc.work_button] mov esi,[sc.work_button]
mcall SF_DEFINE_BUTTON,(5 shl 16)+20,(24 shl 16)+20,3 mcall SF_DEFINE_BUTTON,(5 shl 16)+20,(24 shl 16)+20,0x40000003
mcall ,(30 shl 16)+20,,4 ;open mcall ,(30 shl 16)+20,,0x40000004 ;open
mcall ,(3d_wnd_l shl 16)+20,,5 ;<3B><><EFBFBD><EFBFBD> <20><><EFBFBD>./<2F>몫. mcall ,(3d_wnd_l shl 16)+20,,0x40000005 ;<3B><><EFBFBD><EFBFBD> <20><><EFBFBD>./<2F>몫.
mcall ,((3d_wnd_l+25) shl 16)+20,,6 ;<3B><EFBFBD> <20><><EFBFBD>./<2F>몫. mcall ,((3d_wnd_l+25) shl 16)+20,,0x40000006 ;<3B><EFBFBD> <20><><EFBFBD>./<2F>몫.
mcall ,((3d_wnd_l+50) shl 16)+20,,7 ;<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><EFBFBD><E0A0AD> <20><><EFBFBD>./<2F>몫. mcall ,((3d_wnd_l+50) shl 16)+20,,0x40000007 ;<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><EFBFBD><E0A0AD> <20><><EFBFBD>./<2F>몫.
mcall ,((3d_wnd_l+75) shl 16)+20,,8 ;ᢥ<> <20><><EFBFBD>./<2F>몫. mcall ,((3d_wnd_l+75) shl 16)+20,,0x40000008 ;ᢥ<> <20><><EFBFBD>./<2F>몫.
mcall ,((3d_wnd_l+100) shl 16)+20,,9 ;<3B><><EFBFBD><EFBFBD><EFBFBD> mcall ,((3d_wnd_l+100) shl 16)+20,,0x40000009 ;<3B><><EFBFBD><EFBFBD><EFBFBD>
mcall SF_PUT_IMAGE,[image_data_toolbar],(16 shl 16)+16,(7 shl 16)+26 ;new mcall SF_PUT_IMAGE,[image_data_toolbar],(21 shl 16)+21,(5 shl 16)+24 ;new
add ebx,IMAGE_TOOLBAR_ICON_SIZE add ebx,IMAGE_TOOLBAR_ICON_SIZE
mcall ,,,(32 shl 16)+26 ;open mcall ,,,(30 shl 16)+24 ;open
add ebx,IMAGE_TOOLBAR_ICON_SIZE*6 add ebx,IMAGE_TOOLBAR_ICON_SIZE*6
mcall ,,,((3d_wnd_l+2) shl 16)+26 ;<3B><><EFBFBD><EFBFBD> <20><><EFBFBD>./<2F>몫. mcall ,,,((3d_wnd_l) shl 16)+24 ;<3B><><EFBFBD><EFBFBD> <20><><EFBFBD>./<2F>몫.
add ebx,IMAGE_TOOLBAR_ICON_SIZE add ebx,IMAGE_TOOLBAR_ICON_SIZE
mcall ,,,((3d_wnd_l+27) shl 16)+26 ;<3B><EFBFBD> <20><><EFBFBD>./<2F>몫. mcall ,,,((3d_wnd_l+25) shl 16)+24 ;<3B><EFBFBD> <20><><EFBFBD>./<2F>몫.
add ebx,IMAGE_TOOLBAR_ICON_SIZE add ebx,IMAGE_TOOLBAR_ICON_SIZE
mcall ,,,((3d_wnd_l+52) shl 16)+26 ;<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><EFBFBD><E0A0AD> <20><><EFBFBD>./<2F>몫. mcall ,,,((3d_wnd_l+50) shl 16)+24 ;<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><EFBFBD><E0A0AD> <20><><EFBFBD>./<2F>몫.
add ebx,IMAGE_TOOLBAR_ICON_SIZE add ebx,IMAGE_TOOLBAR_ICON_SIZE
mcall ,,,((3d_wnd_l+77) shl 16)+26 ;ᢥ<> <20><><EFBFBD>./<2F>몫. mcall ,,,((3d_wnd_l+75) shl 16)+24 ;ᢥ<> <20><><EFBFBD>./<2F>몫.
add ebx,IMAGE_TOOLBAR_ICON_SIZE add ebx,IMAGE_TOOLBAR_ICON_SIZE
mcall ,,,((3d_wnd_l+102) shl 16)+26 ;<3B><><EFBFBD><EFBFBD><EFBFBD> mcall ,,,((3d_wnd_l+100) shl 16)+24 ;<3B><><EFBFBD><EFBFBD><EFBFBD>
mov dword[w_scr_t1.all_redraw],1 mov dword[w_scr_t1.all_redraw],1
stdcall [tl_draw], tree1 stdcall [tl_draw], tree1

View File

@@ -213,15 +213,15 @@ pushad
int 0x40 int 0x40
mov esi,[sc.work_button] mov esi,[sc.work_button]
mcall SF_DEFINE_BUTTON, (5 shl 16)+20, (266 shl 16)+20, 3 mcall SF_DEFINE_BUTTON, (5 shl 16)+20, (266 shl 16)+20, 0x40000003
mcall , (30 shl 16)+20, (266 shl 16)+20, 4 mcall , (30 shl 16)+20, (266 shl 16)+20, 0x40000004
mov ebx,[image_data_toolbar] mov ebx,[image_data_toolbar]
add ebx,3*IMAGE_TOOLBAR_ICON_SIZE add ebx,3*IMAGE_TOOLBAR_ICON_SIZE
mcall SF_PUT_IMAGE, , (16 shl 16)+16, (7 shl 16)+268 ;load mcall SF_PUT_IMAGE, , (21 shl 16)+21, (5 shl 16)+266 ;load
sub ebx,IMAGE_TOOLBAR_ICON_SIZE sub ebx,IMAGE_TOOLBAR_ICON_SIZE
mov edx,(32 shl 16)+268 ;save mov edx,(30 shl 16)+266 ;save
int 0x40 int 0x40
mov dword[w_scr_t3.all_redraw],1 mov dword[w_scr_t3.all_redraw],1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB