U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » Menus&Toolbars » Toolbar and gray color in layout
Re: Toolbar and gray color in layout [message #6329 is a reply to message #6294] Mon, 06 November 2006 21:09 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1244
Registered: March 2006
Location: Italy
Senior Contributor
fallingdutch wrote on Sun, 05 November 2006 22:58

Now for Version 610-dev4:

CtrlLib/ToolBar.cpp
void ToolButton::Paint(Draw& w) {
   [...]
   Size isz = image.GetSize()
//insert starts here
   Ctrl *q = GetParent()->GetParent();
   if(!q || !q->IsTransparent())
//insert ends here
      w.DrawRect(...);
   [...]
}


Hope it helps,
Bas


It works Smile
So the Mirek's modification in BarPane in conjunction with this last one do the job I wanted, just as the previous picture has shown.
Thanks a lot!

Luigi
 
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: MenuBar does not show slahses
Next Topic: CtrlImg::new_doc()
Goto Forum:
  


Current Time: Sat Sep 12 19:44:07 GMT+2 2026

Total time taken to generate the page: 0.00817 seconds