- sf
- ui
- TextFieldModel
The abstract class that defines what can be typed into the text field
. More...
#include <TextFieldModel.hpp>
Public Member Functions | |
TextFieldModel () | |
An abstract class that controls if the text field should or not allow a given character. More... | |
virtual bool | isCharAllowed (sf::Uint32 c) const =0 |
The abstract class that defines what can be typed into the text field
.
Definition at line 28 of file TextFieldModel.hpp.
sf::ui::TextFieldModel::TextFieldModel | ( | ) |
An abstract class that controls if the text field should or not allow a given character.
|
pure virtual |
c | - the character to check |
Implemented in sf::ui::WhitelistTextFieldModel, sf::ui::BlacklistTextFieldModel, sf::ui::AsciiNoSpaceTextFieldModel, and sf::ui::AsciiTextFieldModel.