2 writes to Right
aspire-tray (2)
TrayApplication.Panel.cs (2)
310return new() { Left = point.X, Top = point.Y, Right = point.X, Bottom = point.Y }; 846Right = (int)Math.Round(rect.Right * scale),
17 references to Right
aspire-tray (17)
TrayApplication.NativeSmoke.cs (2)
126PanelScale, _panelWindow, (rect.Left, rect.Top, rect.Right - rect.Left, rect.Bottom - rect.Top)); 127var width = rect.Right - rect.Left;
TrayApplication.Panel.cs (15)
112&& (point.X < icon.Left || point.X >= icon.Right || point.Y < icon.Top || point.Y >= icon.Bottom); 166var center = new NativeMethods.Point { X = (anchor.Left + anchor.Right) / 2, Y = (anchor.Top + anchor.Bottom) / 2 }; 183var workarea = new PanelRect(work.Left, work.Top, work.Right - work.Left, work.Bottom - work.Top); 184var anchorRect = new PanelRect(anchor.Left, anchor.Top, anchor.Right - anchor.Left, anchor.Bottom - anchor.Top); 215else if (work.Right < info.Monitor.Right) 217x = work.Right - margin - width; 225x = Math.Clamp(x, work.Left + margin, Math.Max(work.Left + margin, work.Right - margin - width)); 453var width = client.Right - client.Left; 517if (GetAppIcon(appIcon.Application, rect.Right - rect.Left) is not 0 and var icon) 520NativeMethods.DrawIconEx(gdi, rect.Left, rect.Top, icon, rect.Right - rect.Left, rect.Bottom - rect.Top, 0, 0, 3) != 0, 569NativeMethods.IntersectClipRect(dc, clip.Left, clip.Top, clip.Right, clip.Bottom); 706? FitMiddle(dc, text.Text, rect.Right - rect.Left) 760return rect.Right - rect.Left; 766var size = rect.Right - rect.Left;