Changeset b8a2a118c4 in tspsg for src/qtwin.cpp


Ignore:
Timestamp:
Dec 21, 2010, 2:28:51 PM (13 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
bfe1e5e2ea
Parents:
9eb63a1598
git-author:
Oleksii Serdiuk <contacts@…> (12/21/10 14:28:51)
git-committer:
Oleksii Serdiuk <contacts@…> (06/29/12 19:45:58)
Message:
  • Translucency effect is now available on all desktop platforms. No check for its support by window system is made at this moment. Blur is only available in Windows Vista or higher.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/qtwin.cpp

    r9eb63a1598 rb8a2a118c4  
    103103            return isEnabled;
    104104    }
    105 #endif
    106105    return false;
     106#elif !defined(HANDHELD)
     107    //! \todo TODO: Check for trsnsparency support in other OSes.
     108    return true;
     109#else
     110    return false;
     111#endif
    107112}
    108113
     
    125130        bb.dwFlags = DWM_BB_ENABLE;
    126131        bb.hRgnBlur = NULL;
     132#endif
    127133        widget->setAttribute(Qt::WA_TranslucentBackground, enable);
    128134        widget->setAttribute(Qt::WA_NoSystemBackground, enable);
     135#ifdef Q_WS_WIN
    129136        hr = pDwmEnableBlurBehindWindow(widget->winId(), &bb);
    130137        if (SUCCEEDED(hr)) {
Note: See TracChangeset for help on using the changeset viewer.