From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/omBrowser/browserUiInternal.h | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Src/omBrowser/browserUiInternal.h (limited to 'Src/omBrowser/browserUiInternal.h') 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 + +//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 -- cgit