| 1 | /*************************************************************************** |
| 2 | draw.h - description |
| 3 | ------------------- |
| 4 | begin : Sun Oct 28 2001 |
| 5 | copyright : (C) 2001 by Pete Bernert |
| 6 | email : BlackDove@addcom.de |
| 7 | ***************************************************************************/ |
| 8 | /*************************************************************************** |
| 9 | * * |
| 10 | * This program is free software; you can redistribute it and/or modify * |
| 11 | * it under the terms of the GNU General Public License as published by * |
| 12 | * the Free Software Foundation; either version 2 of the License, or * |
| 13 | * (at your option) any later version. See also the license.txt file for * |
| 14 | * additional informations. * |
| 15 | * * |
| 16 | ***************************************************************************/ |
| 17 | |
| 18 | #ifndef _GPU_DRAW_H_ |
| 19 | #define _GPU_DRAW_H_ |
| 20 | |
| 21 | void DoBufferSwap(void); |
| 22 | void DoClearScreenBuffer(void); |
| 23 | void DoClearFrontBuffer(void); |
| 24 | unsigned long ulInitDisplay(void); |
| 25 | void CloseDisplay(void); |
| 26 | void CreatePic(unsigned char * pMem); |
| 27 | void DestroyPic(void); |
| 28 | void DisplayPic(void); |
| 29 | void ShowGpuPic(void); |
| 30 | void ShowTextGpuPic(void); |
| 31 | |
| 32 | typedef struct { |
| 33 | #define MWM_HINTS_DECORATIONS 2 |
| 34 | long flags; |
| 35 | long functions; |
| 36 | long decorations; |
| 37 | long input_mode; |
| 38 | } MotifWmHints; |
| 39 | |
| 40 | #ifdef _WINDOWS |
| 41 | void MoveScanLineArea(HWND hwnd); |
| 42 | #endif |
| 43 | |
| 44 | /////////////////////////////////////////////////////////////////////// |
| 45 | |
| 46 | #endif // _GPU_DRAW_H_ |