Discussion:
wxWidgets retina displays or high density displays with 2k, 3k or 4k resolutions
Dalibor Zdravkovic
2014-05-17 09:12:16 UTC
Permalink
Dose wxWidgets support loading different images or icons for different
pixel density monitors?

For example if I use windows os on monitor with high resolution eg 2k and I
increase DPI because window elements and fonts are so small on this type of
monitors can wxWdigets widgets load high resolution graphic resources if I
named these resources differently like OSX or iOS does with "@2x" or
android does with different named resource folders or like wpf can use
vector graphic so density is not relevant or there are some other
techniques to achieve this (I don't know is this feature supported in gnome
toolkit or kde on linux).
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Stefan Csomor
2014-05-17 10:44:57 UTC
Permalink
Hi

Von: Dalibor Zdravkovic <***@gmail.com>
Antworten an: "wx-***@googlegroups.com" <wx-***@googlegroups.com>
Datum: Samstag, 17. Mai 2014 11:12
An: "wx-***@googlegroups.com" <wx-***@googlegroups.com>
Betreff: wxWidgets retina displays or high density displays with 2k, 3k
or 4k resolutions
Post by Dalibor Zdravkovic
Dose wxWidgets support loading different images or icons for different
pixel density monitors?
For example if I use windows os on monitor with high resolution eg 2k and
I increase DPI because window elements and fonts are so small on this
type of monitors can wxWdigets widgets load high resolution graphic
resources if I named these resources differently
resource folders or like wpf can use vector graphic so density is not
relevant or there are some other techniques to achieve this (
on osx you need the "@2x" notation, wxBitmap is then loading the correct
file depending on whether you run on a retina display or not.

Best,

Stefan
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Loading...