Class that limits the length of input from the keyboard. More...
#include <Input/BufferedKeyboardInput.h>
Inherits KeyFilteredBufferedKeyboardInput.
Public Member Functions | |
| LengthLimitedBufferedKeyboardInput () | |
| Constructor. | |
| LengthLimitedBufferedKeyboardInput (uint len) | |
| Constructor. | |
| LengthLimitedBufferedKeyboardInput (uint len, const Key *keys, uint n) | |
| Constructor. | |
| void | SetMaxLength (uint len) |
| Sets the max length. | |
| uint | GetMaxLength () const |
| Returns the max length. | |
Protected Member Functions | |
| virtual bool | ShouldInsertUnicodeChar (uint unicode) const |
| Determines if the given unicode char should be inserted into the input. | |
Class that limits the length of input from the keyboard.
| LengthLimitedBufferedKeyboardInput::LengthLimitedBufferedKeyboardInput | ( | uint | len | ) |
Constructor.
| [in] | len | the max length of the input. |
| LengthLimitedBufferedKeyboardInput::LengthLimitedBufferedKeyboardInput | ( | uint | len, | |
| const Key * | keys, | |||
| uint | n | |||
| ) |
Constructor.
| [in] | len | the max length of the input. |
| [in] | keys | an array of keys to filter. |
| [in] | n | the length of the keys array. |
1.6.3