User:Apollolux/rm.js

From Spherical
Jump to: navigation, search
var RM = (function(){
	var _f = GetSystemFont(), _w = GetSystemWindowStyle();
	var W = GetScreenWidth(), H = GetScreenHeight();
	var _rm = {};
	_rm.textbox = function(t) {
		_w.drawWindow(16,16,W-32,H-32);
		_f.drawTextBox(16,16,W-32,H-32,0,t);
	};
	return _rm;
})();