Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions UoFiddler.Controls/Classes/ControlEvents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ public sealed class ControlEvents

public delegate void ProgressChangeHandler();

public delegate void PreviewBackgroundColorChangeHandler();

/// <summary>
/// Fired when map diff file usage is switched
/// </summary>
Expand Down Expand Up @@ -104,6 +106,11 @@ public sealed class ControlEvents
/// </summary>
public static event ProgressChangeHandler ProgressChangeEvent;

/// <summary>
/// Fired when preview background color changed
/// </summary>
public static event PreviewBackgroundColorChangeHandler PreviewBackgroundColorChangeEvent;

public static void FireMapDiffChangeEvent()
{
MapDiffChangeEvent?.Invoke();
Expand Down Expand Up @@ -168,5 +175,10 @@ public static void FireProgressChangeEvent()
{
ProgressChangeEvent?.Invoke();
}

public static void FirePreviewBackgroundColorChangeEvent()
{
PreviewBackgroundColorChangeEvent?.Invoke();
}
}
}
2 changes: 1 addition & 1 deletion UoFiddler.Controls/Classes/Options.cs
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ public static Icon GetFiddlerIcon()
public static string ProfileName { get; set; }
public static Color TileFocusColor { get; set; } = Color.DarkRed;
public static Color TileSelectionColor { get; set; } = Color.DodgerBlue;
public static bool OverrideBackgroundColorFromTile { get; set; }
public static bool RemoveTileBorder { get; set; }
public static Color PreviewBackgroundColor { get; set; } = Color.White;

static Options()
{
Expand Down
135 changes: 135 additions & 0 deletions UoFiddler.Controls/Forms/TileDataHelpForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading