Rev 2898 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2898 | Rev 3089 | ||
---|---|---|---|
Line 179... | Line 179... | ||
179 | shl ebx,16 |
179 | shl ebx,16 |
180 | add ebx,ed_top |
180 | add ebx,ed_top |
181 | mov ecx,ed_text_color |
181 | mov ecx,ed_text_color |
182 | add ebx,4 |
182 | add ebx,4 |
183 | add edx,ed_text |
183 | add edx,ed_text |
- | 184 | test word ed_flags,ed_pass |
|
- | 185 | jz @f |
|
- | 186 | call edit_box.draw_password |
|
- | 187 | jmp .end_f |
|
- | 188 | @@: |
|
184 | mcall |
189 | mcall |
- | 190 | .end_f: |
|
185 | ret |
191 | ret |
- | 192 | ||
- | 193 | txt_pass db '*',0 |
|
- | 194 | ||
- | 195 | proc edit_box.draw_password |
|
- | 196 | locals |
|
- | 197 | s_len dw ? ;¤«¨ ¢ë¢®¤¨¬®£® ⥪áâ |
|
- | 198 | endl |
|
- | 199 | mov [s_len],si |
|
- | 200 | xor esi,esi |
|
- | 201 | inc esi |
|
- | 202 | lea edx,[txt_pass] |
|
- | 203 | @@: |
|
- | 204 | mcall |
|
- | 205 | add ebx,6 shl 16 ;¤®¡ ¢«ï¥¬ áâ ¤ àâãî è¨à¨ã ᨬ¢®« |
|
- | 206 | dec word[s_len] |
|
- | 207 | cmp word[s_len],0 |
|
- | 208 | jg @b |
|
- | 209 | ret |
|
- | 210 | endp |
|
186 | ;---------------------------------------------------------- |
211 | ;---------------------------------------------------------- |
187 | ;--- ¯à®æ¥¤ãà ¯à®à¨á®¢ª¨ ä® ---------------------------- |
212 | ;--- ¯à®æ¥¤ãà ¯à®à¨á®¢ª¨ ä® ---------------------------- |
188 | ;¢å®¤ë¥ ¤ ë¥ |
213 | ;¢å®¤ë¥ ¤ ë¥ |
189 | ;eax |
214 | ;eax |
190 | ;edx - color |
215 | ;edx - color |