mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-26 06:56:45 +01:00
15 lines
No EOL
331 B
Text
15 lines
No EOL
331 B
Text
function textInput(_input, _onModify) : widget() constructor {
|
|
input = _input;
|
|
onModify = _onModify;
|
|
side_button = noone;
|
|
selecting = false;
|
|
|
|
static _resetFocus = function() { resetFocus(); }
|
|
|
|
static onKey = function(key) {}
|
|
|
|
static setSideButton = function(_button) {
|
|
self.side_button = _button;
|
|
return self;
|
|
}
|
|
} |