forked from KolibriOS/kolibrios
6f44ae55dd
fix scroll broken in 6352, fix keyboard function git-svn-id: svn://kolibrios.org@6357 a494cfbc-eb01-0410-851d-a64ba20cac60
29 lines
880 B
PHP
29 lines
880 B
PHP
;----------------------------------------------------------
|
|
;---------------------system events------------------------
|
|
;----------------------------------------------------------
|
|
align 4
|
|
event:
|
|
mcall SF_WAIT_EVENT
|
|
ret
|
|
|
|
;----------------------------------------------------------
|
|
;---------------------sound of events----------------------
|
|
;----------------------------------------------------------
|
|
align 4
|
|
sound:
|
|
mcall SF_SPEAKER_PLAY,55
|
|
ret
|
|
|
|
;----------------------------------------------------------
|
|
;---------------------user events--------------------------
|
|
;----------------------------------------------------------
|
|
|
|
;description:
|
|
; ¯¥à¥¬¥é¥¨¥ áªà®««¨£®¢ ¢ «¥¢ë© ¢¥à娩 㣮« (0,0)
|
|
align 4
|
|
scrollbar_move_00:
|
|
and [PosX],0
|
|
and [PosY],0
|
|
mov [Scroll1CoordinatX],ci_scrollh_coord_x_min
|
|
mov [Scroll2CoordinatY],ci_scrollv_coord_y_min
|
|
ret |