Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Pilot-0.0.2 plugin available



Morfsta wrote:
For your info, this plugin does not work very well with the dxr3 plugin. There is no colours within the programme information bar, rather black wireframe output..

The plugin looks pretty useful, is there anything I can do to assist in getting it working?
You can do the same, as I did with prefmenu to be useable with a DXR3:
change all dynamic colors to some predefined static ones that the dxr3 understands. The pilotosd.c look exactly like in prefmenu (well this is OpenSource ;) ).

You won't be able to change the colors, but at least you can use the plugin! :)

This is what I did with prefermenu:

void cPreferOsd::SendPalette() {
pal[0]= clrTransparent; // Transparent
pal[1]= clrBackground; // Background
pal[2]= clrBlack; // Linien
pal[3]= clrWhite; // not used
pal[4]= clrBlack; // not used
pal[5]= clrWhite; // highlighted
pal[6]= clrWhite; // channelnamen
pal[7]= clrBlack; // ausgewaehlter channel
pal[8]= clrGreen; // not used
pal[9]= clrRed; // not used
pal[10]= 0xFFFCFC00;
pal[11]= 0xFFFCFC00;
pal[12]= 0xFFFCFC00;
pal[13]= 0xFFFCFC00;
pal[14]= 0xFFFCFC00;
pal[15]= 0xFFFCFC00;

// SetColor(1, config.red, config.green, config.blue, config.alpha1);
// SetColor(2, 0, 0, 0, config.alphaborder);
// SetColor(3, 255, 255, 255, config.alpha1);
// SetColor(4, 0, 0, 0, config.alpha2);
// SetColor(5, config.red, config.green, config.blue, config.alpha2);
// SetColor(6, 255, 255, 255, config.alpha1);
// SetColor(7, 255, 255, 255, 255);
// SetColor(8, 0, 255, 0, 255); // For Green text
// SetColor(9, 255, 0, 0, 255); // For Red text
}

Frank

P.S. I mailed to the DXR3-Coder(s) about that problem and I got an answer that they will have a look... Maybe in one of the next versions there will be dynamical colors even for DXR3 users...



--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index