From 6cf964d0dc008621fb30fd2da28e2c44f29c6364 Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 27 Jan 2005 10:21:18 +0000 Subject: DHTML progress bar for glacial rate adding and editing, closes: Bug#1100 --- httemplate/elements/qlib/buttonres.js | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 httemplate/elements/qlib/buttonres.js (limited to 'httemplate/elements/qlib/buttonres.js') diff --git a/httemplate/elements/qlib/buttonres.js b/httemplate/elements/qlib/buttonres.js new file mode 100644 index 000000000..97f6dfccc --- /dev/null +++ b/httemplate/elements/qlib/buttonres.js @@ -0,0 +1,23 @@ +/** + * QLIB 1.0 Button Resource + * Copyright (C) 2002 2003, Quazzle.com Serge Dolgov + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * http://qlib.quazzle.com + */ + +function QButtonRes(style, width, height, normal, pressed, disabled) { + this.style = style; + this.width = width; + this.height = height; + this.imgN = new Image(width, height); + this.imgN.src = normal; + this.imgP = new Image(width, height); + this.imgP.src = pressed; + if (disabled) { + this.imgD = new Image(width, height); + this.imgD.src = disabled; + } +} -- cgit v1.2.1