Batch #10186 by ragnarok-clanker: forced by an admin (9 lower score(s), 41 changed function(s)); checked with 110 compiled unit(s), including every includer of Source/Client/Input/Language.h, Source/UI/Edit/EditTextState.h, Source/UI/Edit/EditViewport.h, Source/UI/Edit/UIEditCtrl.h.
23 lines
407 B
C++
23 lines
407 B
C++
#ifndef RAGNAROK_SOURCE_UI_EDIT_EDITTEXTSTATE_H
|
|
#define RAGNAROK_SOURCE_UI_EDIT_EDITTEXTSTATE_H
|
|
|
|
#include <string>
|
|
#include <windows.h>
|
|
|
|
struct CLanguageBase;
|
|
|
|
struct EditTextState {
|
|
std::string& text;
|
|
int& anchor;
|
|
int& cursor;
|
|
const int& maximum;
|
|
const bool& focused;
|
|
const UINT& codePage;
|
|
|
|
void SetText(const char* value);
|
|
void Trim();
|
|
void SelectAll();
|
|
int Length() const;
|
|
};
|
|
|
|
#endif
|