aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/FbWinFrame.cc11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc
index 1ebb068..f05cdfa 100644
--- a/src/FbWinFrame.cc
+++ b/src/FbWinFrame.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: FbWinFrame.cc,v 1.80 2004/10/10 16:12:48 akir Exp $ 22// $Id: FbWinFrame.cc,v 1.81 2004/10/22 09:43:53 akir Exp $
23 23
24#include "FbWinFrame.hh" 24#include "FbWinFrame.hh"
25 25
@@ -941,6 +941,12 @@ void FbWinFrame::renderTitlebar() {
941 m_titlebar.setAlpha(alpha); 941 m_titlebar.setAlpha(alpha);
942 m_label.setAlpha(alpha); 942 m_label.setAlpha(alpha);
943 943
944 LabelList::iterator btn_it = m_labelbuttons.begin();
945 LabelList::iterator btn_it_end = m_labelbuttons.end();
946 for (; btn_it != btn_it_end; ++btn_it) {
947 (*btn_it)->setAlpha(alpha);
948 }
949
944 renderLabelButtons(); 950 renderLabelButtons();
945 redrawTitlebar(); 951 redrawTitlebar();
946} 952}
@@ -1235,7 +1241,6 @@ void FbWinFrame::renderButtonFocus(FbTk::TextButton &button) {
1235 button.setGC(theme().labelTextFocusGC()); 1241 button.setGC(theme().labelTextFocusGC());
1236 button.setJustify(theme().justify()); 1242 button.setJustify(theme().justify());
1237 button.setBorderWidth(1); 1243 button.setBorderWidth(1);
1238 button.setAlpha(theme().focusedAlpha());
1239 1244
1240 if (m_label_focused_pm != 0) { 1245 if (m_label_focused_pm != 0) {
1241 // already set 1246 // already set
@@ -1251,7 +1256,6 @@ void FbWinFrame::renderButtonActive(FbTk::TextButton &button) {
1251 button.setGC(theme().labelTextActiveGC()); 1256 button.setGC(theme().labelTextActiveGC());
1252 button.setJustify(theme().justify()); 1257 button.setJustify(theme().justify());
1253 button.setBorderWidth(1); 1258 button.setBorderWidth(1);
1254 button.setAlpha(theme().focusedAlpha());
1255 1259
1256 if (m_label_active_pm != 0) { 1260 if (m_label_active_pm != 0) {
1257 // already set 1261 // already set
@@ -1267,7 +1271,6 @@ void FbWinFrame::renderButtonUnfocus(FbTk::TextButton &button) {
1267 button.setGC(theme().labelTextUnfocusGC()); 1271 button.setGC(theme().labelTextUnfocusGC());
1268 button.setJustify(theme().justify()); 1272 button.setJustify(theme().justify());
1269 button.setBorderWidth(1); 1273 button.setBorderWidth(1);
1270 button.setAlpha(theme().unfocusedAlpha());
1271 1274
1272 if (m_label_unfocused_pm != 0) { 1275 if (m_label_unfocused_pm != 0) {
1273 // already set 1276 // already set