ReactOS 0.4.16-dev-823-g9a093ec
|
Go to the source code of this file.
Classes | |
struct | StartMenuDirectory |
StartMenuDirectory is used to store the base directory of start menus. More... | |
struct | StartMenuEntry |
structure holding information about one start menu entry More... | |
struct | StartMenuButton |
struct | StartMenuCtrl |
struct | StartMenuSeparator |
separator between start menu entries More... | |
struct | StartMenuCreateInfo |
structor containing information for creating of start menus More... | |
struct | StartMenu |
struct | StartMenuHandler |
Handling of standard start menu commands. More... | |
struct | StartMenuRootCreateInfo |
struct | StartMenuRoot |
Startmenu root window. More... | |
struct | SettingsMenu |
Settings sub-startmenu. More... | |
struct | BrowseMenu |
"Browse Files..." sub-start menu More... | |
struct | SearchMenu |
Search sub-startmenu. More... | |
struct | RecentStartMenu |
"Recent Files" sub-start menu More... | |
struct | FavoritesMenu |
Bookmarks sub-startmenu. More... | |
Macros | |
#define | CLASSNAME_STARTMENU TEXT("ReactOSStartmenuClass") |
#define | TITLE_STARTMENU TEXT("Start Menu") |
#define | STARTMENU_WIDTH_MIN 120 |
#define | STARTMENU_LINE_HEIGHT(icon_size) (icon_size+4) |
#define | STARTMENU_SEP_HEIGHT(icon_size) (STARTMENU_LINE_HEIGHT(icon_size)/2) |
#define | STARTMENU_TOP_BTN_SPACE 8 |
#define | PM_STARTMENU_CLOSED (WM_APP+0x11) |
#define | PM_STARTENTRY_LAUNCHED (WM_APP+0x12) |
#define | PM_STARTENTRY_FOCUSED (WM_APP+0x13) |
#define | PM_UPDATE_ICONS (WM_APP+0x14) |
#define | PM_SELECT_ENTRY (WM_APP+0x15) |
#define | STARTMENU_CREATOR(WND_CLASS) WINDOW_CREATOR_INFO(WND_CLASS, StartMenuCreateInfo) |
#define | RFF_NOBROWSE 0x01 |
#define | RFF_NODEFAULT 0x02 |
#define | RFF_CALCDIRECTORY 0x04 |
#define | RFF_NOLABEL 0x08 |
#define | RFF_NOSEPARATEMEM 0x20 |
#define | RECENT_DOCS_COUNT 20 |
Typedefs | |
typedef list< StartMenuDirectory > | StartMenuShellDirs |
typedef set< Entry * > | ShellEntrySet |
typedef list< ShellPath > | StartMenuFolders |
typedef map< int, StartMenuEntry > | ShellEntryMap |
typedef void(WINAPI * | RUNFILEDLG) (HWND hwndOwner, HICON hIcon, LPCSTR lpstrDirectory, LPCSTR lpstrTitle, LPCSTR lpstrDescription, UINT uFlags) |
typedef void(WINAPI * | EXITWINDOWSDLG) (HWND hwndOwner) |
typedef int(WINAPI * | LOGOFFWINDOWSDIALOG) (UINT flags) |
typedef int(WINAPI * | RESTARTWINDOWSDLG) (HWND hwndOwner, LPCWSTR reason, UINT flags) |
typedef int(WINAPI * | RESTARTWINDOWSDLGEX) (HWND hWndOwner, LPCWSTR lpwstrReason, DWORD uFlags, DWORD uReason) |
typedef BOOL(WINAPI * | SHFINDFILES) (LPCITEMIDLIST pidlRoot, LPCITEMIDLIST pidlSavedSearch) |
typedef BOOL(WINAPI * | SHFINDCOMPUTER) (LPCITEMIDLIST pidlRoot, LPCITEMIDLIST pidlSavedSearch) |
typedef map< int, BookmarkNode > | BookmarkMap |
Functions | |
int | GetStartMenuBtnTextWidth (HDC hdc, LPCTSTR title, HWND hwnd) |
void | DrawStartMenuButton (HDC hdc, const RECT &rect, LPCTSTR title, HICON hIcon, bool hasSubmenu, bool enabled, bool has_focus, bool pushed, int icon_size) |
Definition at line 29 of file startmenu.h.
Definition at line 48 of file startmenu.h.
Definition at line 44 of file startmenu.h.
Definition at line 41 of file startmenu.h.
Definition at line 40 of file startmenu.h.
Definition at line 47 of file startmenu.h.
#define RECENT_DOCS_COUNT 20 |
Definition at line 440 of file startmenu.h.
#define RFF_CALCDIRECTORY 0x04 |
Definition at line 317 of file startmenu.h.
#define RFF_NOBROWSE 0x01 |
Definition at line 315 of file startmenu.h.
#define RFF_NODEFAULT 0x02 |
Definition at line 316 of file startmenu.h.
#define RFF_NOLABEL 0x08 |
Definition at line 318 of file startmenu.h.
#define RFF_NOSEPARATEMEM 0x20 |
Definition at line 319 of file startmenu.h.
#define STARTMENU_CREATOR | ( | WND_CLASS | ) | WINDOW_CREATOR_INFO(WND_CLASS, StartMenuCreateInfo) |
Definition at line 149 of file startmenu.h.
Definition at line 34 of file startmenu.h.
#define STARTMENU_SEP_HEIGHT | ( | icon_size | ) | (STARTMENU_LINE_HEIGHT(icon_size)/2) |
Definition at line 35 of file startmenu.h.
#define STARTMENU_TOP_BTN_SPACE 8 |
Definition at line 36 of file startmenu.h.
#define STARTMENU_WIDTH_MIN 120 |
Definition at line 33 of file startmenu.h.
Definition at line 30 of file startmenu.h.
typedef map<int, BookmarkNode> BookmarkMap |
Definition at line 459 of file startmenu.h.
Definition at line 323 of file startmenu.h.
Definition at line 325 of file startmenu.h.
typedef int(WINAPI * RESTARTWINDOWSDLGEX) (HWND hWndOwner, LPCWSTR lpwstrReason, DWORD uFlags, DWORD uReason) |
Definition at line 326 of file startmenu.h.
typedef void(WINAPI * RUNFILEDLG) (HWND hwndOwner, HICON hIcon, LPCSTR lpstrDirectory, LPCSTR lpstrTitle, LPCSTR lpstrDescription, UINT uFlags) |
Definition at line 309 of file startmenu.h.
typedef map<int, StartMenuEntry> ShellEntryMap |
Definition at line 151 of file startmenu.h.
typedef set<Entry*> ShellEntrySet |
Definition at line 69 of file startmenu.h.
typedef BOOL(WINAPI * SHFINDCOMPUTER) (LPCITEMIDLIST pidlRoot, LPCITEMIDLIST pidlSavedSearch) |
Definition at line 328 of file startmenu.h.
typedef BOOL(WINAPI * SHFINDFILES) (LPCITEMIDLIST pidlRoot, LPCITEMIDLIST pidlSavedSearch) |
Definition at line 327 of file startmenu.h.
typedef list<ShellPath> StartMenuFolders |
Definition at line 134 of file startmenu.h.
typedef list<StartMenuDirectory> StartMenuShellDirs |
Definition at line 68 of file startmenu.h.
void DrawStartMenuButton | ( | HDC | hdc, |
const RECT & | rect, | ||
LPCTSTR | title, | ||
HICON | hIcon, | ||
bool | hasSubmenu, | ||
bool | enabled, | ||
bool | has_focus, | ||
bool | pushed, | ||
int | icon_size | ||
) |
Referenced by StartMenuButton::DrawItem(), and StartMenu::Paint().
Definition at line 1371 of file startmenu.cpp.
Referenced by StartMenu::AddButton().