- added close context menu

git-svn-id: svn://kolibrios.org@601 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Rus 2007-08-02 19:03:24 +00:00
parent 3be9554bed
commit 71e4e59cf3
4 changed files with 456 additions and 439 deletions

View File

@ -310,6 +310,11 @@ calendarmusic: db 0x85,0x37,0x85,0x48,0
START: START:
mov eax, 51
mov ebx, 1
mov ecx, detect_start
mov edx, detect_stack
int 0x40
mcall 66,4,0,2 ; LShift+RShift mcall 66,4,0,2 ; LShift+RShift
mcall 66, , ,11h ; Ctrl+Shift mcall 66, , ,11h ; Ctrl+Shift
mcall 66,,88,110h ; Alt+Ctrl+F12 mcall 66,,88,110h ; Alt+Ctrl+F12
@ -1128,6 +1133,10 @@ draw_window:
mov esi, [wcolor] mov esi, [wcolor]
or esi, 0x01000000 ; unmovable window or esi, 0x01000000 ; unmovable window
mov edi, [wcolor] mov edi, [wcolor]
mov [panel_x_pos], ebx
mov [panel_y_pos], ecx ; Ïîêà ÷òî òàê.
int 0x40 int 0x40
movzx ebx,word [screenxy+2] movzx ebx,word [screenxy+2]
@ -1972,6 +1981,9 @@ no_bug:
popad popad
ret ret
include 'detect.asm'
include 'ctx_menu.asm'
; DATA ; DATA
stripe: stripe:
@ -2109,4 +2121,12 @@ alt_tab_list_size dd ?
process_info_buffer rb 1024 process_info_buffer rb 1024
tictable: tictable:
rd 256 rd 256
rb 256
detect_stack:
rb 256
ctx_menu_stack:
panel_x_pos rd 1
panel_y_pos rd 1
image: image:

View File

@ -1,4 +1,3 @@
@erase lang.inc
@echo lang fix en >lang.inc @echo lang fix en >lang.inc
@fasm @panel.asm @panel @fasm @panel.asm @panel
@erase lang.inc @erase lang.inc

View File

@ -1,4 +1,3 @@
@erase lang.inc
@echo lang fix et >lang.inc @echo lang fix et >lang.inc
@fasm @panel.asm @panel @fasm @panel.asm @panel
@erase lang.inc @erase lang.inc

View File

@ -1,4 +1,3 @@
@erase lang.inc
@echo lang fix ru >lang.inc @echo lang fix ru >lang.inc
@fasm @panel.asm @panel @fasm @panel.asm @panel
@erase lang.inc @erase lang.inc