diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-07-25 23:36:00 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-08-11 02:39:49 +0200 |
commit | def23555acf313526ecec1c94684932ee8541335 (patch) | |
tree | a4b528682af116eba0837ac7fb315f5329be5585 /src/gui/widgets/tabbedarea.cpp | |
parent | fd1c259787f240f591731fe983c07629ab735517 (diff) | |
download | mana-client-def23555acf313526ecec1c94684932ee8541335.tar.gz mana-client-def23555acf313526ecec1c94684932ee8541335.tar.bz2 mana-client-def23555acf313526ecec1c94684932ee8541335.tar.xz mana-client-def23555acf313526ecec1c94684932ee8541335.zip |
Added true arrows graphics to tab area buttons.
Diffstat (limited to 'src/gui/widgets/tabbedarea.cpp')
-rw-r--r-- | src/gui/widgets/tabbedarea.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/widgets/tabbedarea.cpp b/src/gui/widgets/tabbedarea.cpp index 412d3ddc..9b51b311 100644 --- a/src/gui/widgets/tabbedarea.cpp +++ b/src/gui/widgets/tabbedarea.cpp @@ -33,8 +33,12 @@ TabbedArea::TabbedArea() : gcn::TabbedArea(), mWidgetContainer->setOpaque(false); addWidgetListener(this); - mArrowButton[0] = new Button("<", "shift_left", this); - mArrowButton[1] = new Button(">", "shift_right", this); + mArrowButton[0] = new Button("", "shift_left", this); + mArrowButton[1] = new Button("", "shift_right", this); + if (!mArrowButton[0]->setButtonIcon("tab_arrows_left.png")) + mArrowButton[0]->setCaption("<"); + if (!mArrowButton[1]->setButtonIcon("tab_arrows_right.png")) + mArrowButton[1]->setCaption(">"); add(mArrowButton[0]); add(mArrowButton[1]); |