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 » Developing U++ » UppHub » SDL packages
Re: SDL packages [message #29895 is a reply to message #29879] Sat, 27 November 2010 22:31 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3432
Registered: August 2008
Senior Veteran
Hello all

This is the problem with Fullscreen in Linux:
index.php?t=getfile&id=2943&private=0

The reason is that in SDLCtrl example, FullScreen().Run() is called from another TopWindow, so Fullscreen window is really opened under the main window. See this:
.FullScreen().Run();	--->

int  TopWindow::Run(bool appmodal)
{
...
	if(!IsOpen())
		Open();	--->


void TopWindow::Open()
{
	GuiLock __; 
	Open(GetActiveWindow());	--->
}


Ctrl *Ctrl::GetActiveWindow()
{
	GuiLock __;
	Ctrl *q = GetActiveCtrl();
	return q ? q->GetTopWindow() : NULL;
}

Doing for example Open(NULL); solves the problem. Or, is it necessary that GetActiveCtrl() call GetTopWindow() ?
  • Attachment: Screen.png
    (Size: 22.09KB, Downloaded 687 times)


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Docking: Future request!
Next Topic: OfficeAutomation new functions from Ratah and +
Goto Forum:
  


Current Time: Tue May 06 21:46:23 CEST 2025

Total time taken to generate the page: 0.03670 seconds