7#include <QtGui/qtguiglobal.h>
8#include <QtCore/qprocessordetection.h>
19{
return ((
rgb >> 16) & 0xff); }
22{
return ((
rgb >> 8) & 0xff); }
25{
return (
rgb & 0xff); }
31{
return (0xffu << 24) | ((
r & 0xffu) << 16) | ((
g & 0xffu) << 8) | (
b & 0xffu); }
34{
return ((
a & 0xffu) << 24) | ((
r & 0xffu) << 16) | ((
g & 0xffu) << 8) | (
b & 0xffu); }
37{
return (
r*11+
g*16+
b*5)/32; }
49 t = (
t + ((
t >> 8) & 0xff00ff) + 0x800080) >> 8;
52 x = ((
x >> 8) & 0xff) *
a;
53 x = (
x + ((
x >> 8) & 0xff) + 0x80);
55 return x |
t | (
a << 24);
Combined button and popup list for selecting options.
GLboolean GLboolean GLboolean b
GLint GLint GLint GLint GLint x
[0]
GLboolean GLboolean GLboolean GLboolean a
[7]
GLfloat GLfloat GLfloat alpha
constexpr bool qIsGray(QRgb rgb)
QT_BEGIN_NAMESPACE typedef unsigned int QRgb
constexpr QRgb qRgb(int r, int g, int b)
constexpr int qRed(QRgb rgb)
constexpr int qGreen(QRgb rgb)
constexpr int qGray(int r, int g, int b)
QRgb qUnpremultiply(QRgb p)
constexpr QRgb qRgba(int r, int g, int b, int a)
constexpr int qBlue(QRgb rgb)
constexpr QRgb qPremultiply(QRgb x)
constexpr int qAlpha(QRgb rgb)
Q_GUI_EXPORT const uint qt_inv_premul_factor[]