summaryrefslogtreecommitdiff
path: root/plugins/dfxvideo/draw.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dfxvideo/draw.h')
-rw-r--r--plugins/dfxvideo/draw.h104
1 files changed, 46 insertions, 58 deletions
diff --git a/plugins/dfxvideo/draw.h b/plugins/dfxvideo/draw.h
index a769d795..c5391547 100644
--- a/plugins/dfxvideo/draw.h
+++ b/plugins/dfxvideo/draw.h
@@ -1,58 +1,46 @@
-/***************************************************************************
- draw.h - description
- -------------------
- begin : Sun Oct 28 2001
- copyright : (C) 2001 by Pete Bernert
- email : BlackDove@addcom.de
- ***************************************************************************/
-/***************************************************************************
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. See also the license.txt file for *
- * additional informations. *
- * *
- ***************************************************************************/
-
-#ifndef _GPU_DRAW_H_
-#define _GPU_DRAW_H_
-
-void DoBufferSwap(void);
-void DoClearScreenBuffer(void);
-void DoClearFrontBuffer(void);
-unsigned long ulInitDisplay(void);
-void CloseDisplay(void);
-void CreatePic(unsigned char * pMem);
-void DestroyPic(void);
-void DisplayPic(void);
-void ShowGpuPic(void);
-void ShowTextGpuPic(void);
-
-typedef struct {
-#define MWM_HINTS_DECORATIONS 2
- long flags;
- long functions;
- long decorations;
- long input_mode;
-} MotifWmHints;
-
-#ifdef _WINDOWS
-void MoveScanLineArea(HWND hwnd);
-#endif
-
-#if !defined(_WINDOWS) && !defined (_MACGL)
-extern Display *display;
-extern Window window;
-extern int root_window_id;
-#endif
-
-#ifndef _WINDOWS
-extern char * Xpixels;
-#endif
-
-#include <time.h>
-extern time_t tStart;
-///////////////////////////////////////////////////////////////////////
-
-#endif // _GPU_DRAW_H_
+/***************************************************************************
+ draw.h - description
+ -------------------
+ begin : Sun Oct 28 2001
+ copyright : (C) 2001 by Pete Bernert
+ email : BlackDove@addcom.de
+ ***************************************************************************/
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. See also the license.txt file for *
+ * additional informations. *
+ * *
+ ***************************************************************************/
+
+#ifndef _GPU_DRAW_H_
+#define _GPU_DRAW_H_
+
+void DoBufferSwap(void);
+void DoClearScreenBuffer(void);
+void DoClearFrontBuffer(void);
+unsigned long ulInitDisplay(void);
+void CloseDisplay(void);
+void CreatePic(unsigned char * pMem);
+void DestroyPic(void);
+void DisplayPic(void);
+void ShowGpuPic(void);
+void ShowTextGpuPic(void);
+
+typedef struct {
+#define MWM_HINTS_DECORATIONS 2
+ long flags;
+ long functions;
+ long decorations;
+ long input_mode;
+} MotifWmHints;
+
+#ifdef _WINDOWS
+void MoveScanLineArea(HWND hwnd);
+#endif
+
+///////////////////////////////////////////////////////////////////////
+
+#endif // _GPU_DRAW_H_