[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdebase/konqueror
From:       "Aaron J. Seigo" <aseigo () olympusproject ! org>
Date:       2003-05-31 18:10:38
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 29 May 2003 02:47, Stephan Binner wrote:
> +void KonqViewManager::setLoading( KonqView *view, bool loading ) {
> +  if ( m_pDocContainer->frameType() == "Tabs" ) {
> +    QColor color;
> +    if ( loading )
> +      color = QColor( "red" );
> +    else
> +    {
> +      if ( m_pMainWindow->currentView() != view )
> +        color = QColor( "blue" );
> +      else
> +        color = QColor( "black" );
> +    }
> +    static_cast<KonqFrameTabs*>( docContainer())->setTabColor(
> view->frame(), color ); +  }
> +}
> +

how well do these hard coded colors work on different colour schemes?


- -- 
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE: The 'K' is for 'kick ass'
http://www.kde.org       http://promo.kde.org/3.1/feature_guide.php
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE+2PAe1rcusafx20MRAoL7AJsF5z4UxQKXBOV0nXRqB6R16inZxgCgjoEO
8tFfI4f9DW1dRhio6ptMpbU=
=Hty/
-----END PGP SIGNATURE-----

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic