Fix see-through background in funky-monkey style when ARGB visuals are in use

pull/1/head
Timothy Pearson 12 years ago
parent abf76b5bd7
commit 741cb0e576

@ -30,7 +30,7 @@ namespace Amarok
{ {
const int VOLUME_MAX = 100; const int VOLUME_MAX = 100;
const int SCOPE_SIZE = 9; //= 2**9 = 512 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 VOLUME_SENSITIVITY = 30; //for mouse wheels
const int GUI_THREAD_ID = 0; const int GUI_THREAD_ID = 0;

@ -876,13 +876,13 @@ App::applyColorScheme()
AltBase.setRgb( 57, 64, 98 ); AltBase.setRgb( 57, 64, 98 );
group.setColor( TQColorGroup::Text, TQt::white ); group.setColor( TQColorGroup::Text, TQt::white );
group.setColor( TQColorGroup::Link, 0xCCCCCC ); group.setColor( TQColorGroup::Link, 0xFFCCCCCC );
group.setColor( TQColorGroup::Base, bg ); group.setColor( TQColorGroup::Base, bg );
group.setColor( TQColorGroup::Foreground, 0xd7d7ef ); group.setColor( TQColorGroup::Foreground, 0xffd7d7ef );
group.setColor( TQColorGroup::Background, AltBase ); group.setColor( TQColorGroup::Background, AltBase );
group.setColor( TQColorGroup::Button, 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::Light, TQt::cyan /*lighter than Button color*/ );
// group.setColor( TQColorGroup::Midlight, TQt::blue /*between Button and Light*/ ); // group.setColor( TQColorGroup::Midlight, TQt::blue /*between Button and Light*/ );
@ -903,8 +903,8 @@ App::applyColorScheme()
using namespace Amarok::ColorScheme; using namespace Amarok::ColorScheme;
Base = Amarok::blue; Base = Amarok::blue;
Text = TQt::white; Text = TQt::white;
Background = 0x002090; Background = 0xFF002090;
Foreground = 0x80A0FF; Foreground = 0xFF80A0FF;
//all children() derive their palette from this //all children() derive their palette from this
playlistWindow()->setPalette( TQPalette( group, group, group ) ); playlistWindow()->setPalette( TQPalette( group, group, group ) );

Loading…
Cancel
Save