forked from KolibriOS/kolibrios
4.0.5 (Rus)
bug-fixes: - correct call save-dialog for saving new files or files from folder of tinypad new features: - added prompt to save file before closing - added close tab button git-svn-id: svn://kolibrios.org@595 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -160,7 +160,15 @@ osdlg_handler:
|
||||
push 20001 s_2cancel s_2cancel.size
|
||||
call define_3d_button
|
||||
|
||||
mov ebp,tb_opensave
|
||||
cmp [bot_dlg_mode2], 2 ; exit-save dialog
|
||||
jne @f
|
||||
|
||||
sub ebx,(6*(s_2save_no.size+2)+3)*65536
|
||||
mov bx,6*(s_2save_no.size+2)
|
||||
push 20007 s_2save_no s_2save_no.size
|
||||
call define_3d_button
|
||||
|
||||
@@: mov ebp,tb_opensave
|
||||
mov eax,[p_info.client_box.width]
|
||||
sub eax,6*(s_2filename.size+1)+1
|
||||
add eax,6*(s_2filename.size+1)*65536
|
||||
@@ -604,6 +612,15 @@ botdlg.button:
|
||||
call drawwindow
|
||||
ret
|
||||
|
||||
btn.bot.no:
|
||||
call key.ctrl_f4.close
|
||||
xor eax,eax
|
||||
mov [bot_mode],al
|
||||
mov [bot_dlg_height],eax
|
||||
mov [s_status],eax
|
||||
call drawwindow
|
||||
ret
|
||||
|
||||
btn.bot.find:
|
||||
movzx ecx,[tb_find.length]
|
||||
mov [s_search.size],ecx
|
||||
|
Reference in New Issue
Block a user