Pixel-Composer/scripts/textInput/textInput.gml

15 lines
331 B
Plaintext
Raw Normal View History

2023-10-03 07:14:28 +02:00
function textInput(_input, _onModify) : widget() constructor {
input = _input;
onModify = _onModify;
side_button = noone;
2023-10-03 07:14:28 +02:00
selecting = false;
2023-03-08 14:59:54 +01:00
static _resetFocus = function() { resetFocus(); }
static onKey = function(key) {}
2023-11-01 08:10:25 +01:00
static setSideButton = function(_button) {
self.side_button = _button;
return self;
}
2023-01-17 08:11:55 +01:00
}