-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/release_1.2.0'
* release/release_1.2.0: (26 commits) Version change. Updated combined graph. Updated tooltips. Cleanup. Cleanup. Work in progress. Work in progress. Warning cleanup. Updated x-axis offsets. Updated OxyPlot Updates. Work in progress. Changed default URL. Removed old feed-reader. Added last date to graph text annotation. Updated OxyPlot. Text annotation changes. Graph related changes. Complete new approach: download all values from new site to a file (.csv) and read values from the file. Added change to text annotation. Change GUI font when renderer is changed. Change GUI font when renderer is changed. Added menu shortcuts. ...
- Loading branch information
Showing
55 changed files
with
3,164 additions
and
39,831 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -3,5 +3,6 @@ | |
interface IAboutFormPresenter | ||
{ | ||
void ShowAboutForm(); | ||
void UpdateFonts(bool xkcdSelected); | ||
} | ||
} |
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 |
---|---|---|
@@ -1,11 +1,27 @@ | ||
namespace EuriborSharp.Interfaces | ||
using EuriborSharp.Enums; | ||
|
||
namespace EuriborSharp.Interfaces | ||
{ | ||
interface IGraphControl | ||
{ | ||
void Init(Enums.TimePeriods period, bool smoothSelected, bool xkcd); | ||
/// <summary> | ||
/// Initializies plot model and data series based on given parameters. | ||
/// </summary> | ||
/// <param name="period">Selected time period.</param> | ||
/// <param name="smoothSelected">Flag for smooth line.</param> | ||
/// <param name="style">Selected plot data serie type.</param> | ||
/// <param name="renderer">Selected plot renderer.</param> | ||
/// <param name="dotLine">Flag for dotted line.</param> | ||
void Init(TimePeriods period, bool smoothSelected, GraphStyle style, Renderer renderer, bool dotLine); | ||
|
||
/// <summary> | ||
/// Updated selected plot data series. | ||
/// </summary> | ||
void UpdateGraph(TimePeriods period); | ||
|
||
/// <summary> | ||
/// Updated all plot data series. | ||
/// </summary> | ||
void UpdateGraph(); | ||
void UpdateSmoothing(bool b); | ||
void SetLineStyleToNormal(); | ||
void SetLineStyleToDot(); | ||
} | ||
} |
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 |
---|---|---|
@@ -1,24 +1,50 @@ | ||
using System; | ||
using System.Windows.Forms; | ||
using EuriborSharp.CustonEventArgs; | ||
using EuriborSharp.Enums; | ||
|
||
namespace EuriborSharp.Interfaces | ||
{ | ||
interface IMainForm | ||
{ | ||
event EventHandler<BooleanEventArg> XkcdChanged; | ||
/// <summary> | ||
/// Occurs when smooth line enabled or disabled. | ||
/// </summary> | ||
event EventHandler<BooleanEventArg> LineSmoothChanged; | ||
event EventHandler LineStyleNormalSelected; | ||
event EventHandler LineStyleNoneSelected; | ||
|
||
/// <summary> | ||
/// Occurs when graph serie style is changed. | ||
/// </summary> | ||
event EventHandler<GraphStyleEventArgs> GraphStyleChanged; | ||
|
||
/// <summary> | ||
/// Occurs when renderer is changed. | ||
/// </summary> | ||
event EventHandler<RendererEventArgs> RendererChanged; | ||
|
||
/// <summary> | ||
/// Occurs when line style is changed. | ||
/// </summary> | ||
event EventHandler<BooleanEventArg> DotLineSelected; | ||
|
||
/// <summary> | ||
/// Occurs when about menu is selected from the menu. | ||
/// </summary> | ||
event EventHandler HelpSelected; | ||
|
||
/// <summary> | ||
/// Occurs when exit is selected from the menu. | ||
/// </summary> | ||
event EventHandler ExitSelected; | ||
|
||
void Close(); | ||
void Dispose(); | ||
void AddControl(UserControl control, string tabName); | ||
void UpdateTitle(string s); | ||
void UpdateLineStyle(bool dotlineSelected); | ||
void UpdateSmoothSelection(bool selected); | ||
void UpdateLineStyleSelection(bool normalSelected); | ||
void UpdateRendererSelection(bool xkcdSelected); | ||
void UpdateSeriesStyle(GraphStyle g); | ||
void UpdateRenderer(Renderer r); | ||
void UpdateGui(bool xkcdSelected); | ||
} | ||
} |
Oops, something went wrong.