-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWarningOverlayConfig.cs
More file actions
22 lines (15 loc) · 891 Bytes
/
WarningOverlayConfig.cs
File metadata and controls
22 lines (15 loc) · 891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System.Drawing;
namespace KidTimerLock
{
public static class WarningOverlayConfig
{
// Configurable properties with default values
public static int FlashInterval { get; set; } = 300; // milliseconds between flashes
public static int FlashCount { get; set; } = 5; // Number of flashes before closing
public static bool audibleBeep { get; set; } = true; // play the audible beep or not
// other overlay settings - hardcoded right now, seems excessive to expose these for configurability, does it really matter?
public static Color OverlayColor { get; set; } = Color.Red; // Background color
public static Color TextColor { get; set; } = Color.White; // Text color
public static Font OverlayFont { get; set; } = new Font("Segoe UI", 12, FontStyle.Bold); // Font for the text
}
}