A textfield model that allows all alpha-numeric chars
.
More...
#include <AlphaNumericTextFieldModel.hpp>
|
std::set< sf::Uint32 > | m_whitelist |
|
A textfield model that allows all alpha-numeric chars
.
Definition at line 28 of file AlphaNumericTextFieldModel.hpp.
sf::ui::AlphaNumericTextFieldModel::AlphaNumericTextFieldModel |
( |
| ) |
|
A text field model that allows letters and numbers, only character between 'A' - 'Z', 'a' - 'z', '0' - '9' and '-'.
void sf::ui::WhitelistTextFieldModel::addCharAllowed |
( |
sf::Uint32 |
c | ) |
|
|
inherited |
Add a character to the whitelist.
- Parameters
-
std::vector<sf::Uint32> sf::ui::WhitelistTextFieldModel::getCharsAllowed |
( |
| ) |
const |
|
inherited |
- Returns
- all of the chars whitelisted
virtual bool sf::ui::WhitelistTextFieldModel::isCharAllowed |
( |
sf::Uint32 |
c | ) |
const |
|
virtualinherited |
void sf::ui::WhitelistTextFieldModel::rmCharAllowed |
( |
sf::Uint32 |
c | ) |
|
|
inherited |
Remove a character to the whitelist.
- Parameters
-
c | the character to disallow |
The documentation for this class was generated from the following file: