bugfix new macros.

git-svn-id: svn://kolibrios.org@1661 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Alexey Teplov ( 2010-10-15 07:26:08 +00:00
parent 425d79e6aa
commit ca82f03c33

View File

@ -141,19 +141,19 @@ macro init_checkboxes start,end
mov ecx,((end-start)/ch_struc_size) mov ecx,((end-start)/ch_struc_size)
@@: @@:
push ebp ;óęŕçŕňĺëü íŕ ďĺđâűé checkbox push ebp ;óęŕçŕňĺëü íŕ ďĺđâűé checkbox
call [check_box_mouse] ;ìàêðîñ ïðîâåðêè ìûøêè íàä checkbox'îì call [init_checkbox] ;ìàêðîñ ïðîâåðêè ìûøêè íàä checkbox'îì
add ebp,ch_struc_size add ebp,ch_struc_size
loop @b loop @b
} }
;Ìàêðîñ îòðèñîâêè ãðóïïû checkboxes. ;Ìàêðîñ ïðîâåðêè ìûøêè ãðóïïû checkboxes.
macro checkboxes_draw start,end macro checkboxes_mouse start,end
{ {
mov ebp,start mov ebp,start
mov ecx,((end-start)/ch_struc_size) mov ecx,((end-start)/ch_struc_size)
@@: @@:
push ebp ;óęŕçŕňĺëü íŕ ďĺđâűé checkbox push ebp ;óęŕçŕňĺëü íŕ ďĺđâűé checkbox
call [check_box_draw] ;íàðèñîâàòü checkbox call [check_box_mouse] ;íàðèñîâàòü checkbox
add ebp,ch_struc_size add ebp,ch_struc_size
loop @b loop @b
} }