Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Zooming layouts and different behaviour windows/linux
Re: Zooming layouts and different behaviour windows/linux [message #33591 is a reply to message #33590] |
Sat, 27 August 2011 10:53 |
Sender Ghost
Messages: 301 Registered: November 2008
|
Senior Member |
|
|
I have tried your code with RTIMING on Windows XP with different compilers (TDM GCC v4.5.2 and C/C++ compiler from Microsoft Visual Studio 2008 (MSC9)) for Optimal build mode, with following results (for 5 invocations, after and before changes):
TDM GCC v4.5.2:
after changes:
TIMING chsync : 4.54 s - 4.54 s ( 4.54 s / 1 ), min: 4.54 s , max: 4.54 s , nesting: 1 - 1
TIMING chsync : 4.53 s - 4.53 s ( 4.53 s / 1 ), min: 4.53 s , max: 4.53 s , nesting: 1 - 1
TIMING chsync : 4.52 s - 4.52 s ( 4.53 s / 1 ), min: 4.53 s , max: 4.53 s , nesting: 1 - 1
TIMING chsync : 4.55 s - 4.55 s ( 4.55 s / 1 ), min: 4.55 s , max: 4.55 s , nesting: 1 - 1
TIMING chsync : 4.55 s - 4.55 s ( 4.55 s / 1 ), min: 4.55 s , max: 4.55 s , nesting: 1 - 1
before changes:
TIMING chsync : 4.45 s - 4.45 s ( 4.45 s / 1 ), min: 4.45 s , max: 4.45 s , nesting: 1 - 1
TIMING chsync : 4.45 s - 4.45 s ( 4.45 s / 1 ), min: 4.45 s , max: 4.45 s , nesting: 1 - 1
TIMING chsync : 4.46 s - 4.46 s ( 4.46 s / 1 ), min: 4.46 s , max: 4.46 s , nesting: 1 - 1
TIMING chsync : 4.45 s - 4.45 s ( 4.45 s / 1 ), min: 4.45 s , max: 4.45 s , nesting: 1 - 1
TIMING chsync : 4.44 s - 4.44 s ( 4.45 s / 1 ), min: 4.45 s , max: 4.45 s , nesting: 1 - 1
MSC9:
after changes:
TIMING chsync : 2.98 s - 2.98 s ( 2.98 s / 1 ), min: 2.98 s , max: 2.98 s , nesting: 1 - 1
TIMING chsync : 2.99 s - 2.99 s ( 2.99 s / 1 ), min: 2.99 s , max: 2.99 s , nesting: 1 - 1
TIMING chsync : 2.99 s - 2.99 s ( 2.99 s / 1 ), min: 2.99 s , max: 2.99 s , nesting: 1 - 1
TIMING chsync : 2.99 s - 2.99 s ( 2.99 s / 1 ), min: 2.99 s , max: 2.99 s , nesting: 1 - 1
TIMING chsync : 2.99 s - 2.99 s ( 2.99 s / 1 ), min: 2.99 s , max: 2.99 s , nesting: 1 - 1
before changes:
TIMING chsync : 2.92 s - 2.92 s ( 2.92 s / 1 ), min: 2.92 s , max: 2.92 s , nesting: 1 - 1
TIMING chsync : 2.94 s - 2.94 s ( 2.94 s / 1 ), min: 2.94 s , max: 2.94 s , nesting: 1 - 1
TIMING chsync : 2.93 s - 2.93 s ( 2.94 s / 1 ), min: 2.94 s , max: 2.94 s , nesting: 1 - 1
TIMING chsync : 2.95 s - 2.95 s ( 2.95 s / 1 ), min: 2.95 s , max: 2.95 s , nesting: 1 - 1
TIMING chsync : 2.93 s - 2.93 s ( 2.93 s / 1 ), min: 2.93 s , max: 2.93 s , nesting: 1 - 1
As I already said, the differences are minor (about 2-3%) in this case. I just suggested to apply font changes "at once", when needed, instead of current approach (in constructor, for each Ctrl). This is "semi automatic" method with its (dis)advantages (compared to current "automatic" method), but implementation could be different.
In conclusion, because current approach exists and differences of changes are minor, there is no need "to fix the fix". On the other hand, it was informative.
[Updated on: Sat, 27 August 2011 11:05] Report message to a moderator
|
|
|
|
|
Zooming layouts and different behaviour windows/linux
By: mdelfede on Wed, 10 August 2011 19:18
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mdelfede on Thu, 11 August 2011 10:30
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mirek on Fri, 12 August 2011 17:09
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mdelfede on Fri, 12 August 2011 17:23
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mirek on Fri, 12 August 2011 17:28
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mdelfede on Fri, 12 August 2011 17:34
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mirek on Sat, 13 August 2011 03:12
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mdelfede on Sun, 14 August 2011 02:13
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mdelfede on Sun, 14 August 2011 17:50
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mirek on Mon, 15 August 2011 15:28
|
|
|
Re: Zooming layouts and different behaviour windows/linux
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mdelfede on Thu, 18 August 2011 01:34
|
|
|
Re: Zooming layouts and different behaviour windows/linux
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mdelfede on Thu, 18 August 2011 14:59
|
|
|
Re: Zooming layouts and different behaviour windows/linux
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mirek on Fri, 26 August 2011 14:02
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mirek on Sat, 27 August 2011 02:30
|
|
|
Re: Zooming layouts and different behaviour windows/linux
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mirek on Sun, 28 August 2011 09:00
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mdelfede on Fri, 02 September 2011 15:26
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mirek on Fri, 02 September 2011 17:51
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mirek on Tue, 06 September 2011 14:09
|
|
|
Re: Zooming layouts and different behaviour windows/linux
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mirek on Thu, 08 September 2011 09:56
|
|
|
Re: Zooming layouts and different behaviour windows/linux
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mdelfede on Wed, 17 August 2011 13:43
|
|
|
Re: Zooming layouts and different behaviour windows/linux
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mirek on Sun, 24 June 2012 13:04
|
|
|
Re: Zooming layouts and different behaviour windows/linux
|
|
|
Re: Zooming layouts and different behaviour windows/linux
|
|
|
Re: Zooming layouts and different behaviour windows/linux
|
|
|
Re: Zooming layouts and different behaviour windows/linux
By: mirek on Sun, 24 June 2012 15:09
|
|
|
Re: Zooming layouts and different behaviour windows/linux
|
Goto Forum:
Current Time: Sun Apr 28 19:28:26 CEST 2024
Total time taken to generate the page: 0.04994 seconds
|