aMule Forum
English => aMule Help => Topic started by: dnk on March 13, 2006, 04:32:06 PM
-
The problem I have is that selected files in the downloads screen are highlighted with white text color in light pink background, and thus they cannot be correctly read. :(
I have been searching whether anyone has reported that problem and found nothing.
I have downloaded the CVS version to see the code (I use a precompiled package) and it seems that aMule is using wxWidgets' wxSYS_COLOUR_HIGHLIGHT to set it, but I don know how to change that color (without changing the code, that is). Any clue? ?(
-
change your gtk theme...
-
Hum, I have found a related message in the forum, entitled "debian sid - yellow selection, not saved priority" (for the title I could not imagine). The proposed solution there is:
But I have changed "Color scheme" in Control Center -> Appearance & Themes -> Colors -> Color Scheme and everything is ok now.
The problem is that in my Ubuntu you have not the posibility of changing colors (they think you better do not change anything because you can make it bad :().
Anyway, I think that this is an amule bug, because the program should ensure that the text color is readable within the background color, isn't it?
Any hint for ubuntu users? ?(
-
Originally posted by dnk
Anyway, I think that this is an amule bug, because the program should ensure that the text color is readable within the background color, isn't it?
No, it still is a "bug" in your GTK theme. Amule simply uses that theme. I have no idea about ubuntu, but searching for keywords like "gtk theme switcher" might help you.
-
btw with normal gtk-apps you need to restart the x-server for changed to take effect
and amule does not really care what colours you use, its basically your decicion...so amule cannot figure out whats redeable for you and what not
-
OK, I have changed the overall theme, but I don't think this should be that way. Thankyou in any case.
-
In my case I just have ro restart amule to see the changes.
Just to justify my point look at the source code which handles the selected file colors:
wxColour colour = BLEND( SYSCOLOR( wxSYS_COLOUR_HIGHLIGHT ), 125 );
m_hilightBrush = new wxBrush( colour, wxSOLID );
It is changing the selected background color, and thus when later sets the background and text color:
dc->SetBackground(*m_hilightBrush);
dc->SetTextForeground(wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHTTEXT));
the contrast of the colors may be changed.