New upstream version 18.0.1+dfsg1
This commit is contained in:
parent
6efda2859e
commit
f2cf6cce50
1337 changed files with 41178 additions and 84670 deletions
|
|
@ -51,28 +51,6 @@ bool GetDataFilePath(const char *data, string &output)
|
|||
return check_path(data, OBS_DATA_PATH "/obs-studio/", output);
|
||||
}
|
||||
|
||||
static BOOL CALLBACK OBSMonitorEnumProc(HMONITOR hMonitor, HDC hdcMonitor,
|
||||
LPRECT rect, LPARAM param)
|
||||
{
|
||||
vector<MonitorInfo> &monitors = *(vector<MonitorInfo> *)param;
|
||||
|
||||
monitors.emplace_back(
|
||||
rect->left,
|
||||
rect->top,
|
||||
rect->right - rect->left,
|
||||
rect->bottom - rect->top);
|
||||
|
||||
UNUSED_PARAMETER(hMonitor);
|
||||
UNUSED_PARAMETER(hdcMonitor);
|
||||
return true;
|
||||
}
|
||||
|
||||
void GetMonitors(vector<MonitorInfo> &monitors)
|
||||
{
|
||||
monitors.clear();
|
||||
EnumDisplayMonitors(NULL, NULL, OBSMonitorEnumProc, (LPARAM)&monitors);
|
||||
}
|
||||
|
||||
bool InitApplicationBundle()
|
||||
{
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue