时间戳类型OSD持久化参数
#include "MediaInfOsd.hpp"
◆ size
| int Emx::MediaInfOsd::ParamTime::size |
◆ thickness
| int Emx::MediaInfOsd::ParamTime::thickness |
◆ font
| char Emx::MediaInfOsd::ParamTime::font[64] |
◆ formatString
| char Emx::MediaInfOsd::ParamTime::formatString[128] |
时间显示格式,eg:Zy-m-d H:M:S 第一字节表示中英文显示:Z=中文,E=英文 y:年 m:月 d:日 w:星期 H:24小时制小时 h:24小时制小时 P:12小时制PM或AM显示 p:12小时制pm或am显示 M:分钟 S:秒 %:转义符 其他非上述字符显示为原字符
◆ weekFormat
| char Emx::MediaInfOsd::ParamTime::weekFormat[7][16] |
星期显示格式,下标0到6从星期日到星期六 eg:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]
◆ color
| uint32_t Emx::MediaInfOsd::ParamTime::color |
◆ autoSwitchColor
| bool Emx::MediaInfOsd::ParamTime::autoSwitchColor |