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

List:       kde-commits
Subject:    Re: kdeartwork/styles/plastik
From:       Lukáš_Tinkl <lukas () kde ! org>
Date:       2004-04-23 19:57:16
Message-ID: 200404232157.19715.lukas () kde ! org
[Download RAW message or body]

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

Dne pá 23. dubna 2004 21:30 Sandro Giessl napsal(a):
> CVS commit by giessl:
>
> I forgot these in r 1.60...
>
>
>   M +2 -2      plastik.cpp   1.69
>
>
> --- kdeartwork/styles/plastik/plastik.cpp  #1.68:1.69
> @@ -2641,5 +2641,5 @@ void PlastikStyle::drawComplexControl(Co
>              }
>
> -            if (widget == hoverWidget) {
> +            if ((widget == hoverWidget) || (flags & Style_MouseOver)) {
>                  surfaceFlags |= Is_Highlight;
>                  if(editable) surfaceFlags |=
> Highlight_Left|Highlight_Right; @@ -2658,5 +2658,5 @@ void
> PlastikStyle::drawComplexControl(Co
>                  }
>
> -                if (widget == hoverWidget) {
> +                if ((widget == hoverWidget) || (flags & Style_MouseOver))
> { surfaceFlags |= Is_Highlight;
>                      surfaceFlags |= Highlight_Top|Highlight_Bottom;

Yes, thank you. This is needed eg in KDE NWF for OOo where obviously the 
widget can't be tested - all is done using the QStyle flags.

- -- 
Lukáš Tinkl | lukas@kde.org
KDE i18n maintainer | KOffice developer
http://czechia.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAiXUedfhL7nWSO+4RAgjcAKCIPdHK1YI4jW50F8LkkTRcUQQtzQCcDlnc
BX3jyr2gGaBNjNjVJjE0E08=
=/9fW
-----END PGP SIGNATURE-----

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

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