T_Edit: update colors, remove menu, arange toolbar icons into single line

git-svn-id: svn://kolibrios.org@5637 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2015-07-31 23:33:12 +00:00
parent bbf365e371
commit 1be3158c2e
6 changed files with 16 additions and 19 deletions

View File

@ -1,14 +1,14 @@
count_colors_text dd (text-color_wnd_text)/4
count_key_words dd (f1-text)/48
color_cursor dd 0xf1fcd0
color_wnd_capt dd 0x0000a0
color_wnd_work dd 0x000000
color_wnd_capt dd 0x080808
color_wnd_work dd 0x1C1C1C
color_wnd_bord dd 0xc0c0c0
color_select dd 0x808080
color_select dd 0x3E3D32
color_cur_text dd 0x808080
color_wnd_text:
dd 0xF8F8F2
dd 0xffff00
dd 0xffffff
dd 0x00ff00
dd 0x00ffff
dd 0x808080

File diff suppressed because one or more lines are too long

View File

@ -4,13 +4,11 @@ draw_but_toolbar: ;
mov edi,tedit0
mov ecx,0x40000000
; mov edx,5*65536+25
mov edx,85*65536+2
mov edx,5*65536+25
call draw_but_icon
inc cx
; mov edx,30*65536+25
mov edx,110*65536+2
mov edx,30*65536+25
call draw_but_icon
stdcall [ted_can_save],edi
@ -19,8 +17,7 @@ je @f
and ecx,0xffff
@@:
inc cx
; mov edx,55*65536+25
mov edx,135*65536+2
mov edx,55*65536+25
call draw_but_icon
or ecx,0x40000000
@ -107,11 +104,11 @@ or ecx,0x40000000
call draw_but_icon
mov cx,18 ;cp 1251 -> 866
mov edx,425*65536+2
mov edx,480*65536+25
call draw_but_icon
mov cx,19 ;cp 866 -> 1251
mov edx,450*65536+2
mov edx,505*65536+25
call draw_but_icon
popad

View File

@ -272,7 +272,7 @@ draw_window:
int 0x40
stdcall [PathShow_draw], dword PathShow_data_1
stdcall [menu_bar_draw], dword menu_data_1
; stdcall [menu_bar_draw], dword menu_data_1
call draw_but_toolbar
@ -290,7 +290,7 @@ mouse:
stdcall [edit_box_mouse], dword edit2
@@:
cmp byte[tedit0.panel_id],TED_PANEL_SYNTAX ;if not panel
jne .menu_bar_1 ;@f
jne @f ;.menu_bar_1
stdcall [tl_mouse], tree1
;-----------------------------------------------
.menu_bar_1:

View File

@ -1,8 +1,8 @@
[Window]
t=10
l=10
w=485
h=370
t=20
l=200
w=570
h=490
symbol_w=7
symbol_h=11
scroll_type=0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB