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 » Splitter » Splitter transparent background
Splitter transparent background [message #24149] Tue, 29 December 2009 11:51 Go to next message
koldo is currently offline  koldo
Messages: 3268
Registered: August 2008
Senior Veteran
Hello all

I wanted to have an Splitter with transparent background.
The Splitter is child of a StaticRect.

So in the parent constructor:

Parent::Parent() {
	splitter.Transparent();
	Background(Null);
}


The splitter looks transparent, but when resizing the splitter middle frame, the splitter gets black:

index.php?t=getfile&id=2089&private=0

Do you know how to solve it ?

Best regards
Koldo
  • Attachment: Dibujo.PNG
    (Size: 49.71KB, Downloaded 529 times)


Best regards
Iñaki
Re: Splitter transparent background [message #24163 is a reply to message #24149] Wed, 30 December 2009 12:05 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13311
Registered: November 2005
Ultimate Member
It might be U++ bug. Can you create a simple testcase please?

Mirek
Re: Splitter transparent background [message #24195 is a reply to message #24163] Mon, 04 January 2010 11:47 Go to previous message
koldo is currently offline  koldo
Messages: 3268
Registered: August 2008
Senior Veteran
Hello all

It is solved.

The trick is to follow these rules:

- To define a StaticRect as transparent it is needed to do both:

	Transparent();
	Background(Null);



- To define a Splitter as transparent it is needed to do this:

	Transparent();


Following these rules it is possible to stack some transparent Splitter and StaticRect.

Best regards
Koldo


Best regards
Iñaki
Previous Topic: Splitter::Reset and Splitter::Clear clarification
Next Topic: Splitter SetPos bug ?
Goto Forum:
  


Current Time: Wed May 12 07:09:08 CEST 2021

Total time taken to generate the page: 0.03158 seconds