Initial commit

This commit is contained in:
VortrexFTW
2020-09-04 15:56:19 -05:00
commit c536fcd6ef
245 changed files with 14997 additions and 0 deletions

11
third-party/mexui/Core/Control/Digit.js vendored Normal file
View File

@@ -0,0 +1,11 @@
mexui.util.createControlConstructor('Digit', false, function(window, x, y, w, h, text, styles, callback)
{
mexui.Control.TextInput.call(this, window, x, y, w, h, text, this.linkControlStyles('Digit', styles), callback, true, false);
});
mexui.util.extend(mexui.Control.Digit, mexui.Control.TextInput);
// model
mexui.Control.Digit.prototype.validateInputCallback = function(e, character)
{
return mexui.util.isDigit(character);
};