3 writes to Top
aspire-tray (3)
TrayApplication.Panel.cs (3)
294
return new() { Left = point.X,
Top
= point.Y, Right = point.X, Bottom = point.Y };
686
rect.
Top
= (int)Math.Round(text.Baseline * PanelScale) - metrics.Ascent;
829
Top
= (int)Math.Round(rect.Y * scale),
21 references to Top
aspire-tray (21)
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 (15)
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
_panel!.MaxHeight = Math.Min(TrayPanel.DefaultMaxHeight, (work.Bottom - work.
Top
- 2 * margin) / scale);
189
if (work.
Top
> info.Monitor.
Top
)
192
y = work.
Top
+ margin;
210
y = Math.Clamp(y, work.
Top
+ margin, Math.Max(work.
Top
+ margin, work.Bottom - margin - height));
315
if (_panelPaletteDirty || Math.Abs(rect.Bottom - rect.
Top
- Math.Round(_panel!.Scene.Height * PanelScale)) > 0.5)
438
var height = client.Bottom - client.
Top
;
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);
687
rect.Bottom = rect.
Top
+ metrics.Height;
762
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,