mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 03:36:44 +02:00
Formatting chores (#1441)
* format_sources: exclude 3rd party sources * format common project * format leftovers in runner & settings projects * move source formatting-related files according to #939
This commit is contained in:
@@ -5,18 +5,21 @@
|
||||
#include <Windows.h>
|
||||
#include <UIAutomationClient.h>
|
||||
|
||||
struct TasklistButton {
|
||||
std::wstring name;
|
||||
long x, y, width, height, keynum;
|
||||
struct TasklistButton
|
||||
{
|
||||
std::wstring name;
|
||||
long x, y, width, height, keynum;
|
||||
};
|
||||
|
||||
class Tasklist {
|
||||
class Tasklist
|
||||
{
|
||||
public:
|
||||
void update();
|
||||
std::vector<TasklistButton> get_buttons();
|
||||
bool update_buttons(std::vector<TasklistButton>& buttons);
|
||||
void update();
|
||||
std::vector<TasklistButton> get_buttons();
|
||||
bool update_buttons(std::vector<TasklistButton>& buttons);
|
||||
|
||||
private:
|
||||
winrt::com_ptr<IUIAutomation> automation;
|
||||
winrt::com_ptr<IUIAutomationElement> element;
|
||||
winrt::com_ptr<IUIAutomationCondition> true_condition;
|
||||
winrt::com_ptr<IUIAutomation> automation;
|
||||
winrt::com_ptr<IUIAutomationElement> element;
|
||||
winrt::com_ptr<IUIAutomationCondition> true_condition;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user