2 * QLIB 1.0 Button Resource
\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 QButtonRes(style, width, height, normal, pressed, disabled) {
\r
14 this.height = height;
\r
15 this.imgN = new Image(width, height);
\r
16 this.imgN.src = normal;
\r
17 this.imgP = new Image(width, height);
\r
18 this.imgP.src = pressed;
\r
20 this.imgD = new Image(width, height);
\r
21 this.imgD.src = disabled;
\r