Subversion Repositories Kolibri OS

Compare Revisions

No changes between revisions

Regard whitespace Rev 7583 → Rev 7582

/programs/other/t_edit/t_button.inc
232,10 → 232,6
je @f
inc eax
@@:
bt dword[ch1.flags],1
jc @f
bts eax,30
@@:
ret
 
align 4
/programs/other/t_edit/t_data.inc
@@ -162,10 +158,6 @@
@@ -459,12 +451,8 @@
@@ -538,8 +526,6 @@
@@ -614,8 +600,6 @@
/programs/other/t_edit/t_draw.inc
217,43 → 217,35
;txtBLe db 27
 
align 4
proc draw_panels uses eax edx edi, edit:dword
proc draw_panels uses edi, edit:dword
mov edi,[edit]
cmp ted_panel_id,TED_PANEL_FIND
jne @f
mcall SF_DEFINE_BUTTON,,,0x80000000+200
mcall ,,,0x80000000+202
mcall ,,,0x80000000+203
mcall ,,,0x80000000+204
call p_find
jmp .end_f
@@:
cmp ted_panel_id,TED_PANEL_REPLACE
jne @f
mcall SF_DEFINE_BUTTON,,,0x80000000+200
mcall ,,,0x80000000+201
mcall ,,,0x80000000+204
call p_replace
jmp .end_f
@@:
cmp ted_panel_id,TED_PANEL_GOTO
jne @f
mcall SF_DEFINE_BUTTON,,,0x80000000+200
mcall ,,,0x80000000+201
mcall ,,,0x80000000+202
mcall ,,,0x80000000+203
call p_goto
jmp .end_f
@@:
cmp ted_panel_id,TED_PANEL_SYNTAX
jne @f
mcall SF_DEFINE_BUTTON,,,0x80000000+201
call p_syntax
jmp .end_f
@@:
push eax edx
mcall SF_DEFINE_BUTTON,,,0x80000000+200
mcall ,,,0x80000000+201
mcall ,,,0x80000000+202
mcall ,,,0x80000000+203
mcall ,,,0x80000000+204
call p_syntax
;jmp .end_f
@@:
pop edx eax
.end_f:
ret
endp
279,7 → 271,7
 
mov ecx,ted_wnd_t
shl ecx,16
add ecx,(111 shl 16)+20
add ecx,(93 shl 16)+20
mcall SF_DEFINE_BUTTON,(5 shl 16)+85,,201,[sc.work_button] ;201 - button id
 
mov ebx,(23 shl 16)+7
290,12 → 282,11
 
mov ecx,[sc.work_button_text]
or ecx,0x80000000
mov ebx,(15 shl 16)+118
mov ebx,(15 shl 16)+100
add ebx,ted_wnd_t
mcall ,,,txtFindNext
 
stdcall [option_box_draw], opt_grlist1
stdcall [check_box_draw], ch1
pop edx ecx ebx eax
ret
 
/programs/other/t_edit/t_edit.asm
70,8 → 70,6
stdcall [ted_init], tedit0
stdcall [tl_data_init], tree1
option_boxes_set_sys_color sc,opt_grlist1
init_checkboxes2 check_boxes,check_boxes_end
check_boxes_set_sys_color2 check_boxes,check_boxes_end,sc
 
; OpenDialog initialisation
stdcall [OpenDialog_Init],OpenDialog_data
245,7 → 243,6
jne @f
stdcall [edit_box_mouse], edit_find
stdcall [option_box_mouse], opt_grlist1
stdcall [check_box_mouse], ch1
@@:
cmp byte[tedit0.panel_id],TED_PANEL_REPLACE
jne @f