equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the QtGui module of the Qt Toolkit. |
7 ** This file is part of the QtGui module of the Qt Toolkit. |
8 ** |
8 ** |
340 The cursor \a bitmap (B) and \a mask (M) bits are combined like this: |
340 The cursor \a bitmap (B) and \a mask (M) bits are combined like this: |
341 \list |
341 \list |
342 \o B=1 and M=1 gives black. |
342 \o B=1 and M=1 gives black. |
343 \o B=0 and M=1 gives white. |
343 \o B=0 and M=1 gives white. |
344 \o B=0 and M=0 gives transparent. |
344 \o B=0 and M=0 gives transparent. |
345 \o B=1 and M=0 gives an XOR'd result. |
345 \o B=1 and M=0 gives an XOR'd result under Windows, undefined |
|
346 results on all other platforms. |
346 \endlist |
347 \endlist |
347 |
348 |
348 Use the global Qt color Qt::color0 to draw 0-pixels and Qt::color1 to |
349 Use the global Qt color Qt::color0 to draw 0-pixels and Qt::color1 to |
349 draw 1-pixels in the bitmaps. |
350 draw 1-pixels in the bitmaps. |
350 |
351 |