diff options
author | John Ankarström <john@ankarstrom.se> | 2022-08-02 20:10:35 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-08-02 20:10:35 +0200 |
commit | ae3225a4e7ef86d159fdf27834c453ffcd4da76c (patch) | |
tree | f52129b946fdebfee8ffd88bc2b90347786e6e0e /c/common.h | |
parent | 288f4c294ac1be89b151a3f96eb9d5cb9d91055f (diff) | |
download | EpisodeBrowser-ae3225a4e7ef86d159fdf27834c453ffcd4da76c.tar.gz |
Implement draggable split.
Next step is to allow a double click to reset the split to be
automatically resized.
Diffstat (limited to 'c/common.h')
-rw-r--r-- | c/common.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -11,6 +11,9 @@ #define WA "A" #endif +int EBMessageBox(const wchar_t* wszText, const wchar_t* wszCaption, unsigned uType); +int GetRelativeCursorPos(HWND hWnd, POINT* pt); + struct wstring_owner { static wstring_owner from_narrow(const char* buf, int cp = CP_UTF8); @@ -28,8 +31,6 @@ struct wstring_owner wchar_t* p = nullptr; }; -int EBMessageBox(const wchar_t* wszText, const wchar_t* wszCaption, unsigned uType); - struct Win32Error : public std::exception { Win32Error(); |