mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
added support for custom tokens in dislaychannel
This commit is contained in:
@@ -479,6 +479,17 @@ void cDisplayChannelView::DisplayMessage(eMessageType Type, const char *Text) {
|
||||
DrawViewElement(veMessage, &stringTokens, &intTokens);
|
||||
}
|
||||
|
||||
void cDisplayChannelView::DrawCustomTokens(void) {
|
||||
if (!ViewElementImplemented(veCustomTokens)) {
|
||||
return;
|
||||
}
|
||||
if (!tmplView)
|
||||
return;
|
||||
map < string, string > stringTokens = tmplView->GetCustomTokens();
|
||||
map < string, int > intTokens;
|
||||
DrawViewElement(veCustomTokens, &stringTokens, &intTokens);
|
||||
}
|
||||
|
||||
void cDisplayChannelView::Action(void) {
|
||||
SetInitFinished();
|
||||
FadeIn();
|
||||
|
Reference in New Issue
Block a user