1
0
mirror of https://github.com/mum4k/termdash.git synced 2025-05-01 22:17:51 +08:00

40 Commits

Author SHA1 Message Date
Michael Teuscher
0004a9c7e0
Fixed last golint 2019-01-22 23:31:10 +01:00
Michael Teuscher
5e0e08b471
Fixed another golint 2019-01-22 23:29:41 +01:00
Jakub Sobon
7f133bf611
Rest of the Donut widget files. 2019-01-21 17:02:23 -05:00
Jakub Sobon
9d2a639791
Bugfix - correctly filling partial circles. 2019-01-21 00:52:38 -05:00
Jakub Sobon
286ab5c504
A function that can fill arbitrary shapes on the braille canvas. 2019-01-20 16:19:17 -05:00
Jakub Sobon
045bd3ffd1
Improving test coverage. 2019-01-19 02:06:48 -05:00
Jakub Sobon
50a734d77a
Ability to clear pixels.
- Bugfixes in the braille canvas.
- BrailleLine can clear pixels.
- BrailleCircle can clear pixels.
2019-01-19 01:59:46 -05:00
Jakub Sobon
3eea41990e
BrailleLine can clear pixels as well. 2019-01-19 00:58:59 -05:00
Jakub Sobon
5919767099
Ability to draw circles.
Supports
- empty and filled circles
- full and partial circles
2019-01-19 00:42:22 -05:00
Jakub Sobon
834e3b365e
Function that draws empty and filled circles. 2019-01-16 01:42:26 -05:00
Jakub Sobon
1db0cfc7f1
Test coverage for the initial functionality of linechart. 2019-01-13 00:03:19 -05:00
Jakub Sobon
5a392572f0
Proof of concept code that draws a single line chart. 2019-01-12 21:13:03 -05:00
Jakub Sobon
86244cc595
Adding a licence. 2018-12-30 22:36:53 -05:00
Jakub Sobon
7008fa292f
More test coverage. 2018-12-30 22:34:36 -05:00
Jakub Sobon
27079c8068
Function that draws lines on a braille canvas. 2018-12-30 22:30:19 -05:00
Jakub Sobon
ae8f7c5fca
Adding missing licence headers. 2018-07-02 23:31:05 -04:00
Jakub Sobon
9f7a598f1a
Fixing documentation. 2018-06-27 22:36:27 -04:00
Jakub Sobon
c89ed6042b
Self review. 2018-06-25 00:07:33 -04:00
Jakub Sobon
df60341164
Implementing code that draws line crossings. 2018-06-24 23:50:52 -04:00
Jakub Sobon
1bc6a7ccd4
Skeleton for function that draws lines.
- tests.
- testdraw wrapper.
- basic functionality that just draws lines, not crossings yet.
2018-06-24 21:49:30 -04:00
Jakub Sobon
b98948326b
Comment from @chipmunkie. 2018-06-13 17:28:32 +01:00
Jakub Sobon
8a1bb34b05
Generalized text trimming logic.
So it can be reused in widgets.

Also adding some missing default values for options.
2018-05-27 19:28:49 +01:00
Jakub Sobon
c2dab55b50
The draw package now supports full-width runes. 2018-05-20 22:50:57 +01:00
Jakub Sobon
b98013ea45
Removing commit that doesn't belong to this history. 2018-05-14 22:32:07 +01:00
Jakub Sobon
a824210882
Defining options for the text widget. 2018-05-14 22:07:04 +01:00
Jakub Sobon
ea375744a7
Adding travis-ci and coveralls configuration. 2018-05-08 18:53:14 +01:00
Jakub Sobon
e2a4927612
Adding licences. 2018-05-08 01:14:36 +01:00
Jakub Sobon
220f979fa6
Generalizing code that aligns text within a rectangle. 2018-05-07 20:32:14 +01:00
Jakub Sobon
b4b1d8b2a6
Border now supports a title.
Updates #22.
2018-05-07 18:32:41 +01:00
Jakub Sobon
88fc5b2782
Unifying the last API in the draw package.
Fixes #23.
2018-05-07 16:50:27 +01:00
Jakub Sobon
b62c9406ab
Renaming draw.Box to draw.Border and improving its API.
Also adding tests for draw.Rectangle.

Updates #23 and #22.
2018-05-07 13:33:18 +01:00
Jakub Sobon
e249f6ffc4
Adding a test helper for draw.Rectangle. 2018-05-07 12:41:45 +01:00
Jakub Sobon
a265a12bd6
Function that draws a Rectangle.
This time for real.
2018-05-06 19:30:20 +01:00
Jakub Sobon
2473cd46d6
A function that draws a rectangle.
Also:
- implementing text trimming and wrapping.
- Switching log.Fatalf to panic() for more understandable test errors.
2018-05-06 19:28:52 +01:00
Jakub Sobon
2cd3343c81 Adding licences and a script to automate the same. 2018-04-14 23:06:57 +01:00
Jakub Sobon
5c32ca7f7f
Support for keyboard, mouse, widget options and alignment. 2018-04-09 03:17:40 +01:00
Jakub Sobon
0bbb28d13d
Adding a fake widget. 2018-04-07 14:24:55 +02:00
Jakub Sobon
16de0d2b87
Fixing build and test errors. 2018-04-02 00:47:08 +02:00
Jakub Sobon
3a3531d7e1
Implementation of container and its tests.
Including a diff utility for unit tests.
2018-04-01 00:57:33 +02:00
Jakub Sobon
6b592b7d34
Adding the draw library.
And a function that draws boxes.
2018-03-30 01:41:22 +03:00