-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issues #9 Check local directory for Settings.json file before AppData
- Loading branch information
1 parent
057f1eb
commit e0ecedf
Showing
6 changed files
with
123 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using System.Drawing; | ||
|
||
namespace WindowTextExtractor.Settings | ||
{ | ||
public class FontSettings | ||
{ | ||
private const float DefaultFontSize = 10; | ||
private const FontStyle DefaultFontStyle = FontStyle.Regular; | ||
private const GraphicsUnit DefaultFontUnit = GraphicsUnit.Point; | ||
private const string DefaultFontName = "Courier New"; | ||
|
||
public string Name { get; set; } | ||
|
||
public float Size { get; set; } | ||
|
||
public FontStyle Style { get; set; } | ||
|
||
public GraphicsUnit Unit { get; set; } | ||
|
||
public FontSettings() | ||
{ | ||
Name = DefaultFontName; | ||
Size = DefaultFontSize; | ||
Style = DefaultFontStyle; | ||
Unit = DefaultFontUnit; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters