Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 2194 → Rev 2195

/programs/system/panel/trunk/@PANEL.ASM
1988,27 → 1988,20
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
/programs/system/panel/trunk/ctx_menu.asm
112,10 → 112,7
 
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
 
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
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
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: