2 writes to Right
aspire-tray (2)
TrayApplication.Panel.cs (2)
294return new() { Left = point.X, Top = point.Y, Right = point.X, Bottom = point.Y }; 830Right = (int)Math.Round(rect.Right * scale),
15 references to Right
aspire-tray (15)
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 (13)
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 }; 199else if (work.Right < info.Monitor.Right) 201x = work.Right - margin - width; 209x = Math.Clamp(x, work.Left + margin, Math.Max(work.Left + margin, work.Right - margin - width)); 437var width = client.Right - client.Left; 501if (GetAppIcon(appIcon.Application, rect.Right - rect.Left) is not 0 and var icon) 504NativeMethods.DrawIconEx(gdi, rect.Left, rect.Top, icon, rect.Right - rect.Left, rect.Bottom - rect.Top, 0, 0, 3) != 0, 553NativeMethods.IntersectClipRect(dc, clip.Left, clip.Top, clip.Right, clip.Bottom); 690? FitMiddle(dc, text.Text, rect.Right - rect.Left) 744return rect.Right - rect.Left; 750var size = rect.Right - rect.Left;