diff options
author | rathnor <rathnor> | 2004-08-26 15:09:33 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2004-08-26 15:09:33 (GMT) |
commit | 346a6598a62350c5d234e3177de9e6c6c1963475 (patch) | |
tree | 02706013944f306c549ca627144a13d6552cd098 /src/ButtonTool.cc | |
parent | 13bf2a7fddff4242581eec62243222acd49a1537 (diff) | |
download | fluxbox-346a6598a62350c5d234e3177de9e6c6c1963475.zip fluxbox-346a6598a62350c5d234e3177de9e6c6c1963475.tar.bz2 |
make arrow button's arrow size scalable by the user
Diffstat (limited to 'src/ButtonTool.cc')
-rw-r--r-- | src/ButtonTool.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ButtonTool.cc b/src/ButtonTool.cc index a3b4d7b..78edbe7 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.3 2004/01/13 14:41:32 rathnor Exp $ | 22 | // $Id: ButtonTool.cc,v 1.4 2004/08/26 15:09:33 rathnor Exp $ |
23 | 23 | ||
24 | #include "ButtonTool.hh" | 24 | #include "ButtonTool.hh" |
25 | 25 | ||
@@ -55,6 +55,7 @@ void ButtonTool::renderTheme() { | |||
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 | btn.setAlpha(theme().alpha()); |
58 | btn.updateTheme(static_cast<const FbTk::Theme &>(theme())); | ||
58 | 59 | ||
59 | Pixmap old_pm = m_cache_pm; | 60 | Pixmap old_pm = m_cache_pm; |
60 | if (!theme().texture().usePixmap()) { | 61 | if (!theme().texture().usePixmap()) { |