CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
FxUITextEdit.h
Go to the documentation of this file.
1//
2// (C) Copyright 2005-2025 by Graebert GmbH.
3//
4// Permission to use, copy, modify, and distribute this software in
5// object code form for any purpose and without fee is hereby granted,
6// provided that the above copyright notice appears in all copies and
7// that both that copyright notice and the limited warranty and
8// restricted rights notice below appear in all supporting
9// documentation.
10//
11// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15// UNINTERRUPTED OR ERROR FREE.
16
17#pragma once
18
19#include "FxUIBaseView.h"
20
24
26{
27public:
32 {
35 };
36
68
74
76 {
80 };
81
88
91
97 void setText( const CFxUIString& str );
98
105
111 void setPlainText( const CFxUIString& sText );
112
121
129 void setPlaceholderText( const CFxUIString& str );
130
137
145 void setClearButtonEnabled( bool bEnable );
146
153
157 void selectAll();
158
164 void setFocus();
165
173 void moveCursor( MoveOperation operation, MoveMode mode = MoveAnchor );
174
182
189
195 void setInputMask( const CFxUIString& str );
196
205
213 void setReadOnly( bool readOnly );
214
218 void clear();
219
225 void setTextAlignment( TextAlignment iAlignment );
226
234 void setEchoMode( EchoMode echoMode );
235
240
245
252
258
263
268
269 //...
270};
#define COMMONUI_API
CFxString CFxUIString
@ eM
This enum defines size as medium.
void setText(const CFxUIString &str)
CFxUIString inputMask() const
CFxUISignal< void(void)> & editingFinished()
void setCursorPosition(int index)
bool isClearButtonEnabled() const
CFxUIString placeholderText() const
CFxUISignal< void(int, int, CFxUIString)> & keyPressed()
void selectAll()
CFxUISignal< void(const CFxUIString)> & textChanged()
void setInputMask(const CFxUIString &str)
void setPlainText(const CFxUIString &sText)
CFxUIString text() const
CFxUIString toPlainText() const
CFxUISignal< void(const CFxUIString)> & textEdited()
void setTextAlignment(TextAlignment iAlignment)
void moveCursor(MoveOperation operation, MoveMode mode=MoveAnchor)
void setInputType(InputType type)
void setPlaceholderText(const CFxUIString &str)
void setEchoMode(EchoMode echoMode)
CFxUITextEdit(UIWidthSizePolicy width=eM)
CFxUISignal< void(void)> & focusOutEventSignal()
void setClearButtonEnabled(bool bEnable)
CFxUISignal< void(void)> & focusInEventSignal()
void setReadOnly(bool readOnly)
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
GLuint index
Definition gles2_ext.h:265
GLuint GLsizei GLsizei GLint GLenum * type
Definition gles2_ext.h:274