Changeset 150 in tspsg-svn for trunk/src/qtwin.cpp
- Timestamp:
- Dec 21, 2010, 2:28:51 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/qtwin.cpp
r116 r150 103 103 return isEnabled; 104 104 } 105 #endif106 105 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 107 112 } 108 113 … … 125 130 bb.dwFlags = DWM_BB_ENABLE; 126 131 bb.hRgnBlur = NULL; 132 #endif 127 133 widget->setAttribute(Qt::WA_TranslucentBackground, enable); 128 134 widget->setAttribute(Qt::WA_NoSystemBackground, enable); 135 #ifdef Q_WS_WIN 129 136 hr = pDwmEnableBlurBehindWindow(widget->winId(), &bb); 130 137 if (SUCCEEDED(hr)) {
Note: See TracChangeset
for help on using the changeset viewer.