vdr 2.6.9
Classes | Macros | Functions | Variables
skinsttng.c File Reference
#include "skinsttng.h"
#include "font.h"
#include "osd.h"
#include "menu.h"
#include "themes.h"
#include "videodir.h"
#include "symbols/arrowdown.xpm"
#include "symbols/arrowup.xpm"
#include "symbols/audio.xpm"
#include "symbols/audioleft.xpm"
#include "symbols/audioright.xpm"
#include "symbols/audiostereo.xpm"
#include "symbols/dolbydigital.xpm"
#include "symbols/encrypted.xpm"
#include "symbols/ffwd.xpm"
#include "symbols/ffwd1.xpm"
#include "symbols/ffwd2.xpm"
#include "symbols/ffwd3.xpm"
#include "symbols/frew.xpm"
#include "symbols/frew1.xpm"
#include "symbols/frew2.xpm"
#include "symbols/frew3.xpm"
#include "symbols/mute.xpm"
#include "symbols/pause.xpm"
#include "symbols/play.xpm"
#include "symbols/radio.xpm"
#include "symbols/recording.xpm"
#include "symbols/sfwd.xpm"
#include "symbols/sfwd1.xpm"
#include "symbols/sfwd2.xpm"
#include "symbols/sfwd3.xpm"
#include "symbols/srew.xpm"
#include "symbols/srew1.xpm"
#include "symbols/srew2.xpm"
#include "symbols/srew3.xpm"
#include "symbols/teletext.xpm"
#include "symbols/volume.xpm"

Go to the source code of this file.

Classes

class  cSkinSTTNGDisplayChannel
 
class  cSkinSTTNGDisplayMenu
 
class  cSkinSTTNGDisplayReplay
 
class  cSkinSTTNGDisplayVolume
 
class  cSkinSTTNGDisplayTracks
 
class  cSkinSTTNGDisplayMessage
 

Macros

#define Roundness   (Setup.FontOsdSize / 2)
 
#define Gap   (Setup.FontOsdSize / 5)
 
#define ScrollWidth   (Setup.FontOsdSize / 4)
 
#define TextFrame   (Setup.FontOsdSize / 10)
 
#define TextSpacing   (Setup.FontOsdSize / 4)
 
#define SymbolSpacing   (Setup.FontOsdSize / 4)
 

