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 » 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: 1185
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: Sun Apr 28 00:05:24 CEST 2024

Total time taken to generate the page: 0.02952 seconds