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