mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-24 17:59:38 +03:00
@icon: display icon number while editing, 4 icon lines
git-svn-id: svn://kolibrios.org@5439 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
e3dd106fd0
commit
6943ce01ec
@ -12,7 +12,7 @@ MIN_NO_MOVING equ 8 ;
|
||||
ICONSX equ 20
|
||||
ICONSY equ 80
|
||||
ICONS_DRAW_COUNTW equ 10 ;ª®«¨ç¥á⢮ ¨ª®®ª ¢ è¨à¨ã
|
||||
ICONS_DRAW_COUNTH equ 2 ;ª®«¨ç¥á⢮ ¨ª®®ª ¢ ¢ëá®âã
|
||||
ICONS_DRAW_COUNTH equ 4 ;ª®«¨ç¥á⢮ ¨ª®®ª ¢ ¢ëá®âã
|
||||
SPCW equ 3 ;¯à®¡¥« ¬¥¦¤ã ¨ª®ª ¬¨ ¯® £®à¨§®â «¨
|
||||
SPCH equ 3
|
||||
END_ICONS_AREAW equ ICONSX+(IMG_SIZE+SPCW)*ICONS_DRAW_COUNTW-SPCW
|
||||
@ -1173,8 +1173,8 @@ edtExePath edit_box 281-3-20-IMG_SIZE,70+20+IMG_SIZE,26,0FFFFFFh,06F9480h,0FFh,0
|
||||
DAreaPath,mouse_dd,0,0,0
|
||||
edtParams edit_box 295-20-IMG_SIZE,70+20+IMG_SIZE,46,0FFFFFFh,06F9480h,0FFh,0h,0,255,\
|
||||
DAreaParams,mouse_dd,0,0,0
|
||||
edtIcon edit_box 295-20-IMG_SIZE,70+20+IMG_SIZE,66,0FFFFFFh,06F9480h,0FFh,0h,0,255,\
|
||||
DAreaIcon,mouse_dd,0,0,0
|
||||
edtIcon edit_box 28,24,50,0FFFFFFh,0FFFFFFh,0FFh,0h,0,3,\
|
||||
DAreaIcon,0,0,0,0
|
||||
endEdits:
|
||||
;\
|
||||
|
||||
|
@ -195,6 +195,9 @@ DReDraw:
|
||||
|
||||
;edit_boxes_set_sys_color edtIcon,endEdits,sc
|
||||
edit_boxes_set_sys_color edtName,endEdits,sc
|
||||
|
||||
m2m [edtIcon.color],[sc.work]
|
||||
m2m [edtIcon.blur_border_color],[sc.work]
|
||||
|
||||
call DRedrawWin
|
||||
|
||||
@ -364,13 +367,13 @@ DMouse:
|
||||
mov dword[edtIcon.size],1
|
||||
jmp .RedrawNum
|
||||
.RedrawNum:
|
||||
|
||||
; stdcall [edit_box_draw],edtIcon
|
||||
|
||||
|
||||
; stdcall [edit_box_draw],edtIcon
|
||||
|
||||
|
||||
call DrawSelIcon
|
||||
jmp DReDraw;DMessages;
|
||||
; need to optimize redraw
|
||||
; call DrawSelIcon
|
||||
; jmp DMessages
|
||||
jmp DReDraw
|
||||
;-------------------------------------------------------------------------------
|
||||
DSetExePath:
|
||||
stdcall [OpenDialog_Start],OpenDialog_data
|
||||
@ -457,7 +460,7 @@ proc DRedrawWin
|
||||
stdcall [edit_box_draw],edtName
|
||||
stdcall [edit_box_draw],edtExePath
|
||||
stdcall [edit_box_draw],edtParams
|
||||
; stdcall [edit_box_draw],edtIcon
|
||||
stdcall [edit_box_draw],edtIcon
|
||||
|
||||
call DrawStdIcons
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user