smoothcontract / mediate

Automatically exported from code.google.com/p/mediate
0 stars 0 forks source link

Enhanced button rendering features #112

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
add glyph image support to buttons. These will need to be per state to
allow a common button background design to be used for various purposes
with overlaid symbols. This would allow us to design media toolbar controls
really easily and require fewer images

add support for radiused rectangle shapes with variable corner radius and
flags to render each corner as a square or radiused corner. Or we could use
Inkscape approach of specifying horizontal and vertical corner radiuses to
allow rendering of ellipse shapes in extreme case

add support for highlight (glass buttons) for shapes or bitmaps by
specifying an offset, tint colour and direction (left, right, top, bottom)
for the highlight. This would then allow these buttons to be designed
really easily. Would need to split button into two parts to perform render
using DirectX or else we could cache the texture with the effect pre-applied

Original issue reported on code.google.com by aretman...@gmail.com on 11 Jun 2008 at 12:20

GoogleCodeExporter commented 9 years ago
Just implement glyph support. The radiused rectangles are fine for most 
buttons, and
we can simulate glass highlight using an overlay effect. Glyph support is easy 
to add
and would be very useful.

Original comment by aretman...@gmail.com on 3 May 2009 at 11:47

GoogleCodeExporter commented 9 years ago
Implemented in mediate designer v0.0.33

Original comment by aretman...@gmail.com on 5 May 2009 at 9:53