diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-07-17 10:09:10 (GMT) |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2009-07-17 10:19:42 (GMT) |
commit | bb5692384aef0b87362966609b8fd58c0974e4b5 (patch) | |
tree | 5427c615af08cc9455193fce5b0cd72e83ab20d5 /dist/changes-2.00beta1 | |
parent | 4652f0e0a03083b5baa1488237084333b134c516 (diff) | |
download | Qt-bb5692384aef0b87362966609b8fd58c0974e4b5.zip Qt-bb5692384aef0b87362966609b8fd58c0974e4b5.tar.gz Qt-bb5692384aef0b87362966609b8fd58c0974e4b5.tar.bz2 |
Clean up directfb bit flipping
DirectFB declares variables that are bit fields as enums.
E.g.
DFBSurfaceCapabilities caps;
caps |= DSCAPS_LOCK; // doesn't compile in C++
Work around this problem by declaring operators for these operations.
This greatly improves the readability of the code.
Reviewed-by: TrustMe
Diffstat (limited to 'dist/changes-2.00beta1')
0 files changed, 0 insertions, 0 deletions