diff options
author | Jean-Francois Mauguit <jfmauguit@mac.com> | 2024-09-24 09:03:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 09:03:25 -0400 |
commit | bab614c421ed7ae329d26bf028c4a3b1d2450f5a (patch) | |
tree | 12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/omBrowser/browserUiInternal.h | |
parent | 4bde6044fddf053f31795b9eaccdd2a5a527d21f (diff) | |
parent | 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (diff) | |
download | winamp-bab614c421ed7ae329d26bf028c4a3b1d2450f5a.tar.gz |
Merge pull request #5 from WinampDesktop/community
Merge to main
Diffstat (limited to 'Src/omBrowser/browserUiInternal.h')
-rw-r--r-- | Src/omBrowser/browserUiInternal.h | 37 |
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 |