3 writes to Top
aspire-tray (3)
TrayApplication.Panel.cs (3)
310
return new() { Left = point.X,
Top
= point.Y, Right = point.X, Bottom = point.Y };
702
rect.
Top
= (int)Math.Round(text.Baseline * PanelScale) - metrics.Ascent;
845
Top
= (int)Math.Round(rect.Y * scale),
25 references to Top
aspire-tray (25)
TrayApplication.NativeSmoke.cs (4)
126
PanelScale, _panelWindow, (rect.Left, rect.
Top
, rect.Right - rect.Left, rect.Bottom - rect.
Top
));
128
var height = rect.Bottom - rect.
Top
;
137
NativeCallException.Require(NativeMethods.BitBlt(memory, 0, 0, width, height, screen, rect.Left, rect.
Top
, 0x00CC0020 | 0x40000000) != 0,
TrayApplication.Panel.cs (19)
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
);
185
_panel!.MaxHeight = Math.Min(TrayPanel.DefaultMaxHeight, (work.Bottom - work.
Top
- 2 * margin) / scale);
205
else if (work.
Top
> info.Monitor.
Top
)
208
y = work.
Top
+ margin;
226
y = Math.Clamp(y, work.
Top
+ margin, Math.Max(work.
Top
+ margin, work.Bottom - margin - height));
331
if (_panelPaletteDirty || Math.Abs(rect.Bottom - rect.
Top
- Math.Round(_panel!.Scene.Height * PanelScale)) > 0.5)
454
var height = client.Bottom - client.
Top
;
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);
703
rect.Bottom = rect.
Top
+ metrics.Height;
778
NativeCallException.Require(NativeMethods.DrawIconEx(dc, rect.Left, rect.
Top
, _panelLogo, size, size, 0, 0, 3) != 0,
TrayApplication.PanelAutomation.cs (2)
175
var y = (screenY - window.
Top
) / PanelScale;
194
Top = window.
Top
+ bounds.Y * scale,