Home » U++ Library support » U++ Library : Other (not classified elsewhere) » More GLCtrl
Re: More GLCtrl [message #18781 is a reply to message #18776] |
Mon, 20 October 2008 22:17 |
mdelfede
Messages: 1307 Registered: September 2007
|
Ultimate Contributor |
|
|
luzr wrote on Mon, 20 October 2008 20:51 |
mdelfede wrote on Mon, 20 October 2008 08:26 |
luzr wrote on Sun, 19 October 2008 18:20 | I believe all should be fix now.
Note: DHCtrl was never intended to have children... Therefore, rather than rewriting half of CtrlCore, I have solved the issue by restructruing GLCtrl - it has now DHCtrl as child (and derives from ParentCtrl).
Thanks for hint and a quality testcase - I have put it to upptst for further use
Mirek
|
Eh, do you remember when some monthes ago I told you CtrlCore would need some strong refactoring ?
Writing Linux GLCtrl was a nightmare because of the impossibility of having childs of windowed controls.
|
IMO you do not really appreciate nightmares if it would actually be directly possible....
Quote: |
But I agree with you, it would be a *big* effort to clean up CtrlCore classes.
|
IMO, worst thing is that it would be *wrong* effort.
Most of complication in CtrlCore are caused by necessary "impedance mismatch" between U++ and underlaying host system API. "clean up" would most likely produced code that is nice, but does not work. Making it work would then bring us to the current status again...
Mirek
|
Well.... I'd not call it a "wrong" effort. It would make control behaviour more uniform between windowed and non-windowed controls, from the user's point of view.
BTW, by now it's not a big concern, being GLCtrl the only windowed child control in UPP... but it can change in future
IMHO to have the "correct" behaviour is not impossible, but it does indeed require some work, which maybe isn't worth the effort at the moment.
Max
|
|
|
|
|
More GLCtrl
By: kodos on Tue, 14 October 2008 18:51
|
|
|
Re: More GLCtrl
By: mirek on Fri, 17 October 2008 15:47
|
|
|
Re: More GLCtrl
By: kodos on Fri, 17 October 2008 16:24
|
|
|
Re: More GLCtrl
By: mirek on Fri, 17 October 2008 17:04
|
|
|
Re: More GLCtrl
By: mirek on Sun, 19 October 2008 18:20
|
|
|
Re: More GLCtrl
By: mdelfede on Mon, 20 October 2008 14:26
|
|
|
Re: More GLCtrl
By: mirek on Mon, 20 October 2008 20:51
|
|
|
Re: More GLCtrl
By: mdelfede on Mon, 20 October 2008 22:17
|
|
|
Re: More GLCtrl
By: kodos on Sun, 19 October 2008 18:53
|
|
|
Re: More GLCtrl
By: kodos on Mon, 20 October 2008 20:02
|
|
|
Re: More GLCtrl
By: mirek on Mon, 20 October 2008 21:01
|
|
|
Re: More GLCtrl
By: kodos on Tue, 04 November 2008 20:13
|
|
|
Re: More GLCtrl
By: mirek on Wed, 05 November 2008 08:53
|
|
|
Re: More GLCtrl
By: cocob on Fri, 07 November 2008 22:43
|
|
|
Re: More GLCtrl
By: mirek on Sat, 08 November 2008 14:29
|
|
|
Re: More GLCtrl
By: kodos on Fri, 07 November 2008 23:06
|
|
|
Re: More GLCtrl
By: cocob on Sat, 08 November 2008 10:23
|
|
|
Re: More GLCtrl
By: cocob on Sat, 08 November 2008 12:31
|
|
|
Re: More GLCtrl
By: cocob on Mon, 10 November 2008 15:02
|
|
|
Re: More GLCtrl
By: cocob on Mon, 10 November 2008 15:48
|
|
|
Re: More GLCtrl
By: kodos on Mon, 02 February 2009 19:11
|
|
|
Re: More GLCtrl
By: mirek on Sun, 08 February 2009 08:00
|
Goto Forum:
Current Time: Fri May 10 02:41:40 CEST 2024
Total time taken to generate the page: 0.01736 seconds
|