Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 304 → Rev 275

/programs/system/panel/trunk/@PANEL.ASM
54,14 → 54,13
jz page_list_next
cmp al, 72
jz page_list_prev
; this is hotkey Ctrl+Shift ;or LShift+RShift
; this is hotkey Ctrl+Shift or LShift+RShift
mov ebx, setup_exec
; test ah, 001100b
; jz change_sys_lang
change_key_lang:
mov dword [ebx+8], chlang
test ah, 001100b
jnz change_key_lang
mov dword [ebx+8], syslang
mcall 70
call chlang_music
call syslang_music
; mcall 5, 25
begin_1:
mov ecx,[active_process]
70,12 → 69,12
.ret:
ret
 
;change_sys_lang:
; mov dword [ebx+8], syslang
; mcall 70
; call syslang_music
;; mcall 5, 25
; jmp begin_1
change_key_lang:
mov dword [ebx+8], chlang
mcall 70
call chlang_music
; mcall 5, 25
jmp begin_1
 
start_end_application:
mov dword [ebx+21], end_name
130,9 → 129,9
button_music:
mcall 55,eax, , ,buttonmusic
ret
;syslang_music:
; mcall 55, eax, , , syslangmusic
; ret
syslang_music:
mcall 55, eax, , , syslangmusic
ret
chlang_music:
mcall 55, eax, , , chlangmusic
ret
142,7 → 141,7
 
chlangmusic: db 0x82,0x60,0x83,0x65,0x82,0x60,0
 
;syslangmusic: db 0x82,0x65,0x83,0x70,0x82,0x65,0
syslangmusic: db 0x82,0x65,0x83,0x70,0x82,0x65,0
 
menumusic: db 0x82,0x50,0x84,0x48,0x82,0x50,0x84,0x53,0x82,0x51,0
 
316,17 → 315,17
jmp still
 
noid16:
; cmp ah,17
; jne noid17
; mov ebx, setup_exec
; mov dword [ebx+8], syslang
; mov eax, 70
; int 0x40
; call syslang_music
; mcall 5, 25
; jmp still
;
; noid17:
cmp ah,17
jne noid17
mov ebx, setup_exec
mov dword [ebx+8], syslang
mov eax, 70
int 0x40
call syslang_music
mcall 5, 25
jmp still
 
noid17:
cmp ah,18
jne noid18
mov dword [ebx+21], sysmeter_name
1471,16 → 1470,15
int 0x40
 
 
; mov eax,26 ; check for change in time or country
; mov ebx,5
; int 0x40
; mov edx,eax
mov eax,26 ; check for change in time or country
mov ebx,5
int 0x40
mov edx,eax
mov eax,26
mov ebx,2
mov ecx,9
int 0x40
; add edx,eax
mov edx,eax
add edx,eax
mov eax,3
int 0x40
and eax,0xffff
1524,12 → 1522,12
int 0x40
sub ebx,17 shl 16
inc edx ;button 17
; int 0x40
int 0x40
add ebx,33 shl 16
mov bx,8
inc edx ;button 18
int 0x40
sub ebx,30 shl 16
sub ebx,47 shl 16
mov bx,10
inc edx ;button 19
int 0x40
1547,15 → 1545,15
 
; flags
 
; mov eax,26
; mov ebx,5
; int 0x40
; mov ebx,eax
;
; mov eax,1
; mov [type_lang],al
; call draw_flag
mov eax,26
mov ebx,5
int 0x40
mov ebx,eax
 
mov eax,1
mov [type_lang],al
call draw_flag
 
mov eax,26
mov ebx,2
mov ecx,9
1570,7 → 1568,7
mov [sound_flag],al
 
mov ebx,[maxx]
sub ebx,92 ;109 ;112 ;28
sub ebx,109 ;112 ;28
shl ebx,16
mov bx,12
mov ecx, 4*65536+13
1625,7 → 1623,7
dalshe:
 
mov ebx,[maxx]
sub ebx,106;123
sub ebx,123
shl ebx,16
mov bx,12
mov ecx, 4*65536+13
1639,7 → 1637,7
int 0x40
mov eax,4
mov ebx,[maxx]
sub ebx,104;121
sub ebx,121
shl ebx,16
mov bx,7
mov ecx,0x10000000
1652,7 → 1650,7
mov edx,0
mov eax,13
mov ebx,[maxx]
sub ebx,117;134
sub ebx,134
shl ebx,16
mov bx,9
mov ecx,6 shl 16+11
1670,7 → 1668,7
mov eax,4
mov edx,page_a1
mov ebx,[maxx]
sub ebx,133;150
sub ebx,150
shl ebx,16
mov bx,8
mov esi,4
1682,7 → 1680,7
mov ebx,0x10100
mov ecx,[page_list]
mov edx,[maxx]
sub edx,124;141
sub edx,141
shl edx,16
mov dx,7
mov esi,0xffffff
1934,7 → 1932,7
gpl db 'GPL'
 
chlang db 'LANG',0
;syslang db 'SLAN',0
syslang db 'SLAN',0
 
contrast db 0