84,10 → 84,12 |
.draw_bg_cursor_text: |
call .check_offset |
call .draw_bg |
test word ed_flags,ed_focus ; for unfocused controls => |
jz .draw_cursor_text ; do not draw selection(named shift) |
call .draw_shift |
.draw_cursor_text: |
call .draw_text |
test word ed_flags,ed_focus |
test word ed_flags,ed_focus ; and dosn`t draw cursor |
jz .editbox_exit |
call .draw_cursor |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
167,12 → 169,14 |
; restore ascii code |
rol eax,8 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
; £«ãèª ®¡à ¡®âªã ª« ¢¨è ¢¢¥àå ¨ ¢¨§ â.¥. ¯à¨ ®¡ à㦥¨¨ íâ¨å ª®¤®¢ ¯à®¨á室¨â ¢ë室 ¨§ ®¡à ¡®â稪 |
; £«ãèª ®¡à ¡®âªã ª« ¢¨è ¢¢¥àå ¨ ¢¨§ â.¥. ¯à¨ ®¡ à㦥¨¨ |
;íâ¨å ª®¤®¢ ¯à®¨á室¨â ¢ë室 ¨§ ®¡à ¡®â稪 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
use_key_no_process up,down,esc,enter,tab,numl,capsl,scrolll,pgup,pgdown |
;--- ¦ â ¤àã£ ï ª« ¢¨è --- |
;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
;஢¥àª ãáâ ®¢«¥ «¨ ä« £ ¯à¨ ª®â®à®¬ 㦮 ¢ë¢®¤¨âì ⮫쪮 æ¨äàë ¢ 㦮¬ ¡®ªá¥ |
;஢¥àª ãáâ ®¢«¥ «¨ ä« £ ¯à¨ ª®â®à®¬ 㦮 ¢ë¢®¤¨âì |
;⮫쪮 æ¨äàë ¢ 㦮¬ ¡®ªá¥ |
;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
test word ed_flags,ed_figure_only ; ⮫쪮 æ¨äàë? |
jz @f |
719,16 → 723,20 |
; ¯à®æ¥¤ãà ãáâ ®¢ª¨ 䮪ãá |
jmp edit_box_mouse.drc |
|
edit_box_mouse._remove_selection: |
and word ed_flags,ed_shift_cl |
jmp edit_box.draw_bg_cursor_text |
|
edit_box_mouse._blur: |
test word ed_flags,ed_always_focus |
jne edit_box.editbox_exit |
btr word ed_flags,1 ; ¥á«¨ ¥ ¢ 䮪ãá¥, ¢ë室¨¬ |
jnc edit_box.editbox_exit |
jne edit_box_mouse._remove_selection |
btr ed_flags, bsf ed_focus ;if focused then remove focus, otherwise exit |
jnc edit_box_mouse._remove_selection |
mov ebp,ed_color |
call edit_box.clear_cursor |
edit_box_mouse.drc: |
call edit_box.draw_border |
jmp edit_box.editbox_exit |
jmp edit_box_mouse._remove_selection |
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
;¡é¨¥ äãªæ¨¨ ®¡à ¡®âª¨ |