forked from KolibriOS/kolibrios
@panel: fixes
git-svn-id: svn://kolibrios.org@2195 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
a5ef4a9625
commit
a9700f0e2f
@ -1988,27 +1988,20 @@ draw_info: ; draw cpu usage, time, date
|
||||
add ecx,[b_size_y]
|
||||
; dec ecx
|
||||
sub cx,5
|
||||
mov edx,2+0x20000000
|
||||
mov edx,0x40000002
|
||||
mov esi,[wcolor]
|
||||
int 0x40
|
||||
pusha
|
||||
mov eax,13
|
||||
add ebx,10*65536-16
|
||||
add ecx,5*65536-8
|
||||
mov edx,[wcolor]
|
||||
int 0x40
|
||||
popa
|
||||
and edx,0xffff
|
||||
add edx,[button_frames]
|
||||
int 0x40
|
||||
|
||||
mov eax,8
|
||||
mov eax,8 ;other tray buttons
|
||||
mov ebx,[maxx]
|
||||
sub ebx,77 ;80
|
||||
shl ebx,16
|
||||
add ebx,12
|
||||
mov ecx,5 shl 16+10
|
||||
mov edx,16+0x20000000 ;button 16
|
||||
add ebx,14
|
||||
mov ecx,4 shl 16+12
|
||||
mov edx,16+0x40000000+0x20000000 ;button 16
|
||||
mov esi,[wcolor]
|
||||
int 0x40
|
||||
sub ebx,17 shl 16
|
||||
|
@ -112,10 +112,7 @@ context_menu_start:
|
||||
|
||||
func draw_ctx_menu
|
||||
|
||||
mov eax, 12
|
||||
xor ebx, ebx ; mov ebx, 1
|
||||
inc ebx
|
||||
int 0x40
|
||||
mcall 12, 1
|
||||
|
||||
xor eax, eax ; mov eax, 0
|
||||
movzx ebx, [x_coord]
|
||||
@ -133,14 +130,17 @@ func draw_ctx_menu
|
||||
|
||||
mov eax, 8
|
||||
mov ebx, 0 * 65536 + 133
|
||||
mov ecx, 22 * 65536 + 16
|
||||
mov ecx, 22 * 65536 + 17
|
||||
mov edx, 0x40000001
|
||||
int 0x40
|
||||
|
||||
mov eax, 8
|
||||
mov ebx, 0 * 65536 + 133
|
||||
mov ecx, 40 * 65536 + 18
|
||||
mov edx, 0x40000002
|
||||
;mov eax, 8
|
||||
;mov ebx, 0 * 65536 + 133
|
||||
;mov ecx, 40 * 65536 + 17
|
||||
;mov edx, 0x40000002
|
||||
;int 0x40
|
||||
mov ecx, 40 * 65536 + 17
|
||||
inc edx
|
||||
int 0x40
|
||||
|
||||
shr eax, 1 ; mov eax, 4
|
||||
@ -159,22 +159,20 @@ func draw_ctx_menu
|
||||
mov ebx, 4 * 65536 + 28
|
||||
mov ecx, 0x80000000
|
||||
mov edx, ctx_menu_text
|
||||
; // Alver 26.08.2007 // {
|
||||
|
||||
int 0x40
|
||||
add bx, 18
|
||||
mov edx, ctx_menu_text2
|
||||
; \begin{diamond}[20.09.2007]
|
||||
|
||||
test byte [procinfo_for_detect+70], 2
|
||||
jz @f
|
||||
mov edx, ctx_menu_text3
|
||||
@@:
|
||||
; \end{diamond}[20.09.2007]
|
||||
int 0x40
|
||||
; } \\ Alver \\
|
||||
mov eax, 12
|
||||
mov ebx, ebp ; mov ebx, 2
|
||||
|
||||
int 0x40
|
||||
|
||||
mcall 12, 2
|
||||
|
||||
ret
|
||||
|
||||
endf
|
||||
@ -185,17 +183,15 @@ n_slot rd 1
|
||||
lsz ctx_menu_text,\
|
||||
ru, <"X ‡ ªàëâì Alt + F4",0>,\
|
||||
en, <"X Close Alt + F4",0>,\
|
||||
et, <"X Sulge Alt + F4",0> ; Now correct
|
||||
; // Alver 26.08.2007 // {
|
||||
|
||||
lsz ctx_menu_text2,\
|
||||
ru, <25," ‘¢¥àãâì ",0>,\
|
||||
en, <25," Minimize ",0>,\
|
||||
; } \\ Alver \\
|
||||
; \begin{diamond}[20.09.2007]
|
||||
|
||||
lsz ctx_menu_text3,\
|
||||
ru, <24," ‚®ááâ ®¢¨âì ",0>,\
|
||||
en, <24," Restore ",0>
|
||||
; \end{diamond}[20.09.2007]
|
||||
|
||||
ctx_menu_PID rd 1
|
||||
|
||||
ctx_menu_title:
|
||||
|
Loading…
Reference in New Issue
Block a user