Yes it is possible. If you have a static image that is the same for all pages in the theme, you can place the Image element above all the elements in the page. If you wish, if you need a different background for each page, then first place the image on the page. I organize my topic like this:
<Theme> <Window /> <Font /> <Image /> <Page> <Image /> <other controls />
The order of the controls determines the Z-order in reverse order. The first control is at the bottom, and the controls are from top to bottom. This is why Background Image should be the first.
As for transparent text, this is possible with different levels of goodness. First, to get rid of the white background, you need to remove the Background attribute from the Font element used for transparent text. A missing Background attribute means using an empty brush for text that is essentially transparent.
The level of transparency depends on the control. Flags never accept transparent text. In addition, transparent text does not work if it is redrawn. You will see the old text. Thus, transparency only works on Text , which is not updated.
In any case, we hope that you will begin. If you want to contribute to improving transparency or themes, I recommend src\dutil\thmutil.cpp look at the code in src\dutil\thmutil.cpp . Maybe you can figure out how to make it work perfectly.
Rob mensching
source share