Functions

 THEME_CLR (Theme, clrBackground, clrGray50)
 
 THEME_CLR (Theme, clrButtonRedFg, clrWhite)
 
 THEME_CLR (Theme, clrButtonRedBg, clrRed)
 
 THEME_CLR (Theme, clrButtonGreenFg, clrBlack)
 
 THEME_CLR (Theme, clrButtonGreenBg, clrGreen)
 
 THEME_CLR (Theme, clrButtonYellowFg, clrBlack)
 
 THEME_CLR (Theme, clrButtonYellowBg, clrYellow)
 
 THEME_CLR (Theme, clrButtonBlueFg, clrWhite)
 
 THEME_CLR (Theme, clrButtonBlueBg, clrBlue)
 
 THEME_CLR (Theme, clrMessageFrame, clrYellow)
 
 THEME_CLR (Theme, clrMessageStatusFg, clrBlack)
 
 THEME_CLR (Theme, clrMessageStatusBg, clrCyan)
 
 THEME_CLR (Theme, clrMessageInfoFg, clrBlack)
 
 THEME_CLR (Theme, clrMessageInfoBg, clrGreen)
 
 THEME_CLR (Theme, clrMessageWarningFg, clrBlack)
 
 THEME_CLR (Theme, clrMessageWarningBg, clrYellow)
 
 THEME_CLR (Theme, clrMessageErrorFg, clrWhite)
 
 THEME_CLR (Theme, clrMessageErrorBg, clrRed)
 
 THEME_CLR (Theme, clrVolumeFrame, clrYellow)
 
 THEME_CLR (Theme, clrVolumeSymbol, clrBlack)
 
 THEME_CLR (Theme, clrVolumeBarUpper, 0xFFBC8024)
 
 THEME_CLR (Theme, clrVolumeBarLower, 0xFF248024)
 
 THEME_CLR (Theme, clrChannelFrame, clrYellow)
 
 THEME_CLR (Theme, clrChannelName, clrBlack)
 
 THEME_CLR (Theme, clrChannelDate, clrBlack)
 
 THEME_CLR (Theme, clrChannelSymbolOn, clrBlack)
 
 THEME_CLR (Theme, clrChannelSymbolOff, 0xFFBC8024)
 
 THEME_CLR (Theme, clrChannelSymbolRecFg, clrWhite)
 
 THEME_CLR (Theme, clrChannelSymbolRecBg, clrRed)
 
 THEME_CLR (Theme, clrChannelEpgTime, clrBlack)
 
 THEME_CLR (Theme, clrChannelEpgTitle, clrCyan)
 
 THEME_CLR (Theme, clrChannelEpgShortText, clrYellow)
 
 THEME_CLR (Theme, clrChannelTimebarSeen, clrYellow)
 
 THEME_CLR (Theme, clrChannelTimebarRest, clrGray50)
 
 THEME_CLR (Theme, clrChannelSignalValue, clrGreen)
 
 THEME_CLR (Theme, clrChannelSignalRest, clrRed)
 
 THEME_CLR (Theme, clrMenuFrame, clrYellow)
 
 THEME_CLR (Theme, clrMenuTitle, clrBlack)
 
 THEME_CLR (Theme, clrMenuDate, clrBlack)
 
 THEME_CLR (Theme, clrMenuItemCurrentFg, clrBlack)
 
 THEME_CLR (Theme, clrMenuItemCurrentBg, clrYellow)
 
 THEME_CLR (Theme, clrMenuItemSelectable, clrYellow)
 
 THEME_CLR (Theme, clrMenuItemNonSelectable, clrCyan)
 
 THEME_CLR (Theme, clrMenuEventTime, clrYellow)
 
 THEME_CLR (Theme, clrMenuEventVps, clrBlack)
 
 THEME_CLR (Theme, clrMenuEventTitle, clrCyan)
 
 THEME_CLR (Theme, clrMenuEventShortText, clrYellow)
 
 THEME_CLR (Theme, clrMenuEventDescription, clrCyan)
 
 THEME_CLR (Theme, clrMenuScrollbarTotal, clrYellow)
 
 THEME_CLR (Theme, clrMenuScrollbarShown, clrCyan)
 
 THEME_CLR (Theme, clrMenuScrollbarArrow, clrBlack)
 
 THEME_CLR (Theme, clrMenuText, clrCyan)
 
 THEME_CLR (Theme, clrReplayFrame, clrYellow)
 
 THEME_CLR (Theme, clrReplayTitle, clrBlack)
 
 THEME_CLR (Theme, clrReplayMode, clrBlack)
 
 THEME_CLR (Theme, clrReplayCurrent, clrBlack)
 
 THEME_CLR (Theme, clrReplayTotal, clrBlack)
 
 THEME_CLR (Theme, clrReplayJump, clrBlack)
 
 THEME_CLR (Theme, clrReplayProgressSeen, clrGreen)
 
 THEME_CLR (Theme, clrReplayProgressRest, clrWhite)
 
 THEME_CLR (Theme, clrReplayProgressSelected, clrRed)
 
 THEME_CLR (Theme, clrReplayProgressMark, clrBlack)
 
 THEME_CLR (Theme, clrReplayProgressCurrent, clrRed)
 

Variables

static cTheme Theme
 
static const char *const * ReplaySymbols [2][2][5]
 

Macro Definition Documentation

◆ Gap

#define Gap   (Setup.FontOsdSize / 5)

◆ Roundness

#define Roundness   (Setup.FontOsdSize / 2)

◆ ScrollWidth

#define ScrollWidth   (Setup.FontOsdSize / 4)

◆ SymbolSpacing

#define SymbolSpacing   (Setup.FontOsdSize / 4)

Definition at line 58 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel::SetChannel().

◆ TextFrame

#define TextFrame   (Setup.FontOsdSize / 10)

◆ TextSpacing

#define TextSpacing   (Setup.FontOsdSize / 4)

Function Documentation

◆ THEME_CLR() [1/63]

THEME_CLR ( Theme ,
clrBackground ,
clrGray50  )

◆ THEME_CLR() [2/63]

THEME_CLR ( Theme ,
clrButtonBlueBg ,
clrBlue  )

◆ THEME_CLR() [3/63]

THEME_CLR ( Theme ,
clrButtonBlueFg ,
clrWhite  )

◆ THEME_CLR() [4/63]

