www.pudn.com > MyPlayerbylqh.rar > Playa.h


/************************************************************************************** 
 *                                                                                    * 
 *                                                                                    * 
 **************************************************************************************/ 
 
#ifndef PLAYA_H 
#define PLAYA_H 
 
#include  
 
/* 
 * 选项的类型 
 * 
 */ 
 
typedef enum { 
 
	ASPECT_RATIO_FREE = 0, 
	ASPECT_RATIO_ORIGINAL, 
	ASPECT_RATIO_TV, 
	ASPECT_RATIO_WIDE, 
	ASPECT_RATIO_CUSTOM, 
 
} aspect_ratio_t; 
 
 
#define DEFAULT_SKIN_WIDTH  300  
#define DEFAULT_SKIN_HEIGHT 375 
 
typedef struct _options_t { 
 
	DWORD          loop;  
	DWORD          on_top; 
	DWORD          use_bilinear; 
	DWORD          change_fullscreen_res; 
	aspect_ratio_t aspect_ratio; 
	DWORD          disable_screen_saver; 
	DWORD          save_pos; 
	DWORD          posX; 
	DWORD          posY; 
	DWORD          postprocessing; 
	DWORD          startFullscreen; 
 
} options_t; 
 
extern options_t options; 
 
#endif