gizak
7aed750f64
WIP use Buffer instead of []Point in Bufferer
...
Merge https://github.com/Matt3o12/termui.git colored-list
Merge https://github.com/funkygao/termui.git master
Add subdir widget
Use image Rectangle represent buffer area
2015-04-21 09:56:10 -04:00
Matteo Kloiber
a3f1384a3b
Added EscapeCodeRenderer
...
- Added `EscapeCode`-type
- Implemented EscapeCode.String()
- Implemented EscapeCode.Raw()
- Implemented EscapeCode.MakeSafe()
- Implemented EscapeCode.IsValid()
- Added `EscapeCodeRenderer`
- Implemented EscapeCodeRenderer.RenderSequence()
- Implemented EscapeCodeRenderer.Render()
- Implemented `EscapeCodeRenderer.NormalizedText`.
- Added EscapeCodeRendererFactory
- Implemented EscapeCodeRendererFactory.TextRenderer()
- Added escape code examples to examples/coloredList.go
2015-04-12 17:41:34 +02:00
Matteo Kloiber
3c08053c57
Bugfixes and refactoring
...
Bugfixes:
- Fixes a bug which placed the tree dots (…) for overflown list on the wrong position.
Refactoring
- Renamed `TextRender` to `TextRenderer`
- Renamed `NoopRenderer` to `PlainRenderer`
- Renamed `NoopRendererFactory` to `PlainRendererFactory`
2015-04-10 17:08:27 +02:00
Matteo Kloiber
be167436b7
Added TextRendererFactory.
2015-04-10 16:57:42 +02:00
Matteo Kloiber
b22b4c8b71
Added NoopRenderer.
2015-04-10 16:57:42 +02:00
Matteo Kloiber
c649a7675c
Added unicode support for markdown renderer.
2015-04-10 16:57:42 +02:00
Matteo Kloiber
6a11cf3efb
Implemented RenderedSequence.Buffer
2015-04-10 16:57:42 +02:00
Matteo Kloiber
a267dd583e
ColorSubsequence.Color is now an attribute
...
Added StringToAttribute method in helper.go
2015-04-10 16:57:42 +02:00
Matteo Kloiber
31f6e9a66d
Implemented RenderSequence for MarkdownTextRenderer.
2015-04-10 16:57:42 +02:00
Matteo Kloiber
e7de9eabe6
Added MarkdownRenderer.
2015-04-10 16:57:41 +02:00