THEME_CLR ( Theme ,
clrButtonGreenBg ,
clrGreen  )

◆ THEME_CLR() [5/63]

THEME_CLR ( Theme ,
clrButtonGreenFg ,
clrBlack  )

◆ THEME_CLR() [6/63]

THEME_CLR ( Theme ,
clrButtonRedBg ,
clrRed  )

◆ THEME_CLR() [7/63]

THEME_CLR ( Theme ,
clrButtonRedFg ,
clrWhite  )

◆ THEME_CLR() [8/63]

THEME_CLR ( Theme ,
clrButtonYellowBg ,
clrYellow  )

◆ THEME_CLR() [9/63]

THEME_CLR ( Theme ,
clrButtonYellowFg ,
clrBlack  )

◆ THEME_CLR() [10/63]

THEME_CLR ( Theme ,
clrChannelDate ,
clrBlack  )

◆ THEME_CLR() [11/63]

THEME_CLR ( Theme ,
clrChannelEpgShortText ,
clrYellow  )

◆ THEME_CLR() [12/63]

THEME_CLR ( Theme ,
clrChannelEpgTime ,
clrBlack  )

◆ THEME_CLR() [13/63]

THEME_CLR ( Theme ,
clrChannelEpgTitle ,
clrCyan  )

◆ THEME_CLR() [14/63]

THEME_CLR ( Theme ,
clrChannelFrame ,
clrYellow  )

◆ THEME_CLR() [15/63]

THEME_CLR ( Theme ,
clrChannelName ,
clrBlack  )

◆ THEME_CLR() [16/63]

THEME_CLR ( Theme ,
clrChannelSignalRest ,
clrRed  )

◆ THEME_CLR() [17/63]

THEME_CLR ( Theme ,
clrChannelSignalValue ,
clrGreen  )

◆ THEME_CLR() [18/63]

THEME_CLR ( Theme ,
clrChannelSymbolOff ,
0xFFBC8024  )

◆ THEME_CLR() [19/63]

THEME_CLR ( Theme ,
clrChannelSymbolOn ,
clrBlack  )

◆ THEME_CLR() [20/63]

THEME_CLR ( Theme ,
clrChannelSymbolRecBg ,
clrRed  )

◆ THEME_CLR() [21/63]

THEME_CLR ( Theme ,
clrChannelSymbolRecFg ,
clrWhite  )

◆ THEME_CLR() [22/63]

THEME_CLR ( Theme ,
clrChannelTimebarRest ,
clrGray50  )

◆ THEME_CLR() [23/63]

THEME_CLR ( Theme ,
clrChannelTimebarSeen ,
clrYellow  )

◆ THEME_CLR() [24/63]

THEME_CLR ( Theme ,
clrMenuDate ,
clrBlack  )

◆ THEME_CLR() [25/63]

THEME_CLR ( Theme ,
clrMenuEventDescription ,
clrCyan  )

◆ THEME_CLR() [26/63]

THEME_CLR ( Theme ,
clrMenuEventShortText ,
clrYellow  )

◆ THEME_CLR() [27/63]

THEME_CLR ( Theme ,
clrMenuEventTime ,
clrYellow  )

◆ THEME_CLR() [28/63]

THEME_CLR ( Theme ,
clrMenuEventTitle ,
clrCyan  )

◆ THEME_CLR() [29/63]

THEME_CLR ( Theme ,
clrMenuEventVps ,
clrBlack  )

◆ THEME_CLR() [30/63]

THEME_CLR ( Theme ,
clrMenuFrame ,
clrYellow  )

◆ THEME_CLR() [31/63]

THEME_CLR ( Theme ,
clrMenuItemCurrentBg ,
clrYellow  )

◆ THEME_CLR() [32/63]

THEME_CLR ( Theme ,
clrMenuItemCurrentFg ,
clrBlack  )

◆ THEME_CLR() [33/63]

THEME_CLR ( Theme ,
clrMenuItemNonSelectable ,
clrCyan  )

◆ THEME_CLR() [34/63]

THEME_CLR ( Theme ,
clrMenuItemSelectable ,
clrYellow  )

◆ THEME_CLR() [35/63]

THEME_CLR ( Theme ,
clrMenuScrollbarArrow ,
clrBlack  )

◆ THEME_CLR() [36/63]

