📄 photoshow.h
字号:
#ifndef _PHOTOSHOW_H
#define _PHOTOSHOW_H
#define PHOTOSHOW_ACTION_NUM 7
#define PHOTOSHOW_ACTION_NONE 0
#define PHOTOSHOW_ACTION_PLAY 1
#define PHOTOSHOW_ACTION_MODE 2
#define PHOTOSHOW_ACTION_RIGHT 3
#define PHOTOSHOW_ACTION_LEFT 4
#define PHOTOSHOW_ACTION_SD 5
#define PHOTOSHOW_ACTION_USB 6
#define PHOTOSHOW_ACTION_ALARM 7
#define PHO_STATE_NUM 2
#define PHO_STATE_STOP 0
#define PHO_STATE_PLAY 1
#define PHO_STATE_POWEROFF 3
#define PHO_STATE_NOPIC 4
#define PHO_STATE_ERROR 5
//photo play mode
#define PPM_NORMAL 0x00 //play norma jpg and no effect
#define PPM_THUMB 0x10 //play thumbnail (need wait FileEnd)
#define PPM_THUMB_DIR 0x11 //play thumbnail directly (no need wait FileEnd)
//clear blank region, for jpg/pcx/gif only
#define PPM_CBR 0x01
//fit screen, for jpg only
#define PPM_FS 0x02
//silde show effect, for jpg only
#define PPM_SSE_0 0x80
#define PPM_SSE_1 0x81
#define PPM_SSE_2 0x82
#define PPM_SSE_MASK: 0x7f
//thread state
#define TS_STOP 0
#define TS_IN_PLAY 1
#define TS_PLAY 2
#define TS_IN_PAUSE 3
#define TS_PAUSE 4
#define TS_OUT_PAUSE 5
#define TS_IN_STOP 6
#define TS_FF 7
#define TS_IN_FF 8
#define TS_OUT_FBW 9
#define TS_BF 10
#define TS_IN_BF 11
#define TS_FF_INPLAY 12
#define TS_FF_PLAY 13
#define TS_FF_INPAUSE 14
#define TS_BF_INPLAY 15
#define TS_BF_PLAY 16
#define TS_BF_INPAUSE 17
#define TS_BF_PAUSE 18
#define TS_IN_FBW_PAUSE 19
#define TS_FILEEND 20
#define TS_REPEND 21
#define TS_IN_PLAY_ER 23
#define TS_PLAY_ER 24
#define TS_END ffh
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -