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 » How to begin with chameleon
Re: How to begin with chameleon [message #47902 is a reply to message #47901] Thu, 20 April 2017 16:28 Go to previous messageGo to previous message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
Theme is the library. Add that package to a project. Include Theme.h.

The important public API is just:
Theme& Load(const String& fileName);
Theme& Apply();


In your "main" method, you create a new local Theme and call Load with a theme. 3 sample themes are included in the Themes folder. One of them is just the "Bluebar" sample theme that covers only menus, but converted to my format.

Load just load the Assets.

Apply changes the look.

There can be some rare minor issues if you call Apply after the creation of your windows if I remember correctly.

Each Theme::LoadFoo private methods shows you how to set most of not all the look of a widget.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TreeCtrl theme
Next Topic: Applications look blurry in Windows 10
Goto Forum:
  


Current Time: Sat May 04 19:17:59 CEST 2024

Total time taken to generate the page: 0.03945 seconds