Playa.h
上传用户:hxb_1234
上传日期:2010-03-30
资源大小:8328k
文件大小:1k
源码类别:

VC书籍

开发平台:

Visual C++

  1. /**************************************************************************************
  2.  *                                                                                    *
  3.  *                                                                                    *
  4.  **************************************************************************************/
  5. #ifndef PLAYA_H
  6. #define PLAYA_H
  7. #include <windows.h>
  8. /*
  9.  * 选项的类型
  10.  *
  11.  */
  12. typedef enum {
  13. ASPECT_RATIO_FREE = 0,
  14. ASPECT_RATIO_ORIGINAL,
  15. ASPECT_RATIO_TV,
  16. ASPECT_RATIO_WIDE,
  17. ASPECT_RATIO_CUSTOM,
  18. } aspect_ratio_t;
  19. #define DEFAULT_SKIN_WIDTH  300 
  20. #define DEFAULT_SKIN_HEIGHT 375
  21. typedef struct _options_t {
  22. DWORD          loop; 
  23. DWORD          on_top;
  24. DWORD          use_bilinear;
  25. DWORD          change_fullscreen_res;
  26. aspect_ratio_t aspect_ratio;
  27. DWORD          disable_screen_saver;
  28. DWORD          save_pos;
  29. DWORD          posX;
  30. DWORD          posY;
  31. DWORD          postprocessing;
  32. DWORD          startFullscreen;
  33. } options_t;
  34. extern options_t options;
  35. #endif