rodecomp/Source/UI/Edit/EditTextState.h
ragnarok-clanker bcaf506c7d Maintenance: [forced, user-approved] CLanguage step 7 (follow-up to #10185): the remaining edit-input methods move onto the real obje
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.
2026-11-02 19:58:55 +00:00

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