aboutsummaryrefslogtreecommitdiff
path: root/Src/omBrowser/browserUiInternal.h
diff options
context:
space:
mode:
authorJef <jef@targetspot.com>2024-09-24 08:54:57 -0400
committerJef <jef@targetspot.com>2024-09-24 08:54:57 -0400
commit20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (patch)
tree12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/omBrowser/browserUiInternal.h
parent537bcbc86291b32fc04ae4133ce4d7cac8ebe9a7 (diff)
downloadwinamp-20d28e80a5c861a9d5f449ea911ab75b4f37ad0d.tar.gz
Initial community commit
Diffstat (limited to 'Src/omBrowser/browserUiInternal.h')
-rw-r--r--Src/omBrowser/browserUiInternal.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/Src/omBrowser/browserUiInternal.h b/Src/omBrowser/browserUiInternal.h
new file mode 100644
index 00000000..2f379c81
--- /dev/null
+++ b/Src/omBrowser/browserUiInternal.h
@@ -0,0 +1,37 @@
+#ifndef NULLSOFT_WINAMP_OMBROWSER_UI_INTERNAL_HEADER
+#define NULLSOFT_WINAMP_OMBROWSER_UI_INTERNAL_HEADER
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1020)
+#pragma once
+#endif
+
+#include <wtypes.h>
+
+//styles ex
+#define NBCS_EX_BROWSERREADY 0x00000001
+#define NBCS_EX_NAVCOMPLETED 0x00000002
+#define NBCS_EX_BLOCKNAVIGATION 0x00000004
+
+// popup only
+#define NBCS_EX_NAVIGATEDONCE 0x00000100
+#define NBCS_EX_FULLSCREEN 0x00000200
+#define NBCS_EX_SCRIPTMODE 0x00000400
+
+#define ACCELTABLE_VIEW 0
+#define ACCELTABLE_POPUP 1
+
+HACCEL BrowserControl_GetAccelTable(UINT tableType);
+
+BOOL BrowserControl_ProcessCommonCommand(HWND hControl, INT commandId);
+BOOL BrowserControl_ProcessToolbarCommand(HWND hControl, INT commandId);
+BOOL BrowserControl_ProcessStatusbarCommand(HWND hControl, INT commandId);
+BOOL BrowserControl_ProcessAppCommand(HWND hControl, INT commandId);
+
+typedef struct __OPERATIONINFO OPERATIONINFO;
+BOOL BrowserControl_OnShowOperation(HWND hControl, OPERATIONINFO *poi);
+HWND BrowserControl_GetOperationWidget(HWND hControl);
+
+BOOL BrowserControl_UpdateLayout(HWND hControl, BOOL fRedraw, BOOL fFrame, HRGN updateRegion,const POINT *updateOffset);
+BOOL BrowserControl_EnableChildren(HWND hControl, BOOL fEnable);
+BOOL BrowserControl_SetBlockedState(HWND hControl, BOOL fBlocked);
+#endif // NULLSOFT_WINAMP_OMBROWSER_UI_INTERNAL_HEADER \ No newline at end of file