forked from KolibriOS/kolibrios
fasm: added to recalculate the width of the editbox when resizing the window
git-svn-id: svn://kolibrios.org@1363 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
892d2df51e
commit
f0f056cefe
@ -2,6 +2,36 @@
|
||||
Visit http://flatassembler.net/ for more information.
|
||||
|
||||
|
||||
version 1.69.11 (Dec 19, 2009)
|
||||
|
||||
[+] Allowed syntax of "pmovmskb" with 64-bit register destination in long mode.
|
||||
|
||||
[-] The code generated for "call eax" instruction was missing prefix in 16-bit
|
||||
mode - fixed.
|
||||
|
||||
|
||||
version 1.69.10 (Oct 28, 2009)
|
||||
|
||||
[-] Fixed long mode opcode generator to allow absolute addresses to be
|
||||
generated with "qword" keyword inside square brackets.
|
||||
|
||||
|
||||
version 1.69.09 (Oct 20, 2009)
|
||||
|
||||
[-] Fixed a crash during the symbolic information generation when a "static"
|
||||
symbol was encountered.
|
||||
|
||||
|
||||
version 1.69.08 (Oct 04, 2009)
|
||||
|
||||
[-] Minor bugfixes.
|
||||
|
||||
|
||||
version 1.69.07 (Oct 03, 2009)
|
||||
|
||||
[-] Corrected encoding of "extrq" intruction for some cases.
|
||||
|
||||
|
||||
version 1.69.06 (Sep 29, 2009)
|
||||
|
||||
[-] The prefix 67h for "jecxz" and "loopd" instructions in 64-bit mode wasn't
|
||||
|
@ -265,6 +265,16 @@ mov edx,0x4000000B
|
||||
call draw_checkbox
|
||||
call draw_messages
|
||||
|
||||
mov eax,dword[pinfo.box.width]
|
||||
cmp eax,250
|
||||
jge @f
|
||||
mov eax,250
|
||||
@@:
|
||||
sub eax,127
|
||||
mov dword[edit1.width],eax
|
||||
mov dword[edit2.width],eax
|
||||
mov dword[edit3.width],eax
|
||||
|
||||
push dword edit1
|
||||
call [edit_box_draw]
|
||||
push dword edit2
|
||||
@ -399,9 +409,9 @@ myimport:
|
||||
;aCheck_box_mouse db 'check_box_mouse',0
|
||||
;aVersion_ch db 'version_ch',0
|
||||
|
||||
edit1 edit_box 153, 56, 1, 0xe0ffff, 0xff, 0x80ff, 0, 0xa000, MAX_PATH+$, infile, mouse_dd, 0, 11,11
|
||||
edit2 edit_box 153, 56, 17, 0xe0ffff, 0xff, 0x80ff, 0, 0xa000, MAX_PATH+$, outfile, mouse_dd, 0, 7,7
|
||||
edit3 edit_box 153, 56, 33, 0xe0ffff, 0xff, 0x80ff, 0, 0xa000, MAX_PATH+$, path, mouse_dd, 0, 6,6
|
||||
edit1 edit_box 153, 56, 1, 0xffffff, 0xff, 0x80ff, 0, 0xa000, MAX_PATH+$, infile, mouse_dd, 0, 11,11
|
||||
edit2 edit_box 153, 56, 17, 0xffffff, 0xff, 0x80ff, 0, 0xa000, MAX_PATH+$, outfile, mouse_dd, 0, 7,7
|
||||
edit3 edit_box 153, 56, 33, 0xffffff, 0xff, 0x80ff, 0, 0xa000, MAX_PATH+$, path, mouse_dd, 0, 6,6
|
||||
|
||||
mouse_dd dd 0 ;íóæíî äëÿ Shift-à â editbox
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user