diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-03-10 06:03:25 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-03-10 06:03:25 +0100 |
| commit | 407690e9b8a2693a7bd831e954c079cb26c569b7 (patch) | |
| tree | 080e33bbd9e9aea75048306513cde40b603223ea /CrowIDE/src/Editors/CodeBuffer/TextFormatting.cs | |
| parent | fd3397cdf340284c7cbb912b45ebfdbb654947d5 (diff) | |
getStremFromPath made instanced for overriding in designiface, crowide wip
Diffstat (limited to 'CrowIDE/src/Editors/CodeBuffer/TextFormatting.cs')
| -rw-r--r-- | CrowIDE/src/Editors/CodeBuffer/TextFormatting.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/CrowIDE/src/Editors/CodeBuffer/TextFormatting.cs b/CrowIDE/src/Editors/CodeBuffer/TextFormatting.cs new file mode 100644 index 00000000..f7b2e518 --- /dev/null +++ b/CrowIDE/src/Editors/CodeBuffer/TextFormatting.cs @@ -0,0 +1,19 @@ +using System; + +namespace Crow.Coding +{ + public struct TextFormatting { + public Color Foreground; + public Color Background; + public bool Bold; + public bool Italic; + + public TextFormatting(Color fg, Color bg, bool bold = false, bool italic = false){ + Foreground = fg; + Background = bg; + Bold = bold; + Italic = italic; + } + } +} + |