THEME_CLR ( Theme ,
clrMenuScrollbarShown ,
clrCyan  )

◆ THEME_CLR() [37/63]

THEME_CLR ( Theme ,
clrMenuScrollbarTotal ,
clrYellow  )

◆ THEME_CLR() [38/63]

THEME_CLR ( Theme ,
clrMenuText ,
clrCyan  )

◆ THEME_CLR() [39/63]

THEME_CLR ( Theme ,
clrMenuTitle ,
clrBlack  )

◆ THEME_CLR() [40/63]

THEME_CLR ( Theme ,
clrMessageErrorBg ,
clrRed  )

◆ THEME_CLR() [41/63]

THEME_CLR ( Theme ,
clrMessageErrorFg ,
clrWhite  )

◆ THEME_CLR() [42/63]

THEME_CLR ( Theme ,
clrMessageFrame ,
clrYellow  )

◆ THEME_CLR() [43/63]

THEME_CLR ( Theme ,
clrMessageInfoBg ,
clrGreen  )

◆ THEME_CLR() [44/63]

THEME_CLR ( Theme ,
clrMessageInfoFg ,
clrBlack  )

◆ THEME_CLR() [45/63]

THEME_CLR ( Theme ,
clrMessageStatusBg ,
clrCyan  )

◆ THEME_CLR() [46/63]

THEME_CLR ( Theme ,
clrMessageStatusFg ,
clrBlack  )

◆ THEME_CLR() [47/63]

THEME_CLR ( Theme ,
clrMessageWarningBg ,
clrYellow  )

◆ THEME_CLR() [48/63]

THEME_CLR ( Theme ,
clrMessageWarningFg ,
clrBlack  )

◆ THEME_CLR() [49/63]

THEME_CLR ( Theme ,
clrReplayCurrent ,
clrBlack  )

◆ THEME_CLR() [50/63]

THEME_CLR ( Theme ,
clrReplayFrame ,
clrYellow  )

◆ THEME_CLR() [51/63]

THEME_CLR ( Theme ,
clrReplayJump ,
clrBlack  )

◆ THEME_CLR() [52/63]

THEME_CLR ( Theme ,
clrReplayMode ,
clrBlack  )

◆ THEME_CLR() [53/63]

THEME_CLR ( Theme ,
clrReplayProgressCurrent ,
clrRed  )

◆ THEME_CLR() [54/63]

THEME_CLR ( Theme ,
clrReplayProgressMark ,
clrBlack  )

◆ THEME_CLR() [55/63]

THEME_CLR ( Theme ,
clrReplayProgressRest ,
clrWhite  )

◆ THEME_CLR() [56/63]

THEME_CLR ( Theme ,
clrReplayProgressSeen ,
clrGreen  )

◆ THEME_CLR() [57/63]

THEME_CLR ( Theme ,
clrReplayProgressSelected ,
clrRed  )

◆ THEME_CLR() [58/63]

THEME_CLR ( Theme ,
clrReplayTitle ,
clrBlack  )

◆ THEME_CLR() [59/63]

THEME_CLR ( Theme ,
clrReplayTotal ,
clrBlack  )

◆ THEME_CLR() [60/63]

THEME_CLR ( Theme ,
clrVolumeBarLower ,
0xFF248024  )

◆ THEME_CLR() [61/63]

THEME_CLR ( Theme ,
clrVolumeBarUpper ,
0xFFBC8024  )

◆ THEME_CLR() [62/63]

THEME_CLR ( Theme ,
clrVolumeFrame ,
clrYellow  )

◆ THEME_CLR() [63/63]

THEME_CLR ( Theme ,
clrVolumeSymbol ,
clrBlack  )

Variable Documentation

◆ ReplaySymbols

const char* const* ReplaySymbols[2][2][5]
static
Initial value:
= {
{ { pause_xpm, srew_xpm, srew1_xpm, srew2_xpm, srew3_xpm },
{ pause_xpm, sfwd_xpm, sfwd1_xpm, sfwd2_xpm, sfwd3_xpm }, },
{ { play_xpm, frew_xpm, frew1_xpm, frew2_xpm, frew3_xpm },
{ play_xpm, ffwd_xpm, ffwd1_xpm, ffwd2_xpm, ffwd3_xpm } }
}

Definition at line 891 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayReplay::SetMode().

◆ Theme

cTheme Theme
static