Animage 1.51: update toolbar icons, pencil cursor

TODO: fix zoom buttons position

git-svn-id: svn://kolibrios.org@6367 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2016-03-23 13:24:22 +00:00
parent e33b239aec
commit d74e4dd068
5 changed files with 16 additions and 6 deletions

View File

@ -1,10 +1,10 @@
;******************************************************* ;*******************************************************
;**************GRAPHICS EDITOR ANIMAGE ***************** ;**************GRAPHICS EDITOR ANIMAGE *****************
;******************************************************* ;*******************************************************
; version: 1.5 ; version: 1.51
; last update: 21.03.2016 ; last update: 23.03.2016
; changes: Use library 'kmenu.obj' ; changes: Use library 'kmenu.obj', update GUI
; autors: IgorA, Veliant ; autors: IgorA, Veliant, Leency
;-------------------------------------------------------- ;--------------------------------------------------------
; version: 1.4 ; version: 1.4
; last update: 12.03.2016 ; last update: 12.03.2016

View File

@ -64,13 +64,23 @@ no_znak2:
call put_main_menu call put_main_menu
;------------------------------------------------ ;------------------------------------------------
; draw toolbard background
mov ebx, ci_panel_x_pos
shl ebx, 16
add ebx, [Window_SizeX]
sub ebx, 9
mov ecx, ci_panel_y_pos
shl ecx, 16
add ecx, 51
mov edx, 0xD5CDCB
mcall 13
mov eax,ci_panel_x_pos mov eax,ci_panel_x_pos
mov ebx,ci_panel_y_pos mov ebx,ci_panel_y_pos
mov ecx,[Window_SizeX] mov ecx,[Window_SizeX]
mov edx,50 mov edx,50
mov esi,1 mov esi,1
sub ecx,5+ci_panel_x_pos+ci_offs_skin_w sub ecx,5+ci_panel_x_pos+ci_offs_skin_w
call draw_volume_rectangle ; tools panel
call draw_icons call draw_icons
call PrintMousePos call PrintMousePos
;------------------------------------------------ ;------------------------------------------------

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -1,7 +1,7 @@
;********************************************************** ;**********************************************************
;------------------TEXT DATA------------------------------- ;------------------TEXT DATA-------------------------------
;********************************************************** ;**********************************************************
name_of_program db 'ANIMAGE graphics editor v1.5',0 name_of_program db 'ANIMAGE graphics editor v1.51',0
mouse_pos_x db 'X=' mouse_pos_x db 'X='
mouse_pos_y db 'Y=' mouse_pos_y db 'Y='
new_text1 db 'PICTURE SIZE X' new_text1 db 'PICTURE SIZE X'

Binary file not shown.

Before

Width:  |  Height:  |  Size: 766 B

After

Width:  |  Height:  |  Size: 766 B