diff options
Diffstat (limited to 'src/ButtonTool.cc')
-rw-r--r-- | src/ButtonTool.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ButtonTool.cc b/src/ButtonTool.cc index 6a3dfa4..a3b4d7b 100644 --- a/src/ButtonTool.cc +++ b/src/ButtonTool.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: ButtonTool.cc,v 1.2 2003/12/07 16:39:43 fluxgen Exp $ | 22 | // $Id: ButtonTool.cc,v 1.3 2004/01/13 14:41:32 rathnor Exp $ |
23 | 23 | ||
24 | #include "ButtonTool.hh" | 24 | #include "ButtonTool.hh" |
25 | 25 | ||
@@ -54,6 +54,7 @@ void ButtonTool::renderTheme() { | |||
54 | btn.setGC(static_cast<const ButtonTheme &>(theme()).gc()); | 54 | btn.setGC(static_cast<const ButtonTheme &>(theme()).gc()); |
55 | btn.setBorderColor(theme().border().color()); | 55 | btn.setBorderColor(theme().border().color()); |
56 | btn.setBorderWidth(theme().border().width()); | 56 | btn.setBorderWidth(theme().border().width()); |
57 | btn.setAlpha(theme().alpha()); | ||
57 | 58 | ||
58 | Pixmap old_pm = m_cache_pm; | 59 | Pixmap old_pm = m_cache_pm; |
59 | if (!theme().texture().usePixmap()) { | 60 | if (!theme().texture().usePixmap()) { |
@@ -81,5 +82,6 @@ void ButtonTool::renderTheme() { | |||
81 | m_image_ctrl.removeImage(old_pm); | 82 | m_image_ctrl.removeImage(old_pm); |
82 | 83 | ||
83 | btn.clear(); | 84 | btn.clear(); |
85 | btn.updateTransparent(); | ||
84 | } | 86 | } |
85 | 87 | ||