Opened 12 years ago

Closed 12 years ago

#4104 closed defect (fixed)

Draw order problem with buttonarea background

Reported by: stuartm Owned by: stuartm
Priority: minor Milestone: 0.21
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

The <buttonarea> element used in myththemedmenu accepts the attribute 'background', used to specify an image to display the behind the menu. The draw order means that the background is instead always drawn over the menu, hiding it.

There are two possible solutions. The first is just to move the creation of the mythuiimage object for the background before the buttons are created. This means breaking up SetupUITypes() since watermarks must be created after the buttons are loaded.

The other solution is a little more work but has many benefits and that is to allow a draw order (z-axis) to be declared for mythuitype.

Change History (1)

comment:1 Changed 12 years ago by stuartm

Resolution: fixed
Status: newclosed

(In [14868]) Fixes a bug in myththemedmenu where the buttonarea background image was drawn over the buttons, instead of underneath them.

Fixes #4104

Also addressed a couple of typos in comments.

Note: See TracTickets for help on using tickets.