ReactOS 0.4.15-dev-7958-gcd0bb1a
startmenu.cpp File Reference
#include <precomp.h>
#include "desktopbar.h"
#include "startmenu.h"
#include "../dialogs/searchprogram.h"
#include "../dialogs/settings.h"
Include dependency graph for startmenu.cpp:

Go to the source code of this file.

Classes

struct  RunDialogThread
 

Macros

#define SHELLPATH_CONTROL_PANEL   TEXT("::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}")
 
#define SHELLPATH_PRINTERS   TEXT("::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{2227A280-3AEA-1069-A2DE-08002B30309D}")
 
#define SHELLPATH_NET_CONNECTIONS   TEXT("::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}")
 

Functions

static LPTSTR trim_path_slash (LPTSTR path)
 
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)
 
 if (!btn._enabled) style|
 
 if (pushed)
 
 if (has_focus)
 
 if (title) FillRect(hdc
 
 if (btn._icon_id > ICID_NONE) g_Globals._icon_cache.get_icon(btn._icon_id).draw(hdc
 
 if (btn._hasSubmenu)
 
static void CalculateStartPos (HWND hwndOwner, RECT &rect, int icon_size)
 
void ShowExitWindowsDialog (HWND hwndOwner)
 

Variables

POINT iconPos = {rect.left+2, (rect.top+rect.bottom-icon_size)/2}
 
RECT textRect = {rect.left+icon_size+4, rect.top+2, rect.right-4, rect.bottom-4}
 
int bk_color_idx = COLOR_BTNFACE
 
int text_color_idx = COLOR_BTNTEXT
 
COLORREF bk_color = GetSysColor(bk_color_idx)
 
HBRUSH bk_brush = GetSysColorBrush(bk_color_idx)
 
rect
 
iconPos x
 
iconPos iconPos y
 
iconPos iconPos icon_size
 

Macro Definition Documentation

◆ SHELLPATH_CONTROL_PANEL

#define SHELLPATH_CONTROL_PANEL   TEXT("::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}")

Definition at line 42 of file startmenu.cpp.

◆ SHELLPATH_NET_CONNECTIONS

#define SHELLPATH_NET_CONNECTIONS   TEXT("::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}")

Definition at line 44 of file startmenu.cpp.

◆ SHELLPATH_PRINTERS

#define SHELLPATH_PRINTERS   TEXT("::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{2227A280-3AEA-1069-A2DE-08002B30309D}")

Definition at line 43 of file startmenu.cpp.

Function Documentation

◆ CalculateStartPos()

static void CalculateStartPos ( HWND  hwndOwner,
RECT rect,
int  icon_size 
)
static

Definition at line 1594 of file startmenu.cpp.

1595{
1596 WindowRect pos(hwndOwner);
1597
1598 rect.left = pos.left;
1600 rect.right = pos.left+STARTMENU_WIDTH_MIN;
1601 rect.bottom = pos.top;
1602
1603#ifndef _LIGHT_STARTMENU
1605#endif
1606}
iconPos iconPos icon_size
Definition: startmenu.cpp:1416
& rect
Definition: startmenu.cpp:1413
#define STARTMENU_LINE_HEIGHT(icon_size)
Definition: startmenu.h:34
#define STARTMENU_WIDTH_MIN
Definition: startmenu.h:33

Referenced by StartMenuRoot::Create(), and StartMenuRoot::TrackStartmenu().

◆ DrawStartMenuButton()

void DrawStartMenuButton ( HDC  hdc,
const RECT rect,
LPCTSTR  title,
HICON  hIcon,
bool  hasSubmenu,
bool  enabled,
bool  has_focus,
bool  pushed,
int  icon_size 
)

◆ GetStartMenuBtnTextWidth()

int GetStartMenuBtnTextWidth ( HDC  hdc,
LPCTSTR  title,
HWND  hwnd 
)

Definition at line 1371 of file startmenu.cpp.

1372{
1373 RECT rect = {0, 0, 0, 0};
1375
1376 return rect.right-rect.left;
1377}
HDC hdc
Definition: main.c:9
static char title[]
Definition: ps.c:92
#define DT_NOPREFIX
Definition: winuser.h:537
#define DT_SINGLELINE
Definition: winuser.h:540
#define DrawText
Definition: winuser.h:5771
#define DT_CALCRECT
Definition: winuser.h:526

Referenced by StartMenu::AddButton().

◆ if() [1/6]

if ( !btn.  _enabled)

◆ if() [2/6]

if ( btn.  _hasSubmenu)

Definition at line 1419 of file startmenu.cpp.

1419 {
1422
1424 has_focus? selArrowIcon: arrowIcon,
1426 }
#define IDI_ARROW
Definition: resource.h:37
#define IDI_ARROW_SELECTED
Definition: resource.h:73
POINT iconPos
Definition: startmenu.cpp:1391
HBRUSH bk_brush
Definition: startmenu.cpp:1410
convenient loading of icon resources with specified sizes
Definition: globals.h:332
long y
Definition: polytest.cpp:48
#define DI_NORMAL
Definition: wingdi.h:72
BOOL WINAPI DrawIconEx(_In_ HDC, _In_ int, _In_ int, _In_ HICON, _In_ int, _In_ int, _In_ UINT, _In_opt_ HBRUSH, _In_ UINT)
Definition: cursoricon.c:2028

◆ if() [3/6]

if ( btn.  _icon_id,
ICID_NONE   
)

◆ if() [4/6]

if ( has_focus  )

Definition at line 1404 of file startmenu.cpp.

1404 {
1407 }
int bk_color_idx
Definition: startmenu.cpp:1401
int text_color_idx
Definition: startmenu.cpp:1402
#define COLOR_HIGHLIGHT
Definition: winuser.h:926
#define COLOR_HIGHLIGHTTEXT
Definition: winuser.h:927

◆ if() [5/6]

if ( pushed  )

Definition at line 1394 of file startmenu.cpp.

1394 {
1395 style |= DFCS_PUSHED;
1396 ++iconPos.x; ++iconPos.y;
1399 }
Arabic default style
Definition: afstyles.h:94
RECT textRect
Definition: startmenu.cpp:1392
long x
Definition: polytest.cpp:48
LONG right
Definition: windef.h:308
LONG bottom
Definition: windef.h:309
LONG top
Definition: windef.h:307
LONG left
Definition: windef.h:306
#define DFCS_PUSHED
Definition: winuser.h:503

◆ if() [6/6]

if ( title  )

Definition at line 1428 of file startmenu.cpp.

1428 {
1429 BkMode bk_mode(hdc, TRANSPARENT);
1430
1431 if (!btn._enabled) // dis->itemState & (ODS_DISABLED|ODS_GRAYED)
1433 else {
1434 TextColor lcColor(hdc, GetSysColor(text_color_idx));
1436 }
1437 }
void DrawGrayText(HDC hdc, LPRECT pRect, LPCTSTR title, int dt_flags)
Definition: window.cpp:891
#define TRANSPARENT
Definition: wingdi.h:950
DWORD WINAPI GetSysColor(_In_ int)
#define DT_VCENTER
Definition: winuser.h:543

◆ ShowExitWindowsDialog()

void ShowExitWindowsDialog ( HWND  hwndOwner)

Definition at line 2128 of file startmenu.cpp.

2129{
2130 static DynamicFct<EXITWINDOWSDLG> ExitWindowsDialog(TEXT("SHELL32"), 60);
2131
2133 (*ExitWindowsDialog)(hwndOwner);
2134 else
2135 MessageBox(hwndOwner, TEXT("ExitWindowsDialog() not yet implemented in SHELL32"), ResString(IDS_TITLE), MB_OK);
2136}
#define IDS_TITLE
Definition: resource.h:30
void WINAPI ExitWindowsDialog(HWND hWndOwner)
Definition: dialogs.cpp:1608
#define TEXT(s)
Definition: k32.h:26
convenient loading of string resources
Definition: globals.h:304
#define MB_OK
Definition: winuser.h:790
#define MessageBox
Definition: winuser.h:5822

Referenced by StartMenuHandler::Command(), DesktopWindow::WndProc(), and DesktopBar::WndProc().

◆ trim_path_slash()

static LPTSTR trim_path_slash ( LPTSTR  path)
static

Definition at line 230 of file startmenu.cpp.

231{
232 LPTSTR p = path;
233
234 while(*p)
235 ++p;
236
237 if (p>path && (p[-1]=='\\' || p[-1]=='/'))
238 *--p = '\0';
239
240 return path;
241}
GLfloat GLfloat p
Definition: glext.h:8902
CHAR * LPTSTR
Definition: xmlstorage.h:192

Referenced by StartMenu::AddShellEntries().

Variable Documentation

◆ bk_brush

◆ bk_color

◆ bk_color_idx

int bk_color_idx = COLOR_BTNFACE

Definition at line 1401 of file startmenu.cpp.

Referenced by if().

◆ icon_size

◆ iconPos

Definition at line 1391 of file startmenu.cpp.

Referenced by if(), and SoftModalMessageBox().

◆ rect

& rect

Definition at line 1413 of file startmenu.cpp.

Referenced by _check_item(), _check_rect(), _check_txgetnaturalsize(), ToolTip::add(), GraphicsPath::AddArc(), StartMenu::AddButton(), AddColumns(), AddDialogControl(), GraphicsPath::AddEllipse(), AddPenLinesBounds(), GraphicsPath::AddPie(), GraphicsPath::AddRectangle(), StartMenu::AddSeparator(), QuickLaunchBar::AddShortcuts(), GraphicsPath::AddString(), ANIMATE_EraseBackground(), ANIMATE_PaintFrame(), app_draw_arc(), app_draw_ellipse(), app_fill_arc(), app_fill_arc_rect(), appbar_cliprect(), BitmapClipper_CopyPixels(), Blt_Test(), BUTTON_WindowProc(), ButtonWndProc_common(), cache_rect(), CalcChildScroll(), CalculateStartPos(), CaptureScreen(), CBDropDown(), CBRollUp(), CC_DrawFocusRect(), CC_MouseCheckColorGraph(), CC_MouseCheckPredefColorArray(), CC_MouseCheckResultWindow(), CC_MouseCheckUserColorArray(), CC_PaintColorGraph(), CC_PaintCross(), CC_PaintLumBar(), CC_PaintPredefColorArray(), CC_PaintSelectedColor(), CC_PaintTriangle(), CC_PaintUserColorArray(), CC_PrepareColorGraph(), CC_WMInitDialog(), CC_WMLButtonDown(), CFn_WMDrawItem(), ChangeRequiredButton(), Child_OnSize(), Client_accLocation(), clip_emf_enum_proc(), Bitmap::Clone(), COMBOEX_ComboWndProc(), COMBOEX_Create(), compare_bounds(), Region::Complement(), compute_rect(), CUiPanel::ComputeContentBounds(), CUiWindow< T >::ComputeContentBounds(), CUiSplitPanel::ComputeContentBounds(), ConfigDlgProc(), copy_interlaced_pixels(), copy_pixels(), DesktopBar::Create(), ChildWindow::create(), StartMenuRoot::Create(), ClockWindow::Create(), ATL::CWindowImplBaseT< TBase, TWinTraits >::Create(), CListView::Create(), ATL::CWindowImpl< T, TBase, TWinTraits >::Create(), StartMenu::Create(), ATL::CWindow::Create(), create_animate(), create_bitmap_from_icon(), create_bitmap_from_source_rect(), create_child_editcontrol(), create_doc_view_hwnd(), create_edit_control(), create_emf(), create_html_rect(), create_line_brush(), create_listview_control(), create_listview_controlW(), create_metafile(), create_mf(), create_monthcal_control(), create_pager_control(), create_plugin_window(), create_small_bitmap_from_icon(), create_sort_arrow(), create_tooltip(), create_trackbar(), create_trackbar2(), create_updown_control(), create_view_window2_hook(), CreateEnhMetaFileA(), CreateEnhMetaFileW(), createFilledTabControl(), CreateLayoutIcon(), CreateScreenSaveWnd(), CreateSelectionRgn(), CreateSinkBmp(), StartMenu::CreateSubmenu(), CreateTrayIcon(), d3d8_device_CopyRects(), d3d8_surface_LockRect(), d3d8_texture_2d_LockRect(), d3d8_texture_cube_LockRect(), d3d9_device_ColorFill(), d3d9_device_GetScissorRect(), d3d9_device_SetScissorRect(), d3d9_surface_LockRect(), d3d9_texture_2d_LockRect(), d3d9_texture_cube_LockRect(), d3d_device1_Pick(), d3dx9_sprite_Draw(), D3DXLoadSurfaceFromFileInMemory(), DATETIME_GetIdealSize(), DceSetDrawable(), ddraw_clipper_GetClipList(), ddraw_surface1_AddOverlayDirtyRect(), ddraw_surface1_Lock(), ddraw_surface2_AddOverlayDirtyRect(), ddraw_surface2_Lock(), ddraw_surface3_AddOverlayDirtyRect(), ddraw_surface3_Lock(), ddraw_surface4_AddOverlayDirtyRect(), ddraw_surface4_Lock(), ddraw_surface7_Lock(), ddraw_surface_update_frontbuffer(), ddrawstreamsample_create(), debug_wic_rect(), DECLARE_INTERFACE_(), DEFDLG_Proc(), DefWndScreenshot(), DefWndStartSizeMove(), DesktopShellView::DesktopShellView(), BtrfsVolPropSheet::DeviceDlgProc(), DIALOG_CreateIndirect(), did_recalc(), DirectDrawMediaStreamImpl_IDirectDrawMediaStream_CreateSample(), Display_OnSize(), Display_SetTypeFace(), DisplayPageWndProc(), DisplayPopupMenu(), DocumentSite_ActivateMe(), DragDetect(), draw_cache_rects(), draw_graphics(), draw_space(), Graphics::DrawArc(), CTrayClockWnd::DrawBackground(), DrawCaptionTempA(), DrawCaptionTempW(), DrawCheckedRect(), Graphics::DrawEllipse(), DrawFocusRect(), DrawIconOnOwnerDrawnButtons(), Graphics::DrawImage(), FlatButton::DrawItem(), PictureButton::DrawItem(), Graphics::DrawPie(), Graphics::DrawRectangle(), CTrayWindow::DrawSizerWithTheme(), Graphics::DrawString(), DrawTextA(), DrawTextExA(), DrawTextExW(), DrawTextExWorker(), DrawTextW(), DropZone::DropZone(), dump_region(), EDIT_WindowProc(), EditGlyphCommand(), EditGlyphEditWndProc(), EditGlyphPreviewWndProc(), EditVariableDlgProc(), embed_plugin_object(), EMFDC_ExtTextOut(), emfdc_update_bounds(), emfdrv_update_bounds(), EMFDRV_UpdateBBox(), emfpathdrv_ExtTextOut(), TaskBar::EnumWndProc(), EnvironmentDlgProc(), CTrayWindow::EraseBackgroundWithTheme(), EventDetails(), EventDetailsCtrl(), Region::Exclude(), Graphics::ExcludeClip(), FILEDLG95_InitControls(), FileMenu_GetItemExtent(), Graphics::FillEllipse(), Graphics::FillPie(), Graphics::FillRectangle(), FlipRotator_CopyPixels(), format_string_callback(), gdip_format_string(), GdipBitmapLockBits(), GdipCombineRegionRect(), GdipCombineRegionRectI(), GdipCreateBitmapFromHICON(), GdipCreateLineBrush(), GdipCreateLineBrushFromRect(), GdipCreateLineBrushFromRectI(), GdipCreateLineBrushFromRectWithAngle(), GdipCreateLineBrushFromRectWithAngleI(), GdipCreateMatrix3(), GdipCreateMatrix3I(), GdipCreateRegionHrgn(), GdipCreateRegionRect(), GdipCreateRegionRectI(), GdipDrawString(), GdipFillRectangle(), GdipFillRectangleI(), GdipGetClipBounds(), GdipGetClipBoundsI(), GdipGetLineRect(), GdipGetLineRectI(), GdipGetPathGradientRect(), GdipGetPathGradientRectI(), GdipGetRegionBounds(), GdipGetRegionBoundsI(), GdipGetVisibleClipBounds(), GdipGetVisibleClipBoundsI(), GdipIsEmptyRegion(), GdipIsVisibleRegionRect(), GdipMeasureString(), GdipSetClipRect(), get_bar_position(), get_bar_size(), get_bitmap_sample_size(), get_client_rect(), get_graphics_bounds(), get_graphics_device_bounds(), get_led_size(), get_surface_color(), GetBestOverlapWithMonitors(), Region::GetBounds(), GetButtonHeight(), StartMenu::GetButtonRect(), Graphics::GetClipBounds(), CardWindow::GetDropZoneFromRect(), GetGeneralGroupData(), GetPixel(), LinearGradientBrush::GetRectangle(), PathGradientBrush::GetRectangle(), GetStartMenuBtnTextWidth(), GetUserMembershipData(), Graphics::GetVisibleClipBounds(), OleInPlaceClient::GetWindowContext(), DropZone::GetZone(), GROUP_GroupWndProc(), handle_WM_PAINT(), ResizeManager::HandleSize(), HEADER_DrawTrackLine(), HEADER_InternalHitTest(), HEADER_Refresh(), HEADER_SendCtrlCustomDraw(), HEADER_SetItemBounds(), hottrack_refresh(), ICONTITLE_Paint(), ICONTITLE_SetTitlePos(), ID3DXFontImpl_DrawTextA(), ID3DXFontImpl_DrawTextW(), IDirectDrawStreamSampleImpl_GetSurface(), IDirectDrawStreamSampleImpl_SetRect(), if(), ImagingFactory_CreateBitmapFromSourceRect(), InflateRect(), DesktopWindow::Init(), DesktopBar::Init(), init(), InitColorButtons(), InitGroupMembersList(), InitializeRecycleBinDlg(), InitializeTcpipAdvancedIpDlg(), InitResources(), InitUserGroupsList(), InPlaceSite_GetWindowContext(), InPlaceSiteWindowless_GetWindowContext(), IntDrawArc(), IntDrawEllipse(), IntDrawRoundRect(), IntEngPolyline(), Region::Intersect(), Graphics::IntersectClip(), IntFillArc(), IntFillEllipse(), IntFillRoundRect(), ImageModel::InvertColors(), IOCS_Init(), IOCS_OnDraw(), IOCS_OnSize(), IPADDRESS_Draw(), is_integer_rect(), IsThemeBackgroundPartiallyTransparent(), Graphics::IsVisible(), Region::IsVisible(), LANStatusUiDetailsDlg(), LinearGradientBrush::LinearGradientBrush(), LISTBOX_Create(), LISTBOX_DrawFocusRect(), LISTBOX_GetItemRect(), LISTBOX_InvalidateItemRect(), LISTBOX_InvalidateItems(), LISTBOX_Paint(), LISTBOX_PaintItem(), LISTBOX_RepaintItem(), LISTBOX_SetHorizontalPos(), LISTBOX_UpdateSize(), LISTBOX_WindowProc(), ListBoxWndProc_common(), LISTVIEW_Command(), LISTVIEW_EditLabelT(), LISTVIEW_GetSubItemRect(), LISTVIEW_InvalidateRect(), LISTVIEW_MarqueeHighlight(), LISTVIEW_MouseMove(), LISTVIEW_UpdateSize(), Bitmap::LockBits(), MAIN_CreateMDIWindow(), MainWindow_OnSize(), MainWindow_WndProc(), MainWndProc(), make_point_onscreen(), make_rect_onscreen(), Matrix::Matrix(), MCIAVI_WindowProc(), MDI_CalcDefaultChildPos(), MDI_ChildGetMinMaxInfo(), MDIClientWndProc_common(), MDITile(), MENU_AdjustMenuItemRect(), MENU_DrawBitmapItem(), MENU_DrawMenuItem(), MENU_DrawPopupMenu(), MENU_DrawScrollArrows(), MENU_FindItemByCoords(), metadc_text(), METAFILE_GetFinalGdiTransform(), metafile_read_region_node(), MF_Play_MetaExtTextOut(), MFDRV_MetaExtTextOut(), mi_fill_rect(), mi_screen_copy(), MinimizeDesktopEnumFct(), mirror_rect(), MONTHCAL_GetMinReqRect(), MONTHCAL_UpdateToday(), MoveOnScreen(), msi_maskedit_create_children(), MyDrawCaptionTemp(), MyDrawMenuBarTemp(), NC_GetInsideRect(), NC_HandleNCLButtonDown(), nccalcsize_proc(), CTooltips::NewToolRect(), NtGdiExcludeClipRect(), NtGdiIntersectClipRect(), NtUserDragDetect(), NtUserSetInternalWindowPos(), object_available(), OffsetRect(), OleDocumentSite_ActivateMe(), OleDocumentView_SetRect(), OleDraw(), OleObject_DoVerb(), OnEnvironmentDlgResize(), OnEnvironmentEditDlgResize(), CSysPagerWnd::OnEraseBackground(), CTaskSwitchWnd::OnEraseBackground(), CTrayNotifyWnd::OnEraseBackground(), OnInitDialog(), CCell::OnPaint(), CUiPanel::OnParentSize(), CUiWindow< T >::OnParentSize(), CUiSplitPanel::OnParentSize(), OnScroll(), OnSize(), CSearchBar::OnSize(), CGridView::OnVScroll(), OnVScroll(), CAddressBand::OnWinEvent(), CRect::operator!=(), CRect::operator&=(), CRect::operator==(), CRect::operator|=(), PAGER_MouseMove(), NotifyArea::Paint(), CardWindow::Paint(), StartMenu::Paint(), StartMenuRoot::Paint(), paint_document(), CardWindow::PaintCardRgn(), PaintRect(), parent_wnd_proc(), PATH_CheckRect(), PATH_Ellipse(), PATH_Rectangle(), PATH_RoundRect(), PathSetDlgItemPathW(), plugin_proc(), prepare_recalc_test(), CardRegion::PrepareDragBitmaps(), CardRegion::PrepareDragBitmapsThreed(), CAppScrnshotPreview::ProcessWindowMessage(), PROGRESS_UpdateMarquee(), property_sheet_proc(), ReadIcoPng(), REBAR_InternalHitTest(), REBAR_LButtonUp(), REBAR_NCCalcSize(), RECTL_vInflateRect(), Region::Region(), REGION_bXformRgn(), REGION_CropRegion(), REGION_RectInRegion(), CardWindow::RegisterDropZone(), DesktopBar::Resize(), resize_document(), MainFrameBase::resize_frame(), MDIMainFrame::resize_frame(), SDIMainFrame::resize_frame(), MainFrameBase::resize_frame_client(), resize_frame_client(), CAppInfoDisplay::ResizeChildren(), ResizeManager::ResizeManager(), ResizePopupChild(), ResizeTabChild(), restore_recalc_state(), RunDialogThread::Run(), scale_rect_dpi(), scale_rect_dpi_aware(), ScreenSaver(), ScreenSaverProc(), SCROLL_GetThumbVal(), SCROLL_PtInRectEx(), ScrollChildren(), ScrollProc(), set_control_clipping(), Graphics::SetClip(), SetEnvironmentDialogListViewColumns(), SetGroupsListColumns(), SetListBoxColumns(), SetListViewColumns(), SetMatrixMessage(), SetUsersListColumns(), DropZone::SetZone(), START_TEST(), STATIC_WindowProc(), StaticWndProc_common(), STATUSBAR_GetRect(), STATUSBAR_Refresh(), STATUSBAR_SetPartBounds(), STATUSBAR_WMCreate(), STATUSBAR_WMNCHitTest(), surface_load_renderbuffer(), surface_lock(), surface_translate_drawable_coords(), swapchain_gl_present(), SysLinkWindowProc(), TAB_DrawBorder(), TAB_DrawItem(), TAB_EnsureSelectionVisible(), TAB_GetItemRect(), TAB_InsertItemT(), TAB_InternalHitTest(), TAB_InvalidateTabArea(), TAB_SetItemBounds(), TAB_SetupScrolling(), taskdialog_get_text_extent(), test_abort_proc(), test_AWR_flags(), test_bcm_get_ideal_size(), test_begin_paint(), test_boundsrect(), test_buffer_dc_props(), test_buffered_paint(), test_clipper(), test_clipping(), test_clipping_2(), test_color(), test_comboex_WM_LBUTTONDOWN(), test_comboex_WM_WINDOWPOSCHANGING(), test_create(), test_CreateUpDownControl(), test_CRect(), test_customdraw(), test_D3DXCreateTextureFromFileInMemory(), test_D3DXLoadSurface(), test_D3DXSaveSurfaceToFile(), test_D3DXSaveSurfaceToFileInMemory(), test_dc_visrgn(), test_default_client_accessible_object(), test_defwinproc(), test_desktop_winproc(), test_device_caps(), test_DispatchMessage(), test_DoDragDrop(), test_DoVerb(), test_dpi_mapping(), test_DrawTextCalcRect(), test_elem_bounding_client_rect(), test_emf_WorldTransform(), test_expand(), test_font_height_scaling(), test_font_transform(), test_GdiGradientFill(), test_gdiis(), test_GdipDrawImagePointsRectOnMemoryDC(), test_GdipDrawString(), test_GdipFillRectanglesOnBitmapTextureBrush(), test_GdipFillRectanglesOnMemoryDCSolidBrush(), test_GdipFillRectanglesOnMemoryDCTextureBrush(), test_GdipGetVisibleClipBounds(), test_GdipGetVisibleClipBounds_memoryDC(), test_Get_Release_DC(), test_get_set_clip(), Test_GetClipBox(), test_getitemposition(), test_getitemrect(), Test_GetRandomRgn_CLIPRGN(), Test_GetRandomRgn_RGN5(), Test_GetRandomRgn_SYSRGN(), test_getregiondata(), test_GetScrollBarInfo(), Test_GetSystemMetrics(), test_getviewrect(), test_gradientgetrect(), test_handles(), test_hdf_fixedwidth(), test_hdm_getitemrect(), test_hdm_index_messages(), test_hdm_layout(), test_hds_nosizing(), test_hwnd_message(), test_ID3DXFont(), test_ID3DXSprite(), test_IDirectDrawStreamSample(), test_IsRectEmpty(), test_item_count(), test_layered_window(), test_LockBits(), test_LockBits_UserBuf(), test_margins_default(), test_margins_usefontinfo(), test_measure_string(), test_measured_extra_space(), test_menu_messages(), test_mf_conversions(), test_OleDraw(), test_oneclickactivate(), test_pager(), test_paint_messages(), test_position(), test_redraw(), test_renderfile(), test_ScriptTextOut(), test_ScriptTextOut3(), test_scroll_window(), test_scrollwindowex(), test_SetRect(), test_setredraw(), test_SetWindowPos(), test_SetWinMetaFileBits(), test_shell_imagelist(), Test_SrcMono1(), test_subitem_rect(), test_thick_child_size_winproc(), test_tic_settings(), test_TTN_SHOW(), test_TxGetNaturalSize(), test_updown_buddy(), test_updown_pos_notifications(), test_WM_LBUTTONDOWN(), TEXT_DrawUnderscore(), texture2d_get_blt_info(), TOOLBAR_DrawFrame(), TOOLTIPS_GetMargin(), tooltips_proc(), TOOLTIPS_SetMargin(), TOOLTIPS_Show(), TRACKBAR_InitializeThumb(), StartMenuRoot::TrackStartmenu(), TREEVIEW_EraseBackground(), TREEVIEW_HitTest(), TREEVIEW_Refresh(), UITOOLS_DrawCheckedRect(), Region::Union(), SDIMainFrame::update_clnt_rect(), update_plugin_window(), SDIMainFrame::update_shell_browser(), MDIShellBrowserChild::update_shell_browser(), update_window(), UpdateButtonColor(), ShellBrowser::UpdateFolderView(), UpdateHelpWindow(), NotifyArea::UpdateIcons(), UPDOWN_Draw(), UPDOWN_GetArrowFromPoint(), UPDOWN_GetArrowRect(), UPDOWN_HandleMouseEvent(), UPDOWN_SetBuddy(), UserDrawMovingFrame(), UserDrawWindowFrame(), verify_region(), VideoRenderer_SetDefaultTargetRect(), VMR9_SetDefaultTargetRect(), warp_check(), WebBrowser_put_Height(), WebBrowser_put_Left(), WebBrowser_put_Top(), WebBrowser_put_Width(), wine_AdjustWindowRectEx(), wine_dbgstr_rect(), wined3d_cs_emit_clear_rendertarget_view(), wined3d_cs_emit_set_scissor_rect(), wined3d_device_clear_rendertarget_view(), wined3d_device_get_scissor_rect(), wined3d_device_restore_fullscreen_window(), wined3d_device_set_scissor_rect(), WINHELP_LayoutMainWindow(), winsizes_wnd_proc(), WndProc(), IPCtrlWindow< BASE, SMARTPTR >::WndProc(), WebChildWindow::WndProc(), QuickLaunchBar::WndProc(), StartMenu::WndProc(), Region::Xor(), and ZoomWnd_OnDraw().

◆ text_color_idx

int text_color_idx = COLOR_BTNTEXT

Definition at line 1402 of file startmenu.cpp.

Referenced by if().

◆ textRect

◆ x

Definition at line 1416 of file startmenu.cpp.

◆ y

Definition at line 1416 of file startmenu.cpp.