3 instantiations of Rect
aspire-tray (3)
TrayApplication.Panel.cs (3)
294
return
new
() { Left = point.X, Top = point.Y, Right = point.X, Bottom = point.Y };
741
var rect = new NativeMethods.
Rect
();
826
return
new
()
25 references to Rect
aspire-tray (25)
NativeMethods.cs (5)
109
public
Rect
Monitor;
110
public
Rect
Work;
312
internal static partial int DrawText(nint dc, string text, int count, ref
Rect
rect, uint format);
315
internal static partial int GetWindowRect(nint window, out
Rect
rect);
318
internal static partial int GetClientRect(nint window, out
Rect
rect);
NativeMethods.Panel.cs (3)
33
public
Rect
Paint;
112
internal static partial int ShellNotifyIconGetRect(in NotifyIconIdentifier identifier, out
Rect
rect);
237
public
Rect
Rect;
TrayApplication.NativeSmoke.cs (1)
124
NativeCallException.Require(NativeMethods.GetWindowRect(_panelWindow, out
var
rect) != 0, "GetWindowRect(capture)");
TrayApplication.Panel.cs (14)
38
private List<(NativeMethods.
Rect
Bounds, string Text)> _panelTooltips = [];
110
return NativeMethods.ShellNotifyIconGetRect(in identifier, out
var
icon) >= 0
165
var
anchor = GetNotifyIconRect();
181
var
work = info.Work;
282
private NativeMethods.
Rect
GetNotifyIconRect()
288
if (NativeMethods.ShellNotifyIconGetRect(in identifier, out
var
rect) >= 0)
314
NativeMethods.GetWindowRect(_panelWindow, out
var
rect);
436
NativeMethods.GetClientRect(_panelWindow, out
var
client);
500
var
rect = ToDevice(appIcon.Bounds);
552
var
clip = ToDevice(clips.Peek().Bounds);
665
var
rect = ToDevice(text.Bounds);
741
var
rect = new NativeMethods.Rect();
749
var
rect = ToDevice(bounds);
823
private NativeMethods.
Rect
ToDevice(PanelRect rect)
TrayApplication.PanelAutomation.cs (2)
173
NativeMethods.GetWindowRect(_panelWindow, out
var
window);
189
NativeMethods.GetWindowRect(_panelWindow, out
var
window);