From: Israel <isr...@gm...> - 2014-01-12 15:40:16
|
On 01/12/2014 08:55 AM, Vesa wrote: > On 01/12/2014 04:31 PM, Tobias Doerffel wrote: >> 2014/1/11 Israel <isr...@gm... <mailto:isr...@gm...>> >> >> I like the look of it too... could you make it look more like brushed >> metal, though... the texture of it seems more like marble. That >> is my >> only critique, but it does indeed look very nice >> >> >> +1 >> >> Regarding theming: back in the days when we started LMMS SVG was not >> an option because of performance and lacking support in Qt. I don't >> think these are issues nowadays so nothing should stop us from >> replacing the PNG files by SVG. All we need to do is to extend >> embed::getIconPixmap() such that it also recognizes SVG files and >> scales them accordingly to the specified width/height (which will >> require the calling code to be modified in some places to explicitely >> specify width/height instead of using PNG size as default). >> >> Toby > > That's good. I don't think all images should be replaced, at least in > the default theme - some things are just better to do with bitmaps, > but it'd be good to have the option. > > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > > > _______________________________________________ > LMMS-devel mailing list > LMM...@li... > https://lists.sourceforge.net/lists/listinfo/lmms-devel I think it would make knob (and other UI elements) easier to theme, as you can use CSS to modify SVG elements, so all the elements could have an class that is related. For instance all buttons could have the same color as all knobs. Everything could be contained in a simple style.css Supposing the current CSS theming supports things like background-image, it would be easy to support png inside elements and change the whole look and feel pretty easily. It would be nice for the theme engine to include support for width/height and some other positioning elements (especially if a mobile version is ever going to be a possibility). I am glad that SVG will be supported (most likely), as the images can be altered inside the program. We could have knobs that are animated by the program, and have more 'fancy' effects. Will things like element:hover{ somecoolEffect } be supported as well? The possibilities of themes in LMMS are becoming quite exciting. So, if SVG will be supported, will JavaScript inside SVG be supported? That could make for some really interactive UI elements that do some really interesting things. Just my thoughts... but I really like SVG/CSS/JavaScript as a form of interactive art. -- Regards |