Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
687 B

  1. #ifndef __GLDDINT_HXX__
  2. #define __GLDDINT_HXX__
  3. typedef struct _GLDDWINDOW *GLDDWINDOW;
  4. #define __GLDD_INTERNAL__
  5. #include <gldd.h>
  6. struct _GLDDWINDOW
  7. {
  8. _GLDDWINDOW(void);
  9. BOOL Create(char *pszTitle, int x, int y,
  10. int iWidth, int iHeight, int iDepth,
  11. DWORD dwFlags);
  12. ~_GLDDWINDOW(void);
  13. HWND _hwnd;
  14. HGLRC _hrc;
  15. LPDIRECTDRAWPALETTE _pddp;
  16. LPDIRECTDRAWCLIPPER _pddc;
  17. LPDIRECTDRAWSURFACE _pddsFront;
  18. LPDIRECTDRAWSURFACE _pddsBack;
  19. LPDIRECTDRAWSURFACE _pddsZ;
  20. DWORD _dwFlags;
  21. int _iWidth;
  22. int _iHeight;
  23. GLDDIDLECALLBACK _cbIdle;
  24. GLDDMESSAGECALLBACK _cbMessage;
  25. };
  26. #endif // __GLDDINT_HXX__