forked from KolibriOS/kolibrios
add new style 'ed_pass'
git-svn-id: svn://kolibrios.org@3089 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
be21989975
commit
f016b20ba3
@ -31,6 +31,7 @@ ed_struc_size=76
|
|||||||
ed_figure_only= 1000000000000000b ;®¤¨ ᨬ¢®«ë
|
ed_figure_only= 1000000000000000b ;®¤¨ ᨬ¢®«ë
|
||||||
ed_always_focus= 100000000000000b
|
ed_always_focus= 100000000000000b
|
||||||
ed_focus= 10b ;䮪ãá ¯à¨«®¦¥¨ï
|
ed_focus= 10b ;䮪ãá ¯à¨«®¦¥¨ï
|
||||||
|
ed_pass= 1b ;¯®«¥ á ¯ ஫¥¬
|
||||||
ed_shift_on= 1000b ;¥á«¨ ¥ ãáâ ®¢«¥ -§ ç¨â ¢¯¥à¢ë¥ ¦ â shift,¥á«¨ ¡ë« ãáâ ®¢«¥, § ç¨â ¬ë 㦥 çâ® - â® ¤¥« «¨ 㤥ন¢ ï shift
|
ed_shift_on= 1000b ;¥á«¨ ¥ ãáâ ®¢«¥ -§ ç¨â ¢¯¥à¢ë¥ ¦ â shift,¥á«¨ ¡ë« ãáâ ®¢«¥, § ç¨â ¬ë 㦥 çâ® - â® ¤¥« «¨ 㤥ন¢ ï shift
|
||||||
ed_shift_on_off=1111111111110111b
|
ed_shift_on_off=1111111111110111b
|
||||||
ed_shift= 100b ;¢ª«îç ¥âáï ¯à¨ ¦ ⨨ shift â.¥. ¥á«¨ ¦¨¬ î
|
ed_shift= 100b ;¢ª«îç ¥âáï ¯à¨ ¦ ⨨ shift â.¥. ¥á«¨ ¦¨¬ î
|
||||||
|
@ -181,8 +181,33 @@ edit_box.draw_text:
|
|||||||
mov ecx,ed_text_color
|
mov ecx,ed_text_color
|
||||||
add ebx,4
|
add ebx,4
|
||||||
add edx,ed_text
|
add edx,ed_text
|
||||||
|
test word ed_flags,ed_pass
|
||||||
|
jz @f
|
||||||
|
call edit_box.draw_password
|
||||||
|
jmp .end_f
|
||||||
|
@@:
|
||||||
mcall
|
mcall
|
||||||
|
.end_f:
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
txt_pass db '*',0
|
||||||
|
|
||||||
|
proc edit_box.draw_password
|
||||||
|
locals
|
||||||
|
s_len dw ? ;¤«¨ ¢ë¢®¤¨¬®£® ⥪áâ
|
||||||
|
endl
|
||||||
|
mov [s_len],si
|
||||||
|
xor esi,esi
|
||||||
|
inc esi
|
||||||
|
lea edx,[txt_pass]
|
||||||
|
@@:
|
||||||
|
mcall
|
||||||
|
add ebx,6 shl 16 ;¤®¡ ¢«ï¥¬ áâ ¤ àâãî è¨à¨ã ᨬ¢®«
|
||||||
|
dec word[s_len]
|
||||||
|
cmp word[s_len],0
|
||||||
|
jg @b
|
||||||
|
ret
|
||||||
|
endp
|
||||||
;----------------------------------------------------------
|
;----------------------------------------------------------
|
||||||
;--- ¯à®æ¥¤ãà ¯à®à¨á®¢ª¨ ä® ----------------------------
|
;--- ¯à®æ¥¤ãà ¯à®à¨á®¢ª¨ ä® ----------------------------
|
||||||
;¢å®¤ë¥ ¤ ë¥
|
;¢å®¤ë¥ ¤ ë¥
|
||||||
|
Loading…
Reference in New Issue
Block a user