diff options
author | Norwegian Rock Cat <qt-info@nokia.com> | 2009-03-25 13:23:14 (GMT) |
---|---|---|
committer | Norwegian Rock Cat <qt-info@nokia.com> | 2009-03-25 13:30:09 (GMT) |
commit | 9b40f0275043566a6e1f1471e1f608dd66929b81 (patch) | |
tree | e9419b37ac0d079cff9b26d0dfb520d59919948b | |
parent | 21560a591358512fe321b07b49dbbcfab7ea355d (diff) | |
download | Qt-9b40f0275043566a6e1f1471e1f608dd66929b81.zip Qt-9b40f0275043566a6e1f1471e1f608dd66929b81.tar.gz Qt-9b40f0275043566a6e1f1471e1f608dd66929b81.tar.bz2 |
Add in some enums from Snow Leopard.
I'm not using these yet, but we will eventually be making use of these
in the buttons. Since they are enums, they don't add any symbols and can
be safely added now.
-rw-r--r-- | src/gui/styles/qmacstyle_mac.mm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/styles/qmacstyle_mac.mm b/src/gui/styles/qmacstyle_mac.mm index 8b60489..08d6fed 100644 --- a/src/gui/styles/qmacstyle_mac.mm +++ b/src/gui/styles/qmacstyle_mac.mm @@ -125,6 +125,13 @@ static const QColor titlebarSeparatorLineInactive(131, 131, 131); static const QColor mainWindowGradientBegin(240, 240, 240); static const QColor mainWindowGradientEnd(200, 200, 200); +#if (MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_5) +enum { + kThemePushButtonTextured = 31, + kThemePushButtonTexturedSmall = 32, + kThemePushButtonTexturedMini = 33 +}; +#endif // Resolve these at run-time, since the functions was moved in Leopard. typedef HIRect * (*PtrHIShapeGetBounds)(HIShapeRef, HIRect *); |