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 » Modified Controls4U demo
Re: Modified Controls4U demo [message #44602 is a reply to message #44598] Wed, 15 April 2015 16:03 Go to previous messageGo to previous message
deep is currently offline  deep
Messages: 263
Registered: July 2011
Location: Bangalore
Experienced Member
Hello Koldo,

I was not expecting change in demo itself.
I wanted to achieve something like this and I chose your demo for quick check.

Your demo has come out well. ctrl.Hide(), ctrl.Show() is new Discovery for me.

I checked the new demo.

I have small suggestion.

	for (int i = 0; i < controls.GetCount(); ++i) {
		rect.Add(controls[i]->SizePos());
		controls[i]->Hide();
	}


void Controls4U_Demo::OnGridSel() {
	static int last = 0 ;
	int row = grid.GetCursor();

	controls[last]->Hide();
	controls[row]->Show();
	last = row ;
}


Warm Regards

Deepak

[Updated on: Wed, 15 April 2015 16:07]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Media Player errors
Next Topic: Functions4U_Demo does not build in Rel.8389 (UBUNTU 14.04)
Goto Forum:
  


Current Time: Tue May 14 03:51:43 CEST 2024

Total time taken to generate the page: 0.02439 seconds