summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-02-26 13:58:33 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-02-26 14:38:49 +0000
commit08cb6e93cc8120b7b86ada52048e4c243828c2d8 (patch)
tree96695bba6c4255ade344576445e85e0c2aa30528 /include/vcl
parent5e5b90c12862b522a4553337fbf6309bb8278b8c (diff)
expand this 1980's shift-fest, torture-by-ternery and magic '3' into human
Change-Id: Ifb18d5fd0b330dde0edc428621af417ddc836b21
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/dibtools.hxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/vcl/dibtools.hxx b/include/vcl/dibtools.hxx
index a43764faa321..ddd7c87a2bc7 100644
--- a/include/vcl/dibtools.hxx
+++ b/include/vcl/dibtools.hxx
@@ -24,14 +24,20 @@
#include <tools/rc.hxx>
#include <vcl/region.hxx>
-
// predefines
class SvStream;
class BitmapEx;
class Bitmap;
+// - Compression defines
+#define COMPRESS_OWN ('S'|('D'<<8UL))
+#define COMPRESS_NONE ( 0UL )
+#define RLE_8 ( 1UL )
+#define RLE_4 ( 2UL )
+#define BITFIELDS ( 3UL )
+#define ZCOMPRESS ( COMPRESS_OWN | 0x01000000UL ) /* == 'SD01' (binary) */
bool VCL_DLLPUBLIC ReadDIB( // ReadDIB(rBitmap, rIStm, true);
Bitmap& rTarget,