| 67ad051 by Lars Knoll at 2009-03-23 | 1 | /**************************************************************************** |
| 2 | ** |
|
| 89c08c0 by Jason McDonald at 2012-01-11 | 3 | ** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies). |
| 04e3b30 by Jason McDonald at 2009-09-09 | 4 | ** All rights reserved. |
| 858c70f by Jason McDonald at 2009-06-16 | 5 | ** Contact: Nokia Corporation (qt-info@nokia.com) |
| 67ad051 by Lars Knoll at 2009-03-23 | 6 | ** |
| 7 | ** This file is part of the QtCore module of the Qt Toolkit. |
|
| 8 | ** |
|
| 9 | ** $QT_BEGIN_LICENSE:LGPL$ |
|
| 10 | ** GNU Lesser General Public License Usage |
|
| 1eea52e by Jyri Tahtela at 2011-05-13 | 11 | ** This file may be used under the terms of the GNU Lesser General Public |
| 12 | ** License version 2.1 as published by the Free Software Foundation and |
|
| 13 | ** appearing in the file LICENSE.LGPL included in the packaging of this |
|
| 14 | ** file. Please review the following information to ensure the GNU Lesser |
|
| 15 | ** General Public License version 2.1 requirements will be met: |
|
| 16 | ** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. |
|
| 67ad051 by Lars Knoll at 2009-03-23 | 17 | ** |
| 04e3b30 by Jason McDonald at 2009-09-09 | 18 | ** In addition, as a special exception, Nokia gives you certain additional |
| 1eea52e by Jyri Tahtela at 2011-05-13 | 19 | ** rights. These rights are described in the Nokia Qt LGPL Exception |
| 04e3b30 by Jason McDonald at 2009-09-09 | 20 | ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. |
| 67ad051 by Lars Knoll at 2009-03-23 | 21 | ** |
| 1eea52e by Jyri Tahtela at 2011-05-13 | 22 | ** GNU General Public License Usage |
| 23 | ** Alternatively, this file may be used under the terms of the GNU General |
|
| 24 | ** Public License version 3.0 as published by the Free Software Foundation |
|
| 25 | ** and appearing in the file LICENSE.GPL included in the packaging of this |
|
| 26 | ** file. Please review the following information to ensure the GNU General |
|
| 27 | ** Public License version 3.0 requirements will be met: |
|
| 28 | ** http://www.gnu.org/copyleft/gpl.html. |
|
| 29 | ** |
|
| 30 | ** Other Usage |
|
| 31 | ** Alternatively, this file may be used in accordance with the terms and |
|
| 32 | ** conditions contained in a signed written agreement between you and Nokia. |
|
| 309db73 by Jason McDonald at 2009-08-31 | 33 | ** |
| 34 | ** |
|
| 35 | ** |
|
| 36 | ** |
|
| 67ad051 by Lars Knoll at 2009-03-23 | 37 | ** |
| 38 | ** $QT_END_LICENSE$ |
|
| 39 | ** |
|
| 40 | ****************************************************************************/ |
|
| 41 | ||
| 42 | #ifndef QT_WINDOWS_H |
|
| 43 | #define QT_WINDOWS_H |
|
| 44 | ||
| 45 | #if defined(Q_CC_BOR) |
|
| 46 | // Borland's windows.h does not set these correctly, resulting in |
|
| 47 | // unusable WinSDK standard dialogs |
|
| 48 | #ifndef WINVER |
|
| 49 | #define WINVER 0x400 |
|
| 50 | #endif |
|
| 51 | #ifndef _WIN32_WINNT |
|
| 52 | #define _WIN32_WINNT 0x400 |
|
| 53 | #endif |
|
| 54 | #endif |
|
| 55 | ||
| b69a8a9 by Thierry Bastian at 2009-08-26 | 56 | #if defined(Q_CC_MINGW) |
| 57 | // mingw's windows.h does not set _WIN32_WINNT, resulting breaking compilation |
|
| 58 | #ifndef WINVER |
|
| 59 | #define WINVER 0x500 |
|
| 60 | #endif |
|
| 61 | #endif |
|
| 62 | ||
| 67ad051 by Lars Knoll at 2009-03-23 | 63 | #include <windows.h> |
| 64 | ||
| 65 | #ifdef _WIN32_WCE |
|
| 66 | #include <ceconfig.h> |
|
| 67 | #endif |
|
| 68 | ||
| 69 | // already defined when compiled with WINVER >= 0x0500 |
|
| 70 | #ifndef SPI_SETMENUANIMATION |
|
| 71 | #define SPI_SETMENUANIMATION 0x1003 |
|
| 72 | #endif |
|
| 73 | #ifndef SPI_SETMENUFADE |
|
| 74 | #define SPI_SETMENUFADE 0x1013 |
|
| 75 | #endif |
|
| 76 | #ifndef SPI_SETCOMBOBOXANIMATION |
|
| 77 | #define SPI_SETCOMBOBOXANIMATION 0x1005 |
|
| 78 | #endif |
|
| 79 | #ifndef SPI_SETTOOLTIPANIMATION |
|
| 80 | #define SPI_SETTOOLTIPANIMATION 0x1017 |
|
| 81 | #endif |
|
| 82 | #ifndef SPI_SETTOOLTIPFADE |
|
| 83 | #define SPI_SETTOOLTIPFADE 0x1019 |
|
| 84 | #endif |
|
| 85 | #ifndef SPI_SETUIEFFECTS |
|
| 86 | #define SPI_SETUIEFFECTS 0x103F |
|
| 87 | #endif |
|
| 88 | #ifndef SPI_GETMENUANIMATION |
|
| 89 | #define SPI_GETMENUANIMATION 0x1002 |
|
| 90 | #endif |
|
| 91 | #ifndef SPI_GETMENUFADE |
|
| 92 | #define SPI_GETMENUFADE 0x1012 |
|
| 93 | #endif |
|
| 94 | #ifndef SPI_GETCOMBOBOXANIMATION |
|
| 95 | #define SPI_GETCOMBOBOXANIMATION 0x1004 |
|
| 96 | #endif |
|
| 97 | #ifndef SPI_GETTOOLTIPANIMATION |
|
| 98 | #define SPI_GETTOOLTIPANIMATION 0x1016 |
|
| 99 | #endif |
|
| 100 | #ifndef SPI_GETTOOLTIPFADE |
|
| 101 | #define SPI_GETTOOLTIPFADE 0x1018 |
|
| 102 | #endif |
|
| 103 | #ifndef SPI_GETUIEFFECTS |
|
| 104 | #define SPI_GETUIEFFECTS 0x103E |
|
| 105 | #endif |
|
| 106 | #ifndef SPI_GETKEYBOARDCUES |
|
| 107 | #define SPI_GETKEYBOARDCUES 0x100A |
|
| 108 | #endif |
|
| 8a7fb18 by miniak at 2009-07-01 | 109 | #ifndef SPI_GETGRADIENTCAPTIONS |
| 110 | #define SPI_GETGRADIENTCAPTIONS 0x1008 |
|
| 111 | #endif |
|
| 67ad051 by Lars Knoll at 2009-03-23 | 112 | #ifndef IDC_HAND |
| 113 | #define IDC_HAND MAKEINTRESOURCE(32649) |
|
| 114 | #endif |
|
| 115 | #ifndef WM_MOUSEWHEEL |
|
| 116 | #define WM_MOUSEWHEEL 0x020A |
|
| 117 | #endif |
|
| f04af57 by miniak at 2009-06-05 | 118 | #ifndef WM_MOUSEHWHEEL |
| 119 | #define WM_MOUSEHWHEEL 0x020E |
|
| 120 | #endif |
|
| 67ad051 by Lars Knoll at 2009-03-23 | 121 | #ifndef ETO_PDY |
| 122 | #define ETO_PDY 0x2000 |
|
| 123 | #endif |
|
| 8a7fb18 by miniak at 2009-07-01 | 124 | #ifndef COLOR_GRADIENTACTIVECAPTION |
| 125 | #define COLOR_GRADIENTACTIVECAPTION 27 |
|
| 126 | #endif |
|
| 127 | #ifndef COLOR_GRADIENTINACTIVECAPTION |
|
| 128 | #define COLOR_GRADIENTINACTIVECAPTION 28 |
|
| 129 | #endif |
|
| 67ad051 by Lars Knoll at 2009-03-23 | 130 | |
| 5513790 by miniak at 2009-07-01 | 131 | // already defined when compiled with WINVER >= 0x0600 |
| 132 | #ifndef SPI_GETFLATMENU |
|
| 133 | #define SPI_GETFLATMENU 0x1022 |
|
| 134 | #endif |
|
| 135 | #ifndef CS_DROPSHADOW |
|
| 136 | #define CS_DROPSHADOW 0x00020000 |
|
| 137 | #endif |
|
| 138 | #ifndef CLEARTYPE_QUALITY |
|
| 139 | #define CLEARTYPE_QUALITY 5 |
|
| 140 | #endif |
|
| 141 | ||
| 142 | #ifdef Q_WS_WINCE |
|
| 143 | #ifndef LR_DEFAULTSIZE |
|
| 144 | #define LR_DEFAULTSIZE 0 |
|
| 145 | #endif |
|
| 146 | #ifndef LR_SHARED |
|
| 147 | #define LR_SHARED 0 |
|
| 148 | #endif |
|
| 149 | #endif // Q_WS_WINCE |
|
| 150 | ||
| 67ad051 by Lars Knoll at 2009-03-23 | 151 | #endif // QT_WINDOWS_H |

