Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Look and Chameleon Technology » A little theming
Re: A little theming [message #18489 is a reply to message #18459] Fri, 03 October 2008 17:06 Go to previous messageGo to previous message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
I managed to skin Button together with it's default style, and I must say that it looks as good on Windows as it did under Linux! Heck, I’ll use this as a default theme for NOGTK apps. No offense to Windows 95, but their widgets look butt ugly when next to a Gtk+ or KDE4 app. And option to change theme under Windows will forever populate my Options dialog.

But the initial quick start was halted when I discovered that Option, Switch and LabelBox have no direct retrievable style. Obtaining the style from an Option would give a Button style. I checked out the Paint methods, and the skinning is dome by determining which image to show from and image list.

So basically I have to override the content of the image list to make it work. I could do this, but I would rather have all controls to own their style.

If Mirek is OK with it, I can add Style structures similar to the one in Button to all the controls that need skinning, and also refactor the Paint methods. I’ll be waiting for the reply on that before I skin additional widgets.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: The problem with the operation of the buffer.
Next Topic: Set fields side to other fields and fields width to text width
Goto Forum:
  


Current Time: Fri Apr 26 16:42:56 CEST 2024

Total time taken to generate the page: 0.03153 seconds