playa.h

来自「VC++视频开发实例集锦(包括“远程视频监控”"语音识别系统&quot」· C头文件 代码 · 共 48 行

H
48
字号
/**************************************************************************************
 *                                                                                    *
 *                                                                                    *
 **************************************************************************************/

#ifndef PLAYA_H
#define PLAYA_H

#include <windows.h>

/*
 * 选项的类型
 *
 */

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 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?