Rev 1371 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1371 | Rev 1372 | ||
---|---|---|---|
Line 54... | Line 54... | ||
54 | jne @f |
54 | jne @f |
55 | mcall -1 ;exit if not open box_lib.obj |
55 | mcall -1 ;exit if not open box_lib.obj |
56 | @@: |
56 | @@: |
57 | mcall 40,0x27 ;¬ ᪠á¨á⥬ëå ᮡë⨩ |
57 | mcall 40,0x27 ;¬ ᪠á¨á⥬ëå ᮡë⨩ |
Line -... | Line 58... | ||
- | 58 | ||
- | 59 | get_sys_colors 1,0 |
|
- | 60 | edit_boxes_set_sys_color edit1,editboxes_end,sc |
|
- | 61 | check_boxes_set_sys_color ch1_dbg,ch1_dbg+ch_struc_size,sc |
|
58 | 62 | ||
59 | mov edi, fileinfos |
63 | mov edi, fileinfos |
60 | mov ecx, (fileinfos_end-fileinfos)/4 |
64 | mov ecx, (fileinfos_end-fileinfos)/4 |
61 | or eax, -1 |
65 | or eax, -1 |
62 | rep stosd |
66 | rep stosd |
Line 186... | Line 190... | ||
186 | draw_window: |
190 | draw_window: |
187 | pusha |
191 | pusha |
Line 188... | Line 192... | ||
188 | 192 | ||
Line 189... | Line 193... | ||
189 | mcall 12,1 ; Start of draw |
193 | mcall 12,1 ; Start of draw |
Line 190... | Line 194... | ||
190 | 194 | ||
191 | get_sys_colors 1,0 |
195 | ;get_sys_colors 1,0 |
192 | 196 | ||
193 | xor eax,eax |
197 | xor eax,eax |
Line 390... | Line 394... | ||
390 | ;aVersion_ch db 'version_ch',0 |
394 | ;aVersion_ch db 'version_ch',0 |
Line 391... | Line 395... | ||
391 | 395 | ||
392 | edit1 edit_box 153, 56, 1, 0xffffff, 0xff, 0x80ff, 0, 0x8000, (outfile-infile-1), infile, mouse_dd, 0, 11,11 |
396 | edit1 edit_box 153, 56, 1, 0xffffff, 0xff, 0x80ff, 0, 0x8000, (outfile-infile-1), infile, mouse_dd, 0, 11,11 |
393 | edit2 edit_box 153, 56, 17, 0xffffff, 0xff, 0x80ff, 0, 0x8000,(path-outfile-1), outfile, mouse_dd, 0, 7,7 |
397 | edit2 edit_box 153, 56, 17, 0xffffff, 0xff, 0x80ff, 0, 0x8000,(path-outfile-1), outfile, mouse_dd, 0, 7,7 |
- | 398 | edit3 edit_box 153, 56, 33, 0xffffff, 0xff, 0x80ff, 0, 0x8000,(path_end-path-1), path, mouse_dd, 0, 6,6 |
|
394 | edit3 edit_box 153, 56, 33, 0xffffff, 0xff, 0x80ff, 0, 0x8000,(path_end-path-1), path, mouse_dd, 0, 6,6 |
399 | editboxes_end: |
395 | ;ch1_dbg check_box 5, 49, 6, 12, 0xffffff, 0x80ff, 0, s_dbgdescr,(s_dbgdescr_end-s_dbgdescr) |
- | |
396 | ch1_dbg: |
- | |
397 | .left: dw 5 |
- | |
398 | .top: dw 49 |
- | |
399 | .ch_text_margin: dd 6 |
- | |
400 | .ch_size: dd 12 |
- | |
401 | .color: dd 0xffffff |
- | |
402 | .border_color: dd 0x80ff |
- | |
403 | .text_color: dd 0 |
- | |
404 | .text: dd s_dbgdescr |
- | |
405 | .ch_text_length: dd (s_dbgdescr_end-s_dbgdescr) |
- | |
Line 406... | Line 400... | ||
406 | .flags: dd 0 |
400 | ch1_dbg check_box 5, 49, 6, 12, 0xffffff, 0x80ff, 0, s_dbgdescr,(s_dbgdescr_end-s_dbgdescr) |
Line 407... | Line 401... | ||
407 | 401 | ||
408 | mouse_dd dd 0 ;íóæíî äëÿ Shift-à â editbox |
402 | mouse_dd dd 0 ;íóæíî äëÿ Shift-à â editbox |