Path Tracing
Loading...
Searching...
No Matches
ImGuiInputTextState Struct Reference

#include <imgui_internal.h>

Collaboration diagram for ImGuiInputTextState:

Public Member Functions

 ImGuiInputTextState ()
 ~ImGuiInputTextState ()
void ClearText ()
void ClearFreeMemory ()
void OnKeyPressed (int key)
void OnCharPressed (unsigned int c)
float GetPreferredOffsetX () const
const char * GetText ()
void CursorAnimReset ()
void CursorClamp ()
bool HasSelection () const
void ClearSelection ()
int GetCursorPos () const
int GetSelectionStart () const
int GetSelectionEnd () const
void SetSelection (int start, int end)
void SelectAll ()
void ReloadUserBufAndSelectAll ()
void ReloadUserBufAndKeepSelection ()
void ReloadUserBufAndMoveToEnd ()

Public Attributes

ImGuiContext * Ctx
ImStbTexteditState * Stb
ImGuiInputTextFlags Flags
ImGuiID ID
int TextLen
const char * TextSrc
ImVector< char > TextA
ImVector< char > TextToRevertTo
ImVector< char > CallbackTextBackup
int BufCapacity
ImVec2 Scroll
int LineCount
float WrapWidth
float CursorAnim
bool CursorFollow
bool CursorCenterY
bool SelectedAllMouseLock
bool EditedBefore
bool EditedThisFrame
bool WantReloadUserBuf
ImS8 LastMoveDirectionLR
int ReloadSelectionStart
int ReloadSelectionEnd

Constructor & Destructor Documentation

◆ ImGuiInputTextState()

ImGuiInputTextState::ImGuiInputTextState ( )

◆ ~ImGuiInputTextState()

ImGuiInputTextState::~ImGuiInputTextState ( )

Member Function Documentation

◆ ClearFreeMemory()

void ImGuiInputTextState::ClearFreeMemory ( )
inline

◆ ClearSelection()

void ImGuiInputTextState::ClearSelection ( )

◆ ClearText()

void ImGuiInputTextState::ClearText ( )
inline

◆ CursorAnimReset()

void ImGuiInputTextState::CursorAnimReset ( )

◆ CursorClamp()

void ImGuiInputTextState::CursorClamp ( )

◆ GetCursorPos()

int ImGuiInputTextState::GetCursorPos ( ) const

◆ GetPreferredOffsetX()

float ImGuiInputTextState::GetPreferredOffsetX ( ) const

◆ GetSelectionEnd()

int ImGuiInputTextState::GetSelectionEnd ( ) const

◆ GetSelectionStart()

int ImGuiInputTextState::GetSelectionStart ( ) const

◆ GetText()

const char * ImGuiInputTextState::GetText ( )
inline

◆ HasSelection()

bool ImGuiInputTextState::HasSelection ( ) const

◆ OnCharPressed()

void ImGuiInputTextState::OnCharPressed ( unsigned int c)

◆ OnKeyPressed()

void ImGuiInputTextState::OnKeyPressed ( int key)

◆ ReloadUserBufAndKeepSelection()

void ImGuiInputTextState::ReloadUserBufAndKeepSelection ( )

◆ ReloadUserBufAndMoveToEnd()

void ImGuiInputTextState::ReloadUserBufAndMoveToEnd ( )

◆ ReloadUserBufAndSelectAll()

void ImGuiInputTextState::ReloadUserBufAndSelectAll ( )

◆ SelectAll()

void ImGuiInputTextState::SelectAll ( )

◆ SetSelection()

void ImGuiInputTextState::SetSelection ( int start,
int end )

Member Data Documentation

◆ BufCapacity

int ImGuiInputTextState::BufCapacity

◆ CallbackTextBackup

ImVector<char> ImGuiInputTextState::CallbackTextBackup

◆ Ctx

ImGuiContext* ImGuiInputTextState::Ctx

◆ CursorAnim

float ImGuiInputTextState::CursorAnim

◆ CursorCenterY

bool ImGuiInputTextState::CursorCenterY

◆ CursorFollow

bool ImGuiInputTextState::CursorFollow

◆ EditedBefore

bool ImGuiInputTextState::EditedBefore

◆ EditedThisFrame

bool ImGuiInputTextState::EditedThisFrame

◆ Flags

ImGuiInputTextFlags ImGuiInputTextState::Flags

◆ ID

ImGuiID ImGuiInputTextState::ID

◆ LastMoveDirectionLR

ImS8 ImGuiInputTextState::LastMoveDirectionLR

◆ LineCount

int ImGuiInputTextState::LineCount

◆ ReloadSelectionEnd

int ImGuiInputTextState::ReloadSelectionEnd

◆ ReloadSelectionStart

int ImGuiInputTextState::ReloadSelectionStart

◆ Scroll

ImVec2 ImGuiInputTextState::Scroll

◆ SelectedAllMouseLock

bool ImGuiInputTextState::SelectedAllMouseLock

◆ Stb

ImStbTexteditState* ImGuiInputTextState::Stb

◆ TextA

ImVector<char> ImGuiInputTextState::TextA

◆ TextLen

int ImGuiInputTextState::TextLen

◆ TextSrc

const char* ImGuiInputTextState::TextSrc

◆ TextToRevertTo

ImVector<char> ImGuiInputTextState::TextToRevertTo

◆ WantReloadUserBuf

bool ImGuiInputTextState::WantReloadUserBuf

◆ WrapWidth

float ImGuiInputTextState::WrapWidth

The documentation for this struct was generated from the following files: