Difference between revisions of "User:Apollolux/rm.js"

From Spherical
Jump to: navigation, search
(created rm.js)
 
(No difference)

Latest revision as of 19:35, 30 March 2013

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;
})();