(svn r25692) -Add: Replacement of a part of the edit box text with a new string.

This commit is contained in:
michi_cc
2013-08-05 20:37:57 +00:00
parent e34fe220e2
commit 164aba8732
6 changed files with 61 additions and 40 deletions

View File

@@ -496,7 +496,7 @@ public:
bool SetFocusedWidget(int widget_index);
EventState HandleEditBoxKey(int wid, WChar key, uint16 keycode);
virtual void InsertTextString(int wid, const char *str, bool marked, const char *caret);
virtual void InsertTextString(int wid, const char *str, bool marked, const char *caret, const char *insert_location, const char *replacement_end);
void HandleButtonClick(byte widget);
int GetRowFromWidget(int clickpos, int widget, int padding, int line_height = -1) const;