2 writes to Left
aspire-tray (2)
TrayApplication.Panel.cs (2)
294
return new() {
Left
= point.X, Top = point.Y, Right = point.X, Bottom = point.Y };
828
Left
= (int)Math.Round(rect.X * scale),
22 references to Left
aspire-tray (22)
TrayApplication.NativeSmoke.cs (4)
126
PanelScale, _panelWindow, (rect.
Left
, rect.Top, rect.Right - rect.
Left
, rect.Bottom - rect.Top));
127
var width = rect.Right - rect.
Left
;
137
NativeCallException.Require(NativeMethods.BitBlt(memory, 0, 0, width, height, screen, rect.
Left
, rect.Top, 0x00CC0020 | 0x40000000) != 0,
TrayApplication.Panel.cs (16)
112
&& (point.X < icon.
Left
|| point.X >= icon.Right || point.Y < icon.Top || point.Y >= icon.Bottom);
166
var center = new NativeMethods.Point { X = (anchor.
Left
+ anchor.Right) / 2, Y = (anchor.Top + anchor.Bottom) / 2 };
194
else if (work.
Left
> info.Monitor.
Left
)
196
x = work.
Left
+ margin;
209
x = Math.Clamp(x, work.
Left
+ margin, Math.Max(work.
Left
+ margin, work.Right - margin - width));
437
var width = client.Right - client.
Left
;
501
if (GetAppIcon(appIcon.Application, rect.Right - rect.
Left
) is not 0 and var icon)
504
NativeMethods.DrawIconEx(gdi, rect.
Left
, rect.Top, icon, rect.Right - rect.
Left
, rect.Bottom - rect.Top, 0, 0, 3) != 0,
553
NativeMethods.IntersectClipRect(dc, clip.
Left
, clip.Top, clip.Right, clip.Bottom);
690
? FitMiddle(dc, text.Text, rect.Right - rect.
Left
)
744
return rect.Right - rect.
Left
;
750
var size = rect.Right - rect.
Left
;
762
NativeCallException.Require(NativeMethods.DrawIconEx(dc, rect.
Left
, rect.Top, _panelLogo, size, size, 0, 0, 3) != 0,
TrayApplication.PanelAutomation.cs (2)
174
var x = (screenX - window.
Left
) / PanelScale;
193
Left = window.
Left
+ bounds.X * scale,