|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Skin like winamp, is it possible?Good day!!!
I am developing an application, and I am using gtkmm in creating the gui of my application, what I would like to create is a skin like winamp skin. Is it possible with the use of gtk? This is the sample of the skin that I would like to create. http://www.jvc-australia.com/JVCstores/PRODUCTS/240/ATTRFILE_LRG/KW-XG706_L.jpg Any help would be consider.. Thanks! _______________________________________________ gtkmm-list mailing list gtkmm-list@... http://mail.gnome.org/mailman/listinfo/gtkmm-list |
|
|
Re: Skin like winamp, is it possible?Hi Alexies, I too want a skinnable app. My current studies lead me to believe this might be possible with Gtk::Widget::shape_combine_mask(), but so far I haven't produced correct results. I'll let you know if I manage anything interesting. There is a very old example file called wheelbarrow.c which uses a character string instead of image files. It isn't in the sample directory or on the official server any more. I guess it's broken under the current Gtkmm. I found it on Google. It seems alpha blending is not possible at all, but simple transparency should work. Regards, Adam J Richardson |
|
|
Re: Skin like winamp, is it possible?Apologies for the double post but I thought this was relevant. Hi Renato, It seems to me that using non-rectangular widgets is one possible technique for creating a Winamp-style (Winamp 3, by the way, not Winamp 2!) skinning engine. The other possibility that comes to mind is partial window transparency. Perhaps there are others. Thanks for the hint. I think I recall reading something about the compose method, so I'll go back and read it more closely. I have been having trouble with the classes Gtk::Pixmap, Gdk::Pixbuf and Gtk::Bitmap. I'm sure there's a way to load a background image, load a mask image, combine the two and store the result in a Gdk::Window, but I haven't found the right API calls yet. Cairo could make some interesting "art deco" type widgets, buttons and the like. Isn't it just for vector drawing, though? I want to load and mask raster images. Regards, Adam J Richardson |
| Free embeddable forum powered by Nabble | Forum Help |