Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Native DPI
Re: Native DPI [message #44755 is a reply to message #44754] |
Tue, 16 June 2015 23:37   |
 |
mirek
Messages: 14257 Registered: November 2005
|
Ultimate Member |
|
|
Tom1 wrote on Tue, 16 June 2015 22:13Yes, I know: When we talk about Windows, we should avoid physical units -- meters or inches. And when we ask Windows for display DPI, we in fact ask for display scaling percentage. The result 96 "DPI" represents 100 % GUI scaling.
Instead of having just a hidpi flag, how about having a display zoom percentage instead, i.e. 100% for default DPI level and 125, 150, 200 for greater zoom levels, based on what DPI Windows reports. This would allow better control of GUI scaling whenever it is possible, like it is when text is rendered. (And we could drop the term DPI while it is misleading with its false reference to real inches.)
It is "hidpi aware" flag...
Quote:
AND: What exactly should be used as the size reference for GUI scaling anyway? Is it the StdFontSize derived from Windows or is it the above zoom percentage derived from monitor DPI, or some strange combination thereof?
Now this is a good question (one I am thinking about since the last exchange). Somehow StdFontSize must be different based on HiDPI-awareness...
Quote:
Any which way it is, I would prefer having the framework supporting any scaling levels with fine granularity. While icons may cleanly only be scaled to 1x, 2x, 3x, etc., many other aspects of GUI can benefit from greater granularity.
I am not quite sure what you are speaking about here... Non-HIDPI-aware widgets does not mean all is fixed.
Mirek
|
|
|
 |
|
Native DPI
By: Tom1 on Thu, 21 May 2015 11:45
|
 |
|
Re: Native DPI
By: mirek on Sat, 23 May 2015 20:23
|
 |
|
Re: Native DPI
By: Tom1 on Sun, 24 May 2015 10:29
|
 |
|
Re: Native DPI
By: mirek on Sun, 24 May 2015 21:16
|
 |
|
Re: Native DPI
By: Tom1 on Mon, 25 May 2015 10:05
|
 |
|
Re: Native DPI
By: Tom1 on Mon, 25 May 2015 16:54
|
 |
|
Re: Native DPI
By: mirek on Mon, 25 May 2015 23:13
|
 |
|
Re: Native DPI
|
 |
|
Re: Native DPI
By: Tom1 on Tue, 26 May 2015 10:22
|
 |
|
Re: Native DPI
By: mirek on Wed, 27 May 2015 10:03
|
 |
|
Re: Native DPI
By: mirek on Wed, 27 May 2015 10:14
|
 |
|
Re: Native DPI
By: Tom1 on Wed, 27 May 2015 13:32
|
 |
|
Re: Native DPI
By: mirek on Wed, 27 May 2015 14:13
|
 |
|
Re: Native DPI
By: Tom1 on Thu, 28 May 2015 09:47
|
 |
|
Re: Native DPI
By: mirek on Fri, 29 May 2015 10:16
|
 |
|
Re: Native DPI
By: mirek on Fri, 29 May 2015 13:27
|
 |
|
Re: Native DPI
By: Tom1 on Fri, 29 May 2015 17:23
|
 |
|
Re: Native DPI
By: mirek on Sat, 06 June 2015 07:37
|
 |
|
Re: Native DPI
By: Tom1 on Mon, 08 June 2015 10:31
|
 |
|
Re: Native DPI
By: mirek on Sat, 13 June 2015 17:04
|
 |
|
Re: Native DPI
By: Tom1 on Mon, 15 June 2015 00:00
|
 |
|
Re: Native DPI
By: mirek on Mon, 15 June 2015 14:01
|
 |
|
Re: Native DPI
By: Tom1 on Tue, 16 June 2015 22:13
|
 |
|
Re: Native DPI
By: mirek on Tue, 16 June 2015 23:37
|
 |
|
Re: Native DPI
By: Tom1 on Wed, 17 June 2015 10:02
|
 |
|
Re: Native DPI
By: mirek on Fri, 19 June 2015 08:26
|
 |
|
Re: Native DPI
By: Tom1 on Mon, 22 June 2015 11:52
|
 |
|
Re: Native DPI
By: Tom1 on Fri, 26 June 2015 09:13
|
 |
|
Re: Native DPI
By: mirek on Mon, 03 August 2015 20:11
|
 |
|
Re: Native DPI
By: Tom1 on Wed, 05 August 2015 13:03
|
 |
|
Re: Native DPI
By: mirek on Wed, 05 August 2015 14:56
|
 |
|
Re: Native DPI
By: Tom1 on Wed, 05 August 2015 15:50
|
 |
|
Re: Native DPI
By: mirek on Sun, 09 August 2015 13:22
|
 |
|
Re: Native DPI
By: Tom1 on Mon, 10 August 2015 11:12
|
 |
|
Re: Native DPI
By: Tom1 on Thu, 13 August 2015 12:22
|
 |
|
Re: Native DPI
By: mirek on Tue, 18 August 2015 20:10
|
 |
|
Re: Native DPI
By: Tom1 on Wed, 19 August 2015 13:07
|
 |
|
Re: Native DPI
By: mirek on Wed, 19 August 2015 22:35
|
 |
|
Re: Native DPI
By: Tom1 on Sat, 22 August 2015 09:56
|
 |
|
Re: Native DPI
By: mirek on Sun, 23 August 2015 12:23
|
 |
|
Re: Native DPI
By: Tom1 on Sat, 29 August 2015 13:54
|
 |
|
Re: Native DPI
By: mirek on Sat, 29 August 2015 18:26
|
 |
|
Re: Native DPI
By: Tom1 on Mon, 31 August 2015 10:24
|
 |
|
Re: Native DPI
By: Tom1 on Mon, 31 August 2015 14:38
|
 |
|
Re: Native DPI
By: mirek on Wed, 02 September 2015 16:11
|
 |
|
Re: Native DPI
By: Tom1 on Thu, 03 September 2015 09:07
|
 |
|
Re: Native DPI
By: mirek on Fri, 04 September 2015 08:51
|
 |
|
Re: Native DPI
By: Tom1 on Fri, 04 September 2015 10:10
|
 |
|
Re: Native DPI
By: mirek on Sun, 06 September 2015 07:35
|
 |
|
Re: Native DPI
By: Tom1 on Mon, 07 September 2015 10:55
|
 |
|
Re: Native DPI
By: mirek on Sun, 04 October 2015 08:07
|
Goto Forum:
Current Time: Sun May 11 09:52:04 CEST 2025
Total time taken to generate the page: 0.02118 seconds
|