A textfield model that denies some chars
.
More...
#include <BlacklistTextFieldModel.hpp>
|
std::set< sf::Uint32 > | m_blacklist |
|
A textfield model that denies some chars
.
Definition at line 30 of file BlacklistTextFieldModel.hpp.
sf::ui::BlacklistTextFieldModel::BlacklistTextFieldModel |
( |
| ) |
|
Creates a text field model that denies character present in the blacklist Notice that the blacklist is empty in this class.
void sf::ui::BlacklistTextFieldModel::addCharDenied |
( |
sf::Uint32 |
c | ) |
|
Add a character to the blacklist.
- Parameters
-
std::vector<sf::Uint32> sf::ui::BlacklistTextFieldModel::getCharsDenied |
( |
| ) |
const |
- Returns
- all of the chars blacklisted
virtual bool sf::ui::BlacklistTextFieldModel::isCharAllowed |
( |
sf::Uint32 |
c | ) |
const |
|
virtual |
void sf::ui::BlacklistTextFieldModel::rmCharDenied |
( |
sf::Uint32 |
c | ) |
|
Removes a character to the blacklist.
- Parameters
-
The documentation for this class was generated from the following file: