mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-06-22 20:41:46 -05:00
Create header for platform specific functions. Move some UI helper functions to utility.hpp.
12 lines
401 B
C++
12 lines
401 B
C++
#pragma once
|
|
|
|
void GetWindowList(std::vector<std::string> &windows);
|
|
void GetWindowList(QStringList &windows);
|
|
void GetCurrentWindowTitle(std::string &title);
|
|
bool isFullscreen(const std::string &title);
|
|
bool isMaximized(const std::string &title);
|
|
std::pair<int, int> getCursorPos();
|
|
int secondsSinceLastInput();
|
|
void GetProcessList(QStringList &processes);
|
|
bool isInFocus(const QString &executable);
|