Rev 7487 | Rev 7509 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7487 | Rev 7489 | ||
---|---|---|---|
Line 66... | Line 66... | ||
66 | ;;------------------------------------------------------------------------------------------------;; |
66 | ;;------------------------------------------------------------------------------------------------;; |
67 | ;< none ;; |
67 | ;< none ;; |
68 | ;;================================================================================================;; |
68 | ;;================================================================================================;; |
Line 69... | Line 69... | ||
69 | 69 | ||
70 | stdcall [ted_init], tedit0 |
- | |
71 | mov dword[tedit0.rec.width], 9 |
- | |
72 | mov dword[tedit0.rec.height], 16 |
- | |
73 | 70 | stdcall [ted_init], tedit0 |
|
Line 74... | Line 71... | ||
74 | stdcall dword[edit_box_set_text], edit_volume, root_dir |
71 | stdcall dword[edit_box_set_text], edit_volume, root_dir |
75 | 72 | ||
76 | ; initialize tree list elements |
73 | ; initialize tree list elements |
Line 162... | Line 159... | ||
162 | inc bx |
159 | inc bx |
163 | mcall 13, , ted_wnd_t |
160 | mcall 13, , ted_wnd_t |
164 | stdcall [ted_draw], tedit0 |
161 | stdcall [ted_draw], tedit0 |
Line 165... | Line 162... | ||
165 | 162 | ||
166 | ; draw "disconnect" button |
163 | ; draw "disconnect" button |
167 | mcall 8, <50,85>, <25,25>, 3, BT_COL |
164 | mcall 8, <50,95>, <25,25>, 3, BT_COL |
168 | ; string "disconnect" |
165 | ; string "disconnect" |
169 | mcall 4, <50+5,25+5>, 0xb0000000+STR_COL, str_disconnect |
166 | mcall 4, <50+5,25+5>, 0xb0000000+STR_COL, str_disconnect |
170 | ; draw "Copy" button |
167 | ; draw "Copy" button |
171 | mcall 8, <50,40>, <326,25>, 4, BT_COL |
168 | mcall 8, <50,40>, <326,25>, 4, BT_COL |
Line 979... | Line 976... | ||
979 | ; textedit elements |
976 | ; textedit elements |
980 | ;---------------------- |
977 | ;---------------------- |
981 | align 4 |
978 | align 4 |
982 | tedit0: |
979 | tedit0: |
983 | .wnd BOX 50,355,325,240 ;+ 0 195,5+40,325,240 |
980 | .wnd BOX 50,355,325,240 ;+ 0 195,5+40,325,240 |
984 | .rec BOX 30,13,7,10 ;+16 |
981 | .rec BOX 30,13,6,10 ;+16 |
985 | .drag_m db 0 ;+32 |
982 | .drag_m db 0 ;+32 |
986 | .drag_k db 0 ;+33 |
983 | .drag_k db 0 ;+33 |
987 | .sel rb 16 ;+34 |
984 | .sel rb 16 ;+34 |
988 | .seln rb 16 ;+50 |
985 | .seln rb 16 ;+50 |
989 | .tex dd 0 ;+66 text memory pointer |
986 | .tex dd 0 ;+66 text memory pointer |
Line 996... | Line 993... | ||
996 | .count_key_words dd 0 ;+94 |
993 | .count_key_words dd 0 ;+94 |
997 | .color_cursor dd SYS_COL ;+98 |
994 | .color_cursor dd SYS_COL ;+98 |
998 | .color_wnd_capt dd BT_COL ;+102 |
995 | .color_wnd_capt dd BT_COL ;+102 |
999 | .color_wnd_work dd 0xffffff ;+106 |
996 | .color_wnd_work dd 0xffffff ;+106 |
1000 | .color_wnd_bord dd 0x737373 ;+110 |
997 | .color_wnd_bord dd 0x737373 ;+110 |
1001 | .color_select dd 0x0000ff ;+114 |
998 | .color_select dd 0xA4C4E4 ;+114 |
1002 | .color_cur_text dd 0xffff00 ;+118 |
999 | .color_cur_text dd 0xffff00 ;+118 |
1003 | .color_wnd_text dd 0x000000 ;+122 |
1000 | .color_wnd_text dd 0x000000 ;+122 |
1004 | .syntax_file dd 0 ;+126 |
1001 | .syntax_file dd 0 ;+126 |
1005 | .syntax_file_size dd 500 ;+130 |
1002 | .syntax_file_size dd 500 ;+130 |
1006 | .text_colors dd 0 ;+134 |
1003 | .text_colors dd 0 ;+134 |