Rev 7806 | Rev 7970 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7806 | Rev 7904 | ||
---|---|---|---|
Line 131... | Line 131... | ||
131 | 131 | ||
132 | :void EditBox_UpdateText(dword ed, _flags) |
132 | :void EditBox_UpdateText(dword ed, _flags) |
133 | { |
133 | { |
134 | dword ed_text; |
134 | dword ed_text; |
135 | ESI = ed; |
135 | ESI = ed; |
136 | ESI.edit_box.offset = ESI.edit_box.shift = ESI.edit_box.shift_old = 0; |
136 | //ESI.edit_box.offset = ESI.edit_box.shift = ESI.edit_box.shift_old = 0; //no need because of 7904 |
137 | ESI.edit_box.flags = _flags; |
137 | ESI.edit_box.flags = _flags; |
- | 138 | ed_text = ESI.edit_box.text; |
|
138 | ed_text = ESI.edit_box.text; |
139 | //ESI.edit_box.pos = //no need because of 7904 |
139 | ESI.edit_box.pos = ESI.edit_box.size = strlen(ed_text); |
140 | ESI.edit_box.size = strlen(ed_text); |
Line 140... | Line 141... | ||
140 | } |
141 | } |
141 | 142 | ||
142 | struct scroll_bar |
143 | struct scroll_bar |