The default textfield model
.
More...
#include <DefaultTextFieldModel.hpp>
|
std::set< sf::Uint32 > | m_blacklist |
|
The default textfield model
.
Definition at line 28 of file DefaultTextFieldModel.hpp.
sf::ui::DefaultTextFieldModel::DefaultTextFieldModel |
( |
| ) |
|
The default text field model used It allows all character excluding 0(NUL) - 31(US) and 127(DEL)
void sf::ui::BlacklistTextFieldModel::addCharDenied |
( |
sf::Uint32 |
c | ) |
|
|
inherited |
Add a character to the blacklist.
- Parameters
-
std::vector<sf::Uint32> sf::ui::BlacklistTextFieldModel::getCharsDenied |
( |
| ) |
const |
|
inherited |
- Returns
- all of the chars blacklisted
virtual bool sf::ui::BlacklistTextFieldModel::isCharAllowed |
( |
sf::Uint32 |
c | ) |
const |
|
virtualinherited |
void sf::ui::BlacklistTextFieldModel::rmCharDenied |
( |
sf::Uint32 |
c | ) |
|
|
inherited |
Removes a character to the blacklist.
- Parameters
-
The documentation for this class was generated from the following file: