wxWidgets/samples
tm f6cc8ff52c Add GetOpenGLScaleFactor() to abstract OpenGL coordinates scaling
The fix for OpenGL coordinates when using high DPI in b134589cbb (Fix
OpenGL samples when using HiDPI displays, 2019-08-06) did fix it for GTK
3 and macOS, but broke it for MSW and other platforms not using pixel
scaling, as window coordinates are the same as OpenGL ones there, while
GetContentScaleFactor() can still return values > 1 even on these
platforms.

Provide new GetOpenGLScaleFactor() function abstracting this platform
difference and use it in all OpenGL samples to make them work correctly
in high DPI under all platforms.

Closes https://github.com/wxWidgets/wxWidgets/pull/1944

Closes #17391.
2020-07-12 22:28:29 +02:00
..
access Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
animate Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
archive Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
artprov Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
aui Add wxAuiManager::AlwaysUsesLiveResize() 2020-05-25 18:01:09 +02:00
calendar Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
caret Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
clipboard Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
collpane Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
combo Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
config Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
console Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
dataview Fix typo in a comment in dataview sample 2020-06-20 14:44:10 +02:00
debugrpt Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
dialogs Merge branch 'msw-dismiss-unfocused-popup' 2020-07-11 19:56:32 +02:00
dialup Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
display Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
dll Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
dnd Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
docview Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
dragimag Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
drawing Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
erase Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
event Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
except Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
exec Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
font Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
fswatcher Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
grid Add a forgotten wxOVERRIDE in the grid sample 2020-07-06 12:34:42 +02:00
help Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
htlbox Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
html Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
image Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
internat Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
ipc Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
joytest Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
keyboard Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
layout Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
listctrl Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
mdi Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
mediaplayer Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
memcheck Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
menu Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
mfc Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
minimal make app schemes shared 2020-06-25 09:46:18 +02:00
nativdlg Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
notebook Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
oleauto Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
opengl Add GetOpenGLScaleFactor() to abstract OpenGL coordinates scaling 2020-07-12 22:28:29 +02:00
ownerdrw Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
popup Don't force wxPU_CONTAINS_CONTROLS on wxPopupTransientWindow 2020-07-10 00:02:48 +02:00
power Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
preferences Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
printing Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
propgrid Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
regtest Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
render Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
ribbon Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
richtext Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
sashtest Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
scroll Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
secretstore Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
shaped Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
sockets Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
sound Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
splash Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
splitter Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
statbar Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
stc Link samples using STC with imm32.lib 2020-06-10 19:30:48 +02:00
svg Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
taborder Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
taskbar Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
taskbarbutton Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
text Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
thread Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
toolbar Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
treectrl Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
treelist Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
typetest Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
uiaction Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
validate Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
vscroll Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
webview Add wxWebView::SetZoomFactor(float) and GetZoomFactor() 2020-06-18 03:13:00 +02:00
widgets Merge branch 'widgets-sample' of https://github.com/PBfordev/wxWidgets 2020-07-10 02:07:44 +02:00
wizard Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
wrapsizer Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
xrc Support wxGenericAnimationCtrl by the animation control XRC handler 2020-06-09 18:07:10 +02:00
xti Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
Info.plist.in
makefile.bcc Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
makefile.gcc Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
Makefile.in
makefile.vc Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
sample.ico
sample.rc
sample.xpm
samples.bkl Remove the flash sample 2019-07-18 17:48:23 +02:00