forked from KolibriOS/kolibrios
@Panel
- added close context menu git-svn-id: svn://kolibrios.org@601 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
3be9554bed
commit
71e4e59cf3
@ -310,6 +310,11 @@ calendarmusic: db 0x85,0x37,0x85,0x48,0
|
||||
|
||||
|
||||
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, , ,11h ; Ctrl+Shift
|
||||
mcall 66,,88,110h ; Alt+Ctrl+F12
|
||||
@ -1128,6 +1133,10 @@ draw_window:
|
||||
mov esi, [wcolor]
|
||||
or esi, 0x01000000 ; unmovable window
|
||||
mov edi, [wcolor]
|
||||
|
||||
mov [panel_x_pos], ebx
|
||||
mov [panel_y_pos], ecx ; Ïîêà ÷òî òàê.
|
||||
|
||||
int 0x40
|
||||
|
||||
movzx ebx,word [screenxy+2]
|
||||
@ -1972,6 +1981,9 @@ no_bug:
|
||||
popad
|
||||
ret
|
||||
|
||||
include 'detect.asm'
|
||||
include 'ctx_menu.asm'
|
||||
|
||||
; DATA
|
||||
|
||||
stripe:
|
||||
@ -2109,4 +2121,12 @@ alt_tab_list_size dd ?
|
||||
process_info_buffer rb 1024
|
||||
tictable:
|
||||
rd 256
|
||||
|
||||
rb 256
|
||||
detect_stack:
|
||||
rb 256
|
||||
ctx_menu_stack:
|
||||
|
||||
panel_x_pos rd 1
|
||||
panel_y_pos rd 1
|
||||
image:
|
||||
|
@ -1,4 +1,3 @@
|
||||
@erase lang.inc
|
||||
@echo lang fix en >lang.inc
|
||||
@fasm @panel.asm @panel
|
||||
@erase lang.inc
|
||||
|
@ -1,4 +1,3 @@
|
||||
@erase lang.inc
|
||||
@echo lang fix et >lang.inc
|
||||
@fasm @panel.asm @panel
|
||||
@erase lang.inc
|
||||
|
@ -1,4 +1,3 @@
|
||||
@erase lang.inc
|
||||
@echo lang fix ru >lang.inc
|
||||
@fasm @panel.asm @panel
|
||||
@erase lang.inc
|
||||
|
Loading…
Reference in New Issue
Block a user