mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-04-11 17:37:22 +10:00
- handling of `Taskbar alignment` setting (left/center) - start menu position is based on position of start button - mouse clicks to original button now work properly (without triggering original menu) - custom button is properly positioned - Win+X works properly
26 lines
797 B
C
26 lines
797 B
C
// Classic Shell (c) 2009-2017, Ivo Beltchev
|
|
// Open-Shell (c) 2017-2018, The Open-Shell Team
|
|
// Confidential information of Ivo Beltchev. Not for disclosure or distribution without prior written consent from the author
|
|
|
|
#pragma once
|
|
|
|
enum TStartButtonType
|
|
{
|
|
START_BUTTON_AERO,
|
|
START_BUTTON_CLASSIC,
|
|
START_BUTTON_CUSTOM,
|
|
// START_BUTTON_METRO,
|
|
};
|
|
|
|
HWND CreateStartButton( int taskbarId, HWND taskBar, HWND rebar );
|
|
void DestroyStartButton( int taskbarId );
|
|
void UpdateStartButton( int taskbarId );
|
|
void PressStartButton( int taskbarId, bool bPressed );
|
|
TStartButtonType GetStartButtonType( void );
|
|
SIZE GetStartButtonSize( int taskbarId );
|
|
bool IsStartButtonSmallIcons( int taskbarId );
|
|
bool IsTaskbarSmallIcons( void );
|
|
void TaskBarMouseMove( int taskbarId );
|
|
|
|
extern bool g_bAllowMoveButton;
|