--- /dev/null
+/**\r
+ * QLIB 1.0 Window Control\r
+ * Copyright (C) 2002 2003, Quazzle.com Serge Dolgov\r
+ * This program is free software; you can redistribute it and/or\r
+ * modify it under the terms of the GNU General Public License\r
+ * as published by the Free Software Foundation; either version 2\r
+ * of the License, or (at your option) any later version.\r
+ * http://qlib.quazzle.com\r
+ */\r
+\r
+function QWindow(parent, name, x, y, width, height, content, visible, effects, opacity, zindex) {\r
+ this.init(parent, name);\r
+ this.x = x - 0;\r
+ this.y = y - 0;\r
+ this.width = width - 0;\r
+ this.height = (typeof(height) == "number") ? height : null;\r
+ this.content = content;\r
+ var j = QWindow.arguments.length;\r
+ this.visible = (j > 7) ? visible : true;\r
+ this.effects = (j > 8) ? effects : 0;\r
+ this.opacity = (j > 9) ? opacity : 100;\r
+ this.zindex = (j > 10) ? zindex : null;\r
+ this.create();\r
+}\r
+QWindow.prototype = new QWndCtrl();\r