--- /dev/null
+/**\r
+ * QLIB 1.0 Button Resource\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 QButtonRes(style, width, height, normal, pressed, disabled) {\r
+ this.style = style;\r
+ this.width = width;\r
+ this.height = height;\r
+ this.imgN = new Image(width, height);\r
+ this.imgN.src = normal;\r
+ this.imgP = new Image(width, height);\r
+ this.imgP.src = pressed;\r
+ if (disabled) {\r
+ this.imgD = new Image(width, height);\r
+ this.imgD.src = disabled;\r
+ }\r
+}\r