-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- ガントチャートの線をコネクタで表現 - (背景色が解放されたので) カレンダーの休日/祝日を着色 - コネクタは色のみカスタマイズ可能
- Loading branch information
1 parent
cc3fe9a
commit d4e0ad1
Showing
10 changed files
with
271 additions
and
56 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using YamlDotNet.Serialization; | ||
|
||
namespace PainlessGantt.Construction | ||
{ | ||
/// <summary> | ||
/// <see cref="IColor"/> インターフェイスの読み書き可能な実装を提供します。 | ||
/// </summary> | ||
public sealed class ColorBuilder : IColor | ||
{ | ||
/// <summary> | ||
/// 赤成分を取得または設定します。 | ||
/// </summary> | ||
[YamlMember(Alias = "赤")] | ||
public byte R { get; set; } | ||
|
||
/// <summary> | ||
/// 緑成分を取得または設定します。 | ||
/// </summary> | ||
[YamlMember(Alias = "緑")] | ||
public byte G { get; set; } | ||
|
||
/// <summary> | ||
/// 青成分を取得または設定します。 | ||
/// </summary> | ||
[YamlMember(Alias = "青")] | ||
public byte B { get; set; } | ||
} | ||
} |
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,23 @@ | ||
namespace PainlessGantt | ||
{ | ||
/// <summary> | ||
/// RGB 色を表します。 | ||
/// </summary> | ||
public interface IColor | ||
{ | ||
/// <summary> | ||
/// 赤成分を取得します。 | ||
/// </summary> | ||
byte R { get; } | ||
|
||
/// <summary> | ||
/// 緑成分を取得します。 | ||
/// </summary> | ||
byte G { get; } | ||
|
||
/// <summary> | ||
/// 青成分を取得します。 | ||
/// </summary> | ||
byte B { get; } | ||
} | ||
} |
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
Oops, something went wrong.