3 instantiations of Rect
aspire-tray (3)
TrayApplication.Panel.cs (3)
310
return
new
() { Left = point.X, Top = point.Y, Right = point.X, Bottom = point.Y };
757
var rect = new NativeMethods.
Rect
();
842
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;
298
private NativeMethods.
Rect
GetNotifyIconRect()
304
if (NativeMethods.ShellNotifyIconGetRect(in identifier, out
var
rect) >= 0)
330
NativeMethods.GetWindowRect(_panelWindow, out
var
rect);
452
NativeMethods.GetClientRect(_panelWindow, out
var
client);
516
var
rect = ToDevice(appIcon.Bounds);
568
var
clip = ToDevice(clips.Peek().Bounds);
681
var
rect = ToDevice(text.Bounds);
757
var
rect = new NativeMethods.Rect();
765
var
rect = ToDevice(bounds);
839
private NativeMethods.
Rect
ToDevice(PanelRect rect)
TrayApplication.PanelAutomation.cs (2)
173
NativeMethods.GetWindowRect(_panelWindow, out
var
window);
189
NativeMethods.GetWindowRect(_panelWindow, out
var
window);