2 writes to Left
aspire-tray (2)
TrayApplication.Panel.cs (2)
310
return new() {
Left
= point.X, Top = point.Y, Right = point.X, Bottom = point.Y };
844
Left
= (int)Math.Round(rect.X * scale),
26 references to Left
aspire-tray (26)
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 (20)
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 };
183
var workarea = new PanelRect(work.
Left
, work.Top, work.Right - work.
Left
, work.Bottom - work.Top);
184
var anchorRect = new PanelRect(anchor.
Left
, anchor.Top, anchor.Right - anchor.
Left
, anchor.Bottom - anchor.Top);
210
else if (work.
Left
> info.Monitor.
Left
)
212
x = work.
Left
+ margin;
225
x = Math.Clamp(x, work.
Left
+ margin, Math.Max(work.
Left
+ margin, work.Right - margin - width));
453
var width = client.Right - client.
Left
;
517
if (GetAppIcon(appIcon.Application, rect.Right - rect.
Left
) is not 0 and var icon)
520
NativeMethods.DrawIconEx(gdi, rect.
Left
, rect.Top, icon, rect.Right - rect.
Left
, rect.Bottom - rect.Top, 0, 0, 3) != 0,
569
NativeMethods.IntersectClipRect(dc, clip.
Left
, clip.Top, clip.Right, clip.Bottom);
706
? FitMiddle(dc, text.Text, rect.Right - rect.
Left
)
760
return rect.Right - rect.
Left
;
766
var size = rect.Right - rect.
Left
;
778
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,