Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
SubtitlesStyle.h File Reference
#include "utils/ColorUtils.h"
#include <string>

Classes

struct  KODI::SUBTITLES::STYLE::style
 
struct  KODI::SUBTITLES::STYLE::subtitleOpts
 
struct  KODI::SUBTITLES::STYLE::renderOpts
 

Namespaces

namespace  KODI
 
namespace  KODI::SUBTITLES
 
namespace  KODI::SUBTITLES::STYLE
 

Enumerations

enum class  KODI::SUBTITLES::STYLE::HorizontalAlign { KODI::SUBTITLES::STYLE::DISABLED = 0 , KODI::SUBTITLES::STYLE::LEFT , KODI::SUBTITLES::STYLE::CENTER , KODI::SUBTITLES::STYLE::RIGHT }
 
enum class  KODI::SUBTITLES::STYLE::FontAlign {
  KODI::SUBTITLES::STYLE::TOP_LEFT = 0 , KODI::SUBTITLES::STYLE::TOP_CENTER , KODI::SUBTITLES::STYLE::TOP_RIGHT , KODI::SUBTITLES::STYLE::MIDDLE_LEFT ,
  KODI::SUBTITLES::STYLE::MIDDLE_CENTER , KODI::SUBTITLES::STYLE::MIDDLE_RIGHT , KODI::SUBTITLES::STYLE::SUB_LEFT , KODI::SUBTITLES::STYLE::SUB_CENTER ,
  KODI::SUBTITLES::STYLE::SUB_RIGHT
}
 
enum class  KODI::SUBTITLES::STYLE::FontStyle { KODI::SUBTITLES::STYLE::NORMAL = 0 , KODI::SUBTITLES::STYLE::BOLD , KODI::SUBTITLES::STYLE::ITALIC , KODI::SUBTITLES::STYLE::BOLD_ITALIC }
 
enum class  KODI::SUBTITLES::STYLE::BorderType { KODI::SUBTITLES::STYLE::OUTLINE_NO_SHADOW , KODI::SUBTITLES::STYLE::OUTLINE , KODI::SUBTITLES::STYLE::BOX , KODI::SUBTITLES::STYLE::SQUARE_BOX }
 
enum class  KODI::SUBTITLES::STYLE::OverrideStyles { KODI::SUBTITLES::STYLE::DISABLED = 0 , KODI::SUBTITLES::STYLE::POSITIONS , KODI::SUBTITLES::STYLE::STYLES , KODI::SUBTITLES::STYLE::STYLES_POSITIONS }
 
enum class  KODI::SUBTITLES::STYLE::MarginsMode { KODI::SUBTITLES::STYLE::DEFAULT , KODI::SUBTITLES::STYLE::INSIDE_VIDEO , KODI::SUBTITLES::STYLE::DISABLED }
 

Variables

constexpr double KODI::SUBTITLES::STYLE::VIEWPORT_HEIGHT = 1080.0
 
constexpr double KODI::SUBTITLES::STYLE::VIEWPORT_WIDTH = 1920.0
 
constexpr int KODI::SUBTITLES::STYLE::MARGIN_VERTICAL = 75