Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Button color Foreground Background
|
|
|
Re: Button color Foreground Background [message #13348 is a reply to message #13341] |
Wed, 02 January 2008 18:26  |
cbpporter
Messages: 1427 Registered: September 2007
|
Ultimate Contributor |
|
|
Well there are basically two ways to do it. If you want to apply a custom style to a specific button, you can use a function like this one:
void SetCustomStyle(Button &btn)
{
static Button::Style style = btn.StyleNormal();
//do stuff with it
btn.SetStyle(style);
}
Or if you wish to change the global "skin" of all buttons, look over the Chameleon package in the reference nest.
|
|
|
Goto Forum:
Current Time: Fri May 09 22:20:14 CEST 2025
Total time taken to generate the page: 0.02727 seconds
|