
Originally Posted by
cncb
If I have nothing in my skin file the default background image and date/clock are displayed.
This was intentional to give things a more consistent look. If you'd seen the old GBPVR you'd know why. 
If I have a skin element that is a black rectangle covering the whole screen, the clock is still drawn on top of everything. How do you prevent this? Sorry if I am missing something obvious.
There isnt an 'obvious' solution to this, but there is a trick that screensavers use that would work. For you black rectangle, give the element a name starting with "screensaver" and it'll not add the date/time or now-playing on top.
Maybe something like this:
Code:
private UiElement blackUiElement;
in init function:
Bitmap black = new Bitmap(32,32);
Graphics g = Graphics.FromImage(black);
g.Clear(Color.Black);
g.Dispose();
blackUiElement = new UiElement("screensaver-black", new RectangleF(0, 0, 100, 100), black);
GetRenderList:
public List<UiElement> GetRenderList()
{
List<UiElement> renderList = new List<UiElement>();
renderList.Add(blackUiElement);
...other elements...
return renderList;
}