mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
added customtokens view element in displayreplay
This commit is contained in:
@@ -379,6 +379,17 @@ void cDisplayReplayView::ClearOnPause(void) {
|
||||
}
|
||||
}
|
||||
|
||||
void cDisplayReplayView::DrawCustomTokens(void) {
|
||||
if (!ViewElementImplemented(veCustomTokens)) {
|
||||
return;
|
||||
}
|
||||
if (!tmplView)
|
||||
return;
|
||||
map < string, string > stringTokens = tmplView->GetCustomStringTokens();
|
||||
map < string, int > intTokens = tmplView->GetCustomIntTokens();
|
||||
DrawViewElement(veCustomTokens, &stringTokens, &intTokens);
|
||||
}
|
||||
|
||||
/****************************************************************************************
|
||||
* Private Functions
|
||||
*****************************************************************************************/
|
||||
|
||||
@@ -33,6 +33,7 @@ public:
|
||||
void DrawMessage(eMessageType type, const char *text);
|
||||
void DrawOnPause(bool modeOnly);
|
||||
void ClearOnPause(void);
|
||||
void DrawCustomTokens(void);
|
||||
void DoFadeIn(void) { Start(); };
|
||||
void Flush(void) { DoFlush(); };
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user