From 741cb0e57645b9fe0cb6f1f7419354e018a99686 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 1 Jul 2013 09:53:52 -0500 Subject: [PATCH] Fix see-through background in funky-monkey style when ARGB visuals are in use --- amarok/src/amarok.h | 2 +- amarok/src/app.cpp | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/amarok/src/amarok.h b/amarok/src/amarok.h index 0ca9005a..03b8e31b 100644 --- a/amarok/src/amarok.h +++ b/amarok/src/amarok.h @@ -30,7 +30,7 @@ namespace Amarok { const int VOLUME_MAX = 100; const int SCOPE_SIZE = 9; //= 2**9 = 512 - const int blue = 0x202050; + const int blue = 0xff202050; const int VOLUME_SENSITIVITY = 30; //for mouse wheels const int GUI_THREAD_ID = 0; diff --git a/amarok/src/app.cpp b/amarok/src/app.cpp index c20fe55c..8a2a65b9 100644 --- a/amarok/src/app.cpp +++ b/amarok/src/app.cpp @@ -876,13 +876,13 @@ App::applyColorScheme() AltBase.setRgb( 57, 64, 98 ); group.setColor( TQColorGroup::Text, TQt::white ); - group.setColor( TQColorGroup::Link, 0xCCCCCC ); + group.setColor( TQColorGroup::Link, 0xFFCCCCCC ); group.setColor( TQColorGroup::Base, bg ); - group.setColor( TQColorGroup::Foreground, 0xd7d7ef ); + group.setColor( TQColorGroup::Foreground, 0xffd7d7ef ); group.setColor( TQColorGroup::Background, AltBase ); group.setColor( TQColorGroup::Button, AltBase ); - group.setColor( TQColorGroup::ButtonText, 0xd7d7ef ); + group.setColor( TQColorGroup::ButtonText, 0xffd7d7ef ); // group.setColor( TQColorGroup::Light, TQt::cyan /*lighter than Button color*/ ); // group.setColor( TQColorGroup::Midlight, TQt::blue /*between Button and Light*/ ); @@ -903,8 +903,8 @@ App::applyColorScheme() using namespace Amarok::ColorScheme; Base = Amarok::blue; Text = TQt::white; - Background = 0x002090; - Foreground = 0x80A0FF; + Background = 0xFF002090; + Foreground = 0xFF80A0FF; //all children() derive their palette from this playlistWindow()->setPalette( TQPalette( group, group, group ) );