Playa.h
上传用户:tuheem
上传日期:2007-05-01
资源大小:21889k
文件大小:1k
源码类别:

多媒体编程

开发平台:

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