FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cefpython/src/client_handler/dpi_aware.h at master · linesight/cefpython · GitHub
linesight
/
cefpython
Public
forked from
cztomczak/cefpython
Notifications
You must be signed in to change notification settings
Fork
2
Star
11
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cefpython
/
src
/
client_handler
/
dpi_aware.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
27 lines (21 loc) · 778 Bytes
Breadcrumbs
cefpython
/
src
/
client_handler
/
dpi_aware.h
Copy path
File metadata and controls
27 lines (21 loc) · 778 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright (c) 2014 CEF Python, see the Authors file.
// All rights reserved. Licensed under BSD 3-clause license.
// Project website: https://github.com/cztomczak/cefpython
// Windows only
#pragma
once
#include
<windows.h>
#include
"include/cef_app.h"
#include
"util.h"
// Duplicated from Win8.1 SDK ShellScalingApi.h
typedef
enum
PROCESS_DPI_AWARENESS
{
PROCESS_DPI_UNAWARE
=
0
,
PROCESS_SYSTEM_DPI_AWARE
=
1
,
PROCESS_PER_MONITOR_DPI_AWARE
=
2
}
PROCESS_DPI_AWARENESS
;
bool
IsProcessDpiAware
();
PROCESS_DPI_AWARENESS
GetProcessDpiAwareness
();
void
SetProcessDpiAware
();
void
GetSystemDpi
(
int
*
outx
,
int
*
outy
);
void
GetDpiAwareWindowSize
(
int
*
width
,
int
*
height
);
void
SetBrowserDpiSettings
(
CefRefPtr
<
CefBrowser
>
cefBrowser
,
CefString
autoZooming
);
Back
|
FazBrowse Home
|
New Git URL