| 33 | USING_NS_AX; |
| 34 | |
| 35 | TextInputNode::TextInputNode() |
| 36 | : _allowedChars(" abcdefghijkmlnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890") |
| 37 | , _placeholderString("") |
| 38 | , _previousString("") |
| 39 | , _placeholderColor({ 120, 170, 240 }) |
| 40 | , _textColor(Color3B::WHITE) |
| 41 | , _maxDisplayLabelScale(1.f) |
| 42 | , _placeholderScale(0.0f) |
| 43 | , _delegate(nullptr) |
| 44 | , _textField(nullptr) |
| 45 | , _displayedLabel(nullptr) |
| 46 | , _cursor(nullptr) |
| 47 | , _onCommandMode(false) |
| 48 | { |
| 49 | } |
| 50 | |
| 51 | TextInputNode* TextInputNode::create(float width, float height, std::string_view font, std::string_view placeholder, int scale) |
| 52 | { |
nothing calls this directly
no outgoing calls
no test coverage detected