CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
FxUITextView.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:
30
33
39 void setText( const CFxUIString& text );
40
48 void setHtmlText( const CFxUIString& htmlText );
49
55 void addText( const CFxUIString& text );
56
62 void insertHtmlText( const CFxUIString& htmlText );
63
69 void setMultiline( const bool multiLine );
70
78 void setReadOnly( const bool readOnly );
79
87 void setPlaceholderText( const CFxUIString& sText );
88
95
102
110 void setAdjustHeightToContent( const bool& bValue );
111
118
122 void clear();
123
129 void insertText( const CFxUIString& text );
130
136 void deletePreviousCharacters( const int& count );
137
142
147
154
160 void setTextFromMimeDataAccepted( bool bAccepted );
161
166
171
176
181
186
187 //...
188};
#define COMMONUI_API
CFxString CFxUIString
@ eM
This enum defines size as medium.
void setAdjustHeightToContent(const bool &bValue)
CFxUISignal< void(CFxUIString)> & insertFromMimeData()
CFxUITextView(UIWidthSizePolicy width=eM)
void setTextFromMimeDataAccepted(bool bAccepted)
void setHtmlText(const CFxUIString &htmlText)
CFxUISignal< void(void)> & focusOutEventSignal()
void insertHtmlText(const CFxUIString &htmlText)
void setMultiline(const bool multiLine)
CFxUISignal< void(int, int, CFxUIString)> & keyPressed()
CFxUISignal< void(void)> & focusInEventSignal()
void setReadOnly(const bool readOnly)
CFxUISignal< void(void)> & textChanged()
void grabKeyboard()
CFxUIString getContent() const
void addText(const CFxUIString &text)
void setPlaceholderText(const CFxUIString &sText)
void setText(const CFxUIString &text)
CFxUIPoint getTextCursorPosition()
void releaseKeyboard()
bool getAdjustHeightToContent() const
CFxUIString placeholderText() const
void deletePreviousCharacters(const int &count)
void insertText(const CFxUIString &text)
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
GLsizei GLsizei * count
Definition gles2_ext.h:276