aboutsummaryrefslogtreecommitdiff
path: root/DPHOOK.H
diff options
context:
space:
mode:
Diffstat (limited to 'DPHOOK.H')
-rw-r--r--DPHOOK.H16
1 files changed, 16 insertions, 0 deletions
diff --git a/DPHOOK.H b/DPHOOK.H
new file mode 100644
index 0000000..bd80843
--- /dev/null
+++ b/DPHOOK.H
@@ -0,0 +1,16 @@
+/*----------------------------------------------------------------------*/
+/* */
+/* dphook.h */
+/* */
+/*----------------------------------------------------------------------*/
+
+typedef struct {
+ struct BitMap *bitmap; /* the bitmap to be shared by DPaint */
+ struct BitMap *dpScreenBitMap; /* DPaint's screen bitmap */
+ struct ViewPort *vport; /* DPaint's ViewPort */
+ SHORT format; /* 0: 320x200, 1:640x200, 2: 640x400 */
+ SHORT refCount; /* initialize to zero: don't free bitmap if > 0 */
+ SHORT version; /* = 1 for DPaint version 1.0 */
+ BMOB *brush; /* pointer to DPaints brush: for possible
+ future enhancements */
+ } DPHook;