mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Windows: cefclient: Improve high-dpi display (issue #1674).
- Add high-dpi support to the OSR example. - Apply DPI scaling to the buttons and URL bar.
This commit is contained in:
@@ -112,6 +112,9 @@ class RootWindowWin : public RootWindow,
|
||||
// Draggable region.
|
||||
HRGN draggable_region_;
|
||||
|
||||
// Font for buttons and text fields.
|
||||
HFONT font_;
|
||||
|
||||
// Buttons.
|
||||
HWND back_hwnd_;
|
||||
HWND forward_hwnd_;
|
||||
|
Reference in New Issue
Block a user