Searched refs:monitor_info (Results 1 – 2 of 2) sorted by relevance
83 MONITORINFO monitor_info = {0}; in MonitorEnumProc() local84 monitor_info.cbSize = sizeof(monitor_info); in MonitorEnumProc()85 bool primary = (GetMonitorInfo(h_monitor, &monitor_info) && in MonitorEnumProc()86 (monitor_info.dwFlags & MONITORINFOF_PRIMARY) != 0); in MonitorEnumProc()126 MONITORINFOEX monitor_info; in GetDesktopDimensions() local127 monitor_info.cbSize = sizeof(MONITORINFOEX); in GetDesktopDimensions()128 if (!GetMonitorInfo(id.id(), &monitor_info)) { in GetDesktopDimensions()131 *width = monitor_info.rcMonitor.right - monitor_info.rcMonitor.left; in GetDesktopDimensions()132 *height = monitor_info.rcMonitor.bottom - monitor_info.rcMonitor.top; in GetDesktopDimensions()
136 monitor_info = variable6690 XGetWidgetInfo(activity,&monitor_info); in XInfoWidget()6691 monitor_info.bevel_width--; in XInfoWidget()6692 margin=monitor_info.bevel_width+((windows->info.height-height) >> 1)-2; in XInfoWidget()6693 monitor_info.center=MagickFalse; in XInfoWidget()6694 monitor_info.x=(int) margin; in XInfoWidget()6695 monitor_info.y=(int) margin; in XInfoWidget()6696 monitor_info.width=windows->info.width-(margin << 1); in XInfoWidget()6697 monitor_info.height=windows->info.height-(margin << 1)+1; in XInfoWidget()6701 monitor_info.raised=MagickFalse; in XInfoWidget()[all …]