ReactOS  0.4.12-dev-409-g9f418243
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;
1599  rect.top = pos.top-STARTMENU_LINE_HEIGHT(icon_size)-4;
1600  rect.right = pos.left+STARTMENU_WIDTH_MIN;
1601  rect.bottom = pos.top;
1602 
1603 #ifndef _LIGHT_STARTMENU
1605 #endif
1606 }
#define STARTMENU_LINE_HEIGHT(icon_size)
Definition: startmenu.h:34
& rect
Definition: startmenu.cpp:1413
#define STARTMENU_WIDTH_MIN
Definition: startmenu.h:33
iconPos iconPos icon_size
Definition: startmenu.cpp:1416

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 }
#define DT_NOPREFIX
Definition: winuser.h:537
& rect
Definition: startmenu.cpp:1413
#define DrawText
Definition: winuser.h:5637
#define DT_CALCRECT
Definition: winuser.h:526
HDC hdc
Definition: msvc.h:53
#define DT_SINGLELINE
Definition: winuser.h:540
static char title[]
Definition: ps.c:92

Referenced by StartMenu::AddButton().

◆ if() [1/6]

if ( !btn.  _enabled)

◆ if() [2/6]

if ( pushed  )

Definition at line 1394 of file startmenu.cpp.

1394  {
1395  style |= DFCS_PUSHED;
1396  ++iconPos.x; ++iconPos.y;
1397  ++textRect.left; ++textRect.top;
1399  }
long y
Definition: polytest.cpp:48
long x
Definition: polytest.cpp:48
LONG top
Definition: windef.h:292
LONG left
Definition: windef.h:291
LONG right
Definition: windef.h:293
#define DFCS_PUSHED
Definition: winuser.h:503
RECT textRect
Definition: startmenu.cpp:1392
POINT iconPos
Definition: startmenu.cpp:1391
LONG bottom
Definition: windef.h:294
Arabic default style
Definition: afstyles.h:93

◆ if() [3/6]

if ( has_focus  )

Definition at line 1404 of file startmenu.cpp.

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

◆ if() [4/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  }
#define DT_NOPREFIX
Definition: winuser.h:537
DWORD WINAPI GetSysColor(_In_ int)
#define DrawText
Definition: winuser.h:5637
void DrawGrayText(HDC hdc, LPRECT pRect, LPCTSTR title, int dt_flags)
Definition: window.cpp:891
#define TRANSPARENT
Definition: wingdi.h:949
HDC hdc
Definition: msvc.h:53
RECT textRect
Definition: startmenu.cpp:1392
#define DT_VCENTER
Definition: winuser.h:543
int text_color_idx
Definition: startmenu.cpp:1402
#define DT_SINGLELINE
Definition: winuser.h:540
static char title[]
Definition: ps.c:92

◆ if() [5/6]

if ( btn.  _icon_id,
ICID_NONE   
)

◆ if() [6/6]

if ( btn.  _hasSubmenu)

Definition at line 1419 of file startmenu.cpp.

1419  {
1420  ResIconEx arrowIcon(IDI_ARROW, icon_size, icon_size);
1422 
1424  has_focus? selArrowIcon: arrowIcon,
1426  }
#define IDI_ARROW_SELECTED
Definition: resource.h:73
#define IDI_ARROW
Definition: resource.h:8
long y
Definition: polytest.cpp:48
& rect
Definition: startmenu.cpp:1413
HDC hdc
Definition: msvc.h:53
convenient loading of icon resources with specified sizes
Definition: globals.h:331
POINT iconPos
Definition: startmenu.cpp:1391
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:1997
#define DI_NORMAL
Definition: wingdi.h:72
HBRUSH bk_brush
Definition: startmenu.cpp:1410
iconPos iconPos icon_size
Definition: startmenu.cpp:1416

◆ ShowExitWindowsDialog()

void ShowExitWindowsDialog ( HWND  hwndOwner)

Definition at line 2128 of file startmenu.cpp.

2129 {
2130  static DynamicFct<EXITWINDOWSDLG> ExitWindowsDialog(TEXT("SHELL32"), 60);
2131 
2132  if (ExitWindowsDialog)
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:1145
#define MessageBox
Definition: winuser.h:5688
#define TEXT(s)
Definition: k32.h:26
#define MB_OK
Definition: winuser.h:784
convenient loading of string resources
Definition: globals.h:303

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 }
GLsizei const GLchar ** path
Definition: glext.h:7234
CHAR * LPTSTR
Definition: xmlstorage.h:192
Definition: services.c:325
GLfloat GLfloat p
Definition: glext.h:8902

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 ToolTip::add(), StartMenu::AddButton(), AddColumns(), AddDialogControl(), AddPenLinesBounds(), StartMenu::AddSeparator(), QuickLaunchBar::AddShortcuts(), ANIMATE_EraseBackground(), ANIMATE_PaintFrame(), 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(), CFn_WMDrawItem(), Child_OnSize(), Client_accLocation(), clip_emf_enum_proc(), Bitmap::Clone(), COMBOEX_AdjustEditPos(), COMBOEX_ComboWndProc(), COMBOEX_Create(), COMBOEX_DrawItem(), COMBOEX_EditWndProc(), compare_bounds(), Region::Complement(), CUiPanel::ComputeContentBounds(), CUiWindow< CStatusBar >::ComputeContentBounds(), CUiSplitPanel::ComputeContentBounds(), ConfigDlgProc(), copy_interlaced_pixels(), copy_pixels(), CListView::Create(), DesktopBar::Create(), StartMenu::Create(), ClockWindow::Create(), ChildWindow::create(), StartMenuRoot::Create(), ATL::CWindow::Create(), ATL::CWindowImplBaseT< CToolbar< TASK_ITEM >, CControlWinTraits >::Create(), ATL::CWindowImpl< CShellBrowser, CWindow, CFrameWinTraits >::Create(), create_animate(), create_bitmap_from_icon(), create_child_editcontrol(), create_doc_view_hwnd(), create_edit_control(), create_emf(), create_html_rect(), 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(), D3DXLoadSurfaceFromSurface(), 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(), 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(), DoTimer(), DragDetect(), draw_cache_rects(), draw_graphics(), draw_space(), Graphics::DrawArc(), CTrayClockWnd::DrawBackground(), DrawCaptionTempA(), DrawCaptionTempW(), DrawCheckedRect(), Graphics::DrawEllipse(), DrawFocusRect(), FlatButton::DrawItem(), PictureButton::DrawItem(), Graphics::DrawPie(), Graphics::DrawRectangle(), CTrayWindow::DrawSizerWithTheme(), DrawTextA(), DrawTextExA(), DrawTextExW(), DrawTextExWorker(), DrawTextW(), DropZone::DropZone(), dump_region(), EDIT_WindowProc(), EditGlyphCommand(), EditGlyphEditWndProc(), EditGlyphPreviewWndProc(), embed_plugin_object(), EMFDRV_UpdateBBox(), emfpathdrv_ExtTextOut(), TaskBar::EnumWndProc(), CTrayWindow::EraseBackgroundWithTheme(), EventDetails(), EventDetailsCtrl(), Region::Exclude(), FILEDLG95_InitControls(), FileMenu_GetItemExtent(), Graphics::FillEllipse(), Graphics::FillPie(), Graphics::FillRectangle(), FillSolidRect2(), FlatComboProc(), FlipRotator_CopyPixels(), FloatToolbarCreateColorsGui(), FloatWindowPaintColorPicker(), FloatWindowPaintHueSlider(), format_string_callback(), gdip_format_string(), GdipBitmapLockBits(), GdipCombineRegionRect(), GdipCombineRegionRectI(), GdipCreateBitmapFromHICON(), 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(), 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(), ImageView_DrawImage(), InflateRect(), DesktopWindow::Init(), init(), DesktopBar::Init(), InitColorButtons(), InitGroupMembersList(), InitializeRecycleBinDlg(), InitializeTcpipAdvancedIpDlg(), InitResources(), InitUserGroupsList(), InPlaceSite_GetWindowContext(), InPlaceSiteWindowless_GetWindowContext(), IntEngPolyline(), Region::Intersect(), IntGdiExtSelectClipRgn(), ImageModel::InvertColors(), IOCS_Init(), IOCS_OnDraw(), IOCS_OnSize(), IPADDRESS_Draw(), is_integer_rect(), IsThemeBackgroundPartiallyTransparent(), Graphics::IsVisible(), Region::IsVisible(), LANStatusUiDetailsDlg(), 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(), Bitmap::LockBits(), MAIN_CreateMDIWindow(), MainWindow_OnSize(), MainWindow_WndProc(), MainWndCreateFloatWindows(), MainWndProc(), MainWndResetFloatingWindows(), 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(), 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(), NtGdiCreateRoundRectRgn(), NtGdiExcludeClipRect(), NtGdiIntersectClipRect(), NtUserDragDetect(), NtUserSetInternalWindowPos(), object_available(), OffsetRect(), OleDocumentSite_ActivateMe(), OleDocumentView_SetRect(), OleDraw(), OleObject_DoVerb(), CSysPagerWnd::OnEraseBackground(), CTrayNotifyWnd::OnEraseBackground(), CTaskSwitchWnd::OnEraseBackground(), CCell::OnPaint(), CUiPanel::OnParentSize(), CUiWindow< CStatusBar >::OnParentSize(), CUiSplitPanel::OnParentSize(), OnScroll(), OnSize(), CGridView::OnVScroll(), OnVScroll(), CAddressBand::OnWinEvent(), CRect::operator!=(), CRect::operator&=(), CRect::operator==(), CRect::operator|=(), PAGER_MouseMove(), CardWindow::Paint(), NotifyArea::Paint(), StartMenu::Paint(), StartMenuRoot::Paint(), paint_document(), CardWindow::PaintCardRgn(), PaintRect(), parent_wnd_proc(), PathSetDlgItemPathW(), plugin_proc(), prepare_recalc_test(), CardRegion::PrepareDragBitmaps(), CardRegion::PrepareDragBitmapsThreed(), PROGRESS_UpdateMarquee(), property_sheet_proc(), ReadIcoPng(), REBAR_InternalHitTest(), REBAR_LButtonUp(), REBAR_NCCalcSize(), RECTL_vInflateRect(), refresh_drives(), Region::Region(), REGION_bXformRgn(), REGION_CropRegion(), REGION_RectInRegion(), REGION_UnionRectWithRgn(), CardWindow::RegisterDropZone(), DesktopBar::Resize(), resize_document(), MainFrameBase::resize_frame(), MDIMainFrame::resize_frame(), SDIMainFrame::resize_frame(), resize_frame(), resize_frame_client(), MainFrameBase::resize_frame_client(), ResizeManager::ResizeManager(), ResizePopupChild(), ResizeTabChild(), restore_recalc_state(), RunDialogThread::Run(), 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_lock(), 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_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_dc_visrgn(), test_default_client_accessible_object(), test_defwinproc(), test_device_caps(), test_DispatchMessage(), test_DoDragDrop(), test_DoVerb(), test_DrawTextCalcRect(), test_elem_bounding_client_rect(), test_emf_WorldTransform(), 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_handles(), test_hdf_fixedwidth(), test_hdm_getitemrect(), test_hdm_index_messages(), test_hdm_layout(), test_hds_nosizing(), test_hwnd_message(), test_IDirectDrawStreamSample(), test_IsRectEmpty(), test_item_count(), test_layered_window(), test_LockBits(), test_LockBits_UserBuf(), test_margins_usefontinfo(), test_measure_string(), test_measured_extra_space(), 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_updown_buddy(), test_WM_LBUTTONDOWN(), Text(), TEXT_DrawUnderscore(), texture2d_get_blt_info(), texture2d_load_renderbuffer(), 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_device_clear_rendertarget_view(), wined3d_device_restore_fullscreen_window(), wined3d_texture_translate_drawable_coords(), WINHELP_LayoutMainWindow(), winsizes_wnd_proc(), QuickLaunchBar::WndProc(), WndProc(), StartMenu::WndProc(), IPCtrlWindow< ChildWindow, SIfacePtr< IWebBrowser2 > >::WndProc(), WebChildWindow::WndProc(), and Region::Xor().

◆ 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.

Referenced by StartMenu::Create(), and StartMenu::CreateSubmenu().

◆ y

Definition at line 1416 of file startmenu.cpp.

Referenced by StartMenu::CreateSubmenu().