-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathIGui.cs
26 lines (24 loc) · 831 Bytes
/
IGui.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
namespace WeekNumber
{
/// <summary>
/// GUI Interface
/// </summary>
public interface IGui
{
/// <summary>
/// Updates icon on GUI with given week number
/// </summary>
/// <param name="weekNumber">The week number to display on icon</param>
/// <param name="iconResolution">The width and height of the icon</param>
/// <param name="redrawContextMenu">Redraw context menu</param>
void UpdateIcon(int weekNumber, int iconResolution = (int)IconSize.Icon256, bool redrawContextMenu = false);
/// <summary>
/// Disposes GUI
/// </summary>
void Dispose();
/// <summary>
/// Event handler for when GUI (icon) update is requested
/// </summary>
event System.EventHandler UpdateRequest;
}
}