#include <lineinput.h>
|
| | CLineInput () |
| |
| | CLineInput (char *pStr, size_t MaxSize) |
| |
| | CLineInput (char *pStr, size_t MaxSize, size_t MaxChars) |
| |
| void | SetBuffer (char *pStr, size_t MaxSize) |
| |
| void | SetBuffer (char *pStr, size_t MaxSize, size_t MaxChars) |
| |
| void | Clear () |
| |
| void | Set (const char *pString) |
| |
| void | SetRange (const char *pString, size_t Begin, size_t End) |
| |
| void | Insert (const char *pString, size_t Begin) |
| |
| void | Append (const char *pString) |
| |
| const char * | GetString () const |
| |
| const char * | GetDisplayedString () |
| |
| size_t | GetMaxSize () const |
| |
| size_t | GetMaxChars () const |
| |
| size_t | GetLength () const |
| |
| size_t | GetNumChars () const |
| |
| bool | IsEmpty () const |
| |
| size_t | GetCursorOffset () const |
| |
| void | SetCursorOffset (size_t Offset) |
| |
| size_t | GetSelectionStart () const |
| |
| size_t | GetSelectionEnd () const |
| |
| size_t | GetSelectionLength () const |
| |
| bool | HasSelection () const |
| |
| void | SetSelection (size_t Start, size_t End) |
| |
| void | SelectNothing () |
| |
| void | SelectAll () |
| |
| size_t | OffsetFromActualToDisplay (size_t ActualOffset) |
| |
| size_t | OffsetFromDisplayToActual (size_t DisplayOffset) |
| |
| float | GetScrollOffset () const |
| |
| void | SetScrollOffset (float ScrollOffset) |
| |
| float | GetScrollOffsetChange () const |
| |
| void | SetScrollOffsetChange (float ScrollOffsetChange) |
| |
| vec2 | GetCaretPosition () const |
| |
| bool | IsHidden () const |
| |
| void | SetHidden (bool Hidden) |
| |
| const char * | GetEmptyText () const |
| |
| void | SetEmptyText (const char *pText) |
| |
| void | SetClipboardLineCallback (FClipboardLineCallback pfnClipboardLineCallback) |
| |
| void | SetDisplayTextCallback (FDisplayTextCallback pfnDisplayTextCallback) |
| |
| void | SetCalculateOffsetCallback (FCalculateOffsetCallback pfnCalculateOffsetCallback) |
| |
| bool | ProcessInput (const IInput::CEvent &Event) |
| |
| bool | WasChanged () |
| |
| bool | WasCursorChanged () |
| |
| STextBoundingBox | Render (const CUIRect *pRect, float FontSize, int Align, bool Changed, float LineWidth, float LineSpacing, const std::vector< STextColorSplit > &vColorSplits={}) |
| |
| SMouseSelection * | GetMouseSelection () |
| |
| const void * | GetClearButtonId () const |
| |
| bool | IsActive () const |
| |
| void | Activate (EInputPriority Priority) |
| |
| void | Deactivate () const |
| |
◆ FCalculateOffsetCallback
◆ FClipboardLineCallback
◆ FDisplayTextCallback
◆ EMoveDirection
◆ CLineInput() [1/3]
| CLineInput::CLineInput |
( |
| ) |
|
|
inline |
◆ CLineInput() [2/3]
| CLineInput::CLineInput |
( |
char * |
pStr, |
|
|
size_t |
MaxSize |
|
) |
| |
|
inline |
◆ CLineInput() [3/3]
◆ Activate()
◆ Append()
◆ Clear()
| void CLineInput::Clear |
( |
| ) |
|
◆ Client()
◆ Deactivate()
| void CLineInput::Deactivate |
( |
| ) |
const |
◆ GetActiveInput()
◆ GetCaretPosition()
| vec2 CLineInput::GetCaretPosition |
( |
| ) |
const |
|
inline |
◆ GetClearButtonId()
| const void * CLineInput::GetClearButtonId |
( |
| ) |
const |
|
inline |
◆ GetCursorOffset()
| size_t CLineInput::GetCursorOffset |
( |
| ) |
const |
|
inline |
◆ GetDisplayedString()
| const char * CLineInput::GetDisplayedString |
( |
| ) |
|
◆ GetEmptyText()
| const char * CLineInput::GetEmptyText |
( |
| ) |
const |
|
inline |
◆ GetLength()
| size_t CLineInput::GetLength |
( |
| ) |
const |
|
inline |
◆ GetMaxChars()
| size_t CLineInput::GetMaxChars |
( |
| ) |
const |
|
inline |
◆ GetMaxSize()
| size_t CLineInput::GetMaxSize |
( |
| ) |
const |
|
inline |
◆ GetMouseSelection()
◆ GetNumChars()
| size_t CLineInput::GetNumChars |
( |
| ) |
const |
|
inline |
◆ GetScrollOffset()
| float CLineInput::GetScrollOffset |
( |
| ) |
const |
|
inline |
◆ GetScrollOffsetChange()
| float CLineInput::GetScrollOffsetChange |
( |
| ) |
const |
|
inline |
◆ GetSelectionEnd()
| size_t CLineInput::GetSelectionEnd |
( |
| ) |
const |
|
inline |
◆ GetSelectionLength()
| size_t CLineInput::GetSelectionLength |
( |
| ) |
const |
|
inline |
◆ GetSelectionStart()
| size_t CLineInput::GetSelectionStart |
( |
| ) |
const |
|
inline |
◆ GetString()
◆ Graphics()
◆ HasSelection()
| bool CLineInput::HasSelection |
( |
| ) |
const |
|
inline |
◆ Init()
◆ Input()
◆ Insert()
◆ IsActive()
| bool CLineInput::IsActive |
( |
| ) |
const |
|
inline |
◆ IsEmpty()
| bool CLineInput::IsEmpty |
( |
| ) |
const |
|
inline |
◆ IsHidden()
| bool CLineInput::IsHidden |
( |
| ) |
const |
|
inline |
◆ MoveCursor()
◆ OffsetFromActualToDisplay()
| size_t CLineInput::OffsetFromActualToDisplay |
( |
size_t |
ActualOffset | ) |
|
◆ OffsetFromDisplayToActual()
| size_t CLineInput::OffsetFromDisplayToActual |
( |
size_t |
DisplayOffset | ) |
|
◆ OnActivate()
| void CLineInput::OnActivate |
( |
| ) |
|
|
private |
◆ OnDeactivate()
| void CLineInput::OnDeactivate |
( |
| ) |
|
|
private |
◆ ProcessInput()
◆ Render()
◆ RenderCandidates()
| void CLineInput::RenderCandidates |
( |
| ) |
|
|
static |
◆ SelectAll()
| void CLineInput::SelectAll |
( |
| ) |
|
|
inline |
◆ SelectNothing()
| void CLineInput::SelectNothing |
( |
| ) |
|
|
inline |
◆ Set()
◆ SetBuffer() [1/2]
◆ SetBuffer() [2/2]
◆ SetCalculateOffsetCallback()
◆ SetClipboardLineCallback()
◆ SetCompositionWindowPosition()
| void CLineInput::SetCompositionWindowPosition |
( |
vec2 |
Anchor, |
|
|
float |
LineHeight |
|
) |
| |
|
staticprivate |
◆ SetCursorOffset()
◆ SetDisplayTextCallback()
◆ SetEmptyText()
◆ SetHidden()
| void CLineInput::SetHidden |
( |
bool |
Hidden | ) |
|
|
inline |
◆ SetRange()
◆ SetScrollOffset()
| void CLineInput::SetScrollOffset |
( |
float |
ScrollOffset | ) |
|
|
inline |
◆ SetScrollOffsetChange()
| void CLineInput::SetScrollOffsetChange |
( |
float |
ScrollOffsetChange | ) |
|
|
inline |
◆ SetSelection()
◆ TextRender()
◆ UpdateStrData()
| void CLineInput::UpdateStrData |
( |
| ) |
|
|
private |
◆ WasChanged()
| bool CLineInput::WasChanged |
( |
| ) |
|
|
inline |
◆ WasCursorChanged()
| bool CLineInput::WasCursorChanged |
( |
| ) |
|
|
inline |
◆ m_CaretPosition
| vec2 CLineInput::m_CaretPosition |
|
private |
◆ m_ClearButtonId
| char CLineInput::m_ClearButtonId |
|
private |
◆ m_CursorPos
| size_t CLineInput::m_CursorPos |
|
private |
◆ m_Hidden
| bool CLineInput::m_Hidden |
|
private |
◆ m_LastCompositionCursorPos
| size_t CLineInput::m_LastCompositionCursorPos |
|
private |
◆ m_Len
◆ m_MaxChars
◆ m_MaxSize
◆ m_MouseSelection
◆ m_NumChars
◆ m_pEmptyText
◆ m_pfnCalculateOffsetCallback
◆ m_pfnClipboardLineCallback
◆ m_pfnDisplayTextCallback
◆ m_pStr
◆ m_ScrollOffset
| float CLineInput::m_ScrollOffset |
|
private |
◆ m_ScrollOffsetChange
| float CLineInput::m_ScrollOffsetChange |
|
private |
◆ m_SelectionEnd
| size_t CLineInput::m_SelectionEnd |
|
private |
◆ m_SelectionStart
| size_t CLineInput::m_SelectionStart |
|
private |
◆ m_WasChanged
| bool CLineInput::m_WasChanged |
|
private |
◆ m_WasCursorChanged
| bool CLineInput::m_WasCursorChanged |
|
private |
◆ m_WasRendered
| bool CLineInput::m_WasRendered |
|
private |
◆ ms_ActiveInputPriority
◆ ms_aStars
| char CLineInput::ms_aStars = "" |
|
staticprivate |
◆ ms_CompositionLineHeight
| float CLineInput::ms_CompositionLineHeight = 0.0f |
|
staticprivate |
◆ ms_CompositionWindowPosition
| vec2 CLineInput::ms_CompositionWindowPosition = vec2(0.0f, 0.0f) |
|
staticprivate |
◆ ms_pActiveInput
◆ ms_pClient
◆ ms_pGraphics
◆ ms_pInput
◆ ms_pTextRender
The documentation for this class was generated from the following files: