mirror of
https://github.com/Blinue/Magpie.git
synced 2026-06-24 02:04:10 +00:00
21 lines
429 B
C++
21 lines
429 B
C++
#pragma once
|
|
#include "WindowBase.h"
|
|
|
|
class CursorWindow : public WindowBaseT<CursorWindow> {
|
|
using base_type = WindowBaseT<CursorWindow>;
|
|
friend base_type;
|
|
|
|
public:
|
|
bool Create() noexcept;
|
|
|
|
private:
|
|
LRESULT _MessageHandler(UINT msg, WPARAM wParam, LPARAM lParam) noexcept;
|
|
|
|
void _UpdateButtonPos() noexcept;
|
|
|
|
wil::unique_hcursor _hCursor = NULL;
|
|
|
|
HWND _hwndBtn1 = NULL;
|
|
HWND _hwndBtn2 = NULL;
|
|
HWND _hwndBtn3 = NULL;
|
|
};
|