Opened 11 years ago

Closed 11 years ago

#6511 closed enhancement (wontfix)

Add <intensity> tag to imagetype

Reported by: robert.mcnamara@… Owned by: stuartm
Priority: minor Milestone: 0.22
Component: MythTV - User Interface Library Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

This patch adds the <intensity> tag to the imagetype widget. It allows one to darken or brighten an image. Allows the selected item in a buttonlist to "pop" more, to darken the background during a popup, etc. Example:

http://www.fecitfacta.com/intensity.png

syntax is <intensity>$percentage</intensity>. 100 = 100% brighter. -100 = 100% darker.

This approach comes from the kimageeffect code, adapted for mythUI. Assuming this meets with approval, I will port more of the eye candy stuff from there (an oil painting effect, add noise, blur, etc.)

Attachments (2)

mythui.intensity.patch (6.4 KB) - added by robert.mcnamara@… 11 years ago.
MythUI intensity patch
mythui.intensity.2.patch (6.1 KB) - added by robert.mcnamara@… 11 years ago.
Whoops, one more time without the verbose.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by robert.mcnamara@…

Attachment: mythui.intensity.patch added

MythUI intensity patch

Changed 11 years ago by robert.mcnamara@…

Attachment: mythui.intensity.2.patch added

Whoops, one more time without the verbose.

comment:1 Changed 11 years ago by Isaac Richards

Resolution: wontfix
Status: newclosed

image effects ideally belong in the painter so they can be accelerated if possible, not the mythimage class.

Note: See TracTickets for help on using tickets.