Rev 826 | Rev 1624 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 826 | Rev 987 | ||
---|---|---|---|
Line 348... | Line 348... | ||
348 | mov [cur_colors+eax*4],ebx |
348 | mov [cur_colors+eax*4],ebx |
349 | mov [cur_color],ebx |
349 | mov [cur_color],ebx |
350 | jmp .draw_color.2 |
350 | jmp .draw_color.2 |
Line 351... | Line 351... | ||
351 | 351 | ||
352 | .draw_editor: |
352 | .draw_editor: |
- | 353 | ;push dword[options] [tab_bar.Current.Ptr] |
|
353 | push dword[options] [tab_bar.Current.Ptr] |
354 | push [tab_bar.Current.Ptr] |
354 | mov [options],0 |
355 | ;mov [options],0 |
355 | mov ebp,optsdlg_editor |
356 | mov ebp,optsdlg_editor |
Line 356... | Line 357... | ||
356 | call set_cur_tab |
357 | call set_cur_tab |
357 | 358 | ||
Line 364... | Line 365... | ||
364 | add eax,122 |
365 | add eax,122 |
365 | mov [cur_editor.Bounds.Bottom],eax |
366 | mov [cur_editor.Bounds.Bottom],eax |
366 | call draw_editor |
367 | call draw_editor |
367 | call .xchg_colors |
368 | call .xchg_colors |
Line -... | Line 369... | ||
- | 369 | ||
368 | 370 | ;pop ebp eax |
|
369 | pop ebp eax |
371 | pop ebp |
370 | mov [options],al |
372 | ;mov [options],al |
371 | call set_cur_tab |
373 | call set_cur_tab |
Line 372... | Line 374... | ||
372 | ret |
374 | ret |
373 | 375 | ||
Line 381... | Line 383... | ||
381 | call draw_fillrect |
383 | call draw_fillrect |
382 | dec ebx |
384 | dec ebx |
383 | dec ecx |
385 | dec ecx |
384 | mcall 8,,,0x40000000+21001 |
386 | mcall 8,,,0x40000000+21001 |
385 | mov esi,[cl_3d_normal] |
387 | mov esi,[cl_3d_normal] |
386 | mov al,[tab_pos] |
388 | mov al,[tabs_pos] |
Line 387... | Line 389... | ||
387 | 389 | ||
388 | TPOSH = 6 |
390 | TPOSH = 6 |
Line 389... | Line 391... | ||
389 | TPOSW = 10 |
391 | TPOSW = 10 |
Line 685... | Line 687... | ||
685 | btn.bot.appearance: |
687 | btn.bot.appearance: |
686 | @@: xor eax,eax |
688 | @@: xor eax,eax |
687 | mov [bot_mode],al |
689 | mov [bot_mode],al |
688 | mov [bot_dlg_height],eax |
690 | mov [bot_dlg_height],eax |
689 | call optsdlg_handler.xchg_colors |
691 | call optsdlg_handler.xchg_colors |
690 | mov al,[tab_pos] |
692 | mov al,[tabs_pos] |
691 | mov [tab_bar.Style],al |
693 | mov [tab_bar.Style],al |
- | 694 | ||
- | 695 | stdcall save_settings |
|
692 | call drawwindow |
696 | call drawwindow |
693 | ret |
697 | ret |
Line 694... | Line 698... | ||
694 | 698 | ||
Line 695... | Line 699... | ||
695 | tabpos_round db 4,3,1,2 |
699 | tabpos_round db 4,3,1,2 |
696 | 700 | ||
697 | btn.bot.tabpos: |
701 | btn.bot.tabpos: |
698 | movzx eax,[tab_pos] |
702 | movzx eax,[tabs_pos] |
699 | mov al,[tabpos_round+eax-1] |
703 | mov al,[tabpos_round+eax-1] |
700 | mov [tab_pos],al |
704 | mov [tabs_pos],al |