aboutsummaryrefslogtreecommitdiff
path: root/c/common.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-02 20:10:35 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-02 20:10:35 +0200
commitae3225a4e7ef86d159fdf27834c453ffcd4da76c (patch)
treef52129b946fdebfee8ffd88bc2b90347786e6e0e /c/common.h
parent288f4c294ac1be89b151a3f96eb9d5cb9d91055f (diff)
downloadEpisodeBrowser-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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/c/common.h b/c/common.h
index 6dfd782..d908d12 100644
--- a/c/common.h
+++ b/c/common.h
@@ -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();