Update xml

This commit is contained in:
Vortrex
2021-01-25 22:44:17 -06:00
parent 724ea9a774
commit 9b8d1f2257
190 changed files with 83 additions and 5046 deletions

View File

@@ -1,23 +0,0 @@
mexui.util.createControlConstructor('Rectangle', false, function(window, x, y, w, h, styles, callback)
{
mexui.Component.Control.call(this, window, x, y, w, h, this.linkControlStyles('Rectangle', styles), callback);
});
// default styles
mexui.util.linkBaseControlStyles('Rectangle', {});
// input
mexui.Control.Rectangle.prototype.onMouseDown = function(e)
{
if(this.isCursorOverControl())
{
this.checkToCallCallback();
}
};
// render
mexui.Control.Rectangle.prototype.render = function()
{
var pos = this.getScreenPosition();
mexui.native.drawRectangle(pos, this.size, this.getStyles('main'));
};