PDA

View Full Version : Moviplayer/Cutlist Editor Markers



seagen
08-06-20, 17:19
Hi i have a question about the markers inserted when you either open a recording with Moviplayer or use Cutlist Editor.

This markes have a default color ugly pink-red but is there a way to change the color and if so what is the code for that?

Seagen

simonc
08-06-20, 19:02
This was one of things I went looking for as soon as I got an E2 PVR, pretty much the same reaction as yours :) IIRC the colours are hard coded, but it's probably not a massive job to make them skinnable if someone had the time to look into it.

seagen
08-06-20, 19:43
I agree this should have been skinnable with both color option and pixmap option like we have for Graphical EPG timelines.

But where is the color code accully? cant seem to find it anywhere

simonc
08-06-20, 20:36
It turns out that it's in ePositionGauge.cpp. That ramps up the difficulty of making it more customisable.

seagen
08-06-20, 21:25
Could not this line be changed so we can add the color code in the skin code instead of a fixed one like now??

painter.setForegroundColor(gRGB(0xFF8080));

https://github.com/OpenViX/enigma2/blob/master/lib/gui/epositiongauge.cpp
Line 134