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 » Community » Newbie corner » Removing .lay dependancy from a GUI app
Re: Removing .lay dependancy from a GUI app [message #27880 is a reply to message #27852] Mon, 09 August 2010 09:55 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
Eh, just inherit directly from TopWindow instead of using the WithXXXXLayout<> template. All lay related studd (includes, CtrlLayout etc) can then be removed.

I don't what you mean by GetX/Y, these function don't exist.

The code you'll want to use for setting window size will be something like:
wnd.SetRect(GetSizeFromConf())
wnd.CenterScreen();
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [solved]how to use upp without the ide (what is the gcc command line?)
Next Topic: Debugger’s Explorer tab & display of arrays/vectors
Goto Forum:
  


Current Time: Mon May 13 13:05:57 CEST 2024

Total time taken to generate the page: 0.02884 seconds