Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6363 → Rev 6364

/programs/media/animage/trunk/animage.asm
116,7 → 116,7
 
call drawwin
;---------------------------------------------------------
;---------Check loading of file from parameters-----------
;---------check loading of file from parameters-----------
;---------------------------------------------------------
mov eax,file_path
cmp [eax],byte 0
139,14 → 139,18
;OpenDialog initialisation
stdcall [OpenDialog_Init], OpenDialog_data
;---------------------------------------------------------------------
mov [Current_instrument],10 ;pencil
call TakeButtonInstruments ;set startup instrument
 
align 4
red:
call drawwin
;----------------------------------------------------------
;---------------------MAIN LOOP----------------------------
;---------------------main loop----------------------------
;----------------------------------------------------------
align 4
still:
call event
mcall SF_WAIT_EVENT
 
cmp eax,1
je red
201,7 → 205,7
include 'spray.inc'
include 'width_lines.inc'
;----------------------------------------------------------
;-------------------ICON"S picture-------------------------
;-------------------icon's picture-------------------------
;----------------------------------------------------------
align 4
panel_picture:
225,6 → 229,7
zoom_cursor:
file 'zoom.cur'
;----------------------------------------------------------
align 4
IM_END:
;-----------------------------------------------------------
;------------variables and data of program------------------
241,13 → 246,12
PointerToSpriteBufer rd 1
PointerToPalette rd 1 ;㪠§ â¥«ì ­  ¯¨«¨âàã (­ã¦¥­ ¤«ï á®åà ­¥­¨ï ¢ *.bmp)
Color rd 1
SColor rd 1
Number_Brush rd 1
Brush_SizeX rd 1
Brush_SizeY rd 1
Current_instrument rd 1
Last_instrument rd 1
Activate_instrument rb 1
SColor rd 1
OldX rd 1
OldY rd 1
 
279,7 → 283,6
Icon_Y rd 1
counter rd 1
counter2 rd 1
Panel_flag rb 1
menu_counter rd 1
counter_11 rd 1
number_panel rd 1
299,24 → 302,19
Scroll2SizeY rd 1
Scroll2FreeY rd 1
 
;extended_memory rd 1
type rw 1
x rd 1
y rd 1
save_flag rb 1
exit_from_work_arrea rb 1
 
Radius rd 1
Dx_ rd 1
Dy_ rd 1
line_width rd 1
lastik_is_active rb 1
a_ellips rd 1
b_ellips rd 1
instrument_used rb 1
used_OldX rd 1
 
used_OldX rd 1 ;for draw hard contour
used_OldY rd 1
rectangular_shade_x rd 1
rectangular_shade_x rd 1 ;ª®®à¤¨­ â  x ®¡« á⨠¤«ï ª®¯¨à®¢ ­¨ï
rectangular_shade_y rd 1
crossing_old_x rd 1
crossing_old_y rd 1
323,8 → 321,6
crossing rd 1
finishing_crossing rd 1
number_undo rd 1
DrawSprite_flag rb 1
Paste_flag rb 1
SpriteSizeX rd 1
SpriteSizeY rd 1
SpriteCoordinatX rd 1
331,13 → 327,20
SpriteCoordinatY rd 1
SpriteOldCoordinatX rd 1
SpriteOldCoordinatY rd 1
 
CursorsID rd 10
 
Activate_instrument rb 1
save_flag rb 1
exit_from_work_arrea rb 1
lastik_is_active rb 1
instrument_used rb 1
DrawSprite_flag rb 1
Paste_flag rb 1
;---------------------------------------------------------------------
IncludeUGlobals
;---------------------------------------------------------------------
align 4
CursorsID rd 10
;---------------------------------------------------------------------
align 4
file_path rb 4096
filename_area rb 256
temp_dir_pach rb 4096