Jakub Sobon
ecd91d737d
Rewriting the prototype code for readability.
2019-02-03 23:21:32 -05:00
Jakub Sobon
bae1329170
Remainder of the ASCII table.
2019-02-03 19:59:19 -05:00
Jakub Sobon
ba56c33add
Uppercase letters.
2019-02-03 19:39:39 -05:00
Jakub Sobon
dbd6ecf3ad
ASCII up to letters.
2019-02-03 18:24:34 -05:00
Jakub Sobon
ed725da9a0
Test coverage for string, segment and area functions.
2019-02-02 20:52:53 -05:00
Jakub Sobon
0ee98483ac
Tests of individual segments being set.
2019-02-01 00:25:42 -05:00
Jakub Sobon
0d20627fd3
Adding licences.
2019-02-01 00:13:36 -05:00
Jakub Sobon
2e597e8b60
First test for sixteen.
2019-02-01 00:12:52 -05:00
Jakub Sobon
a2c4512b47
Improve the look of display with segment width/height of two.
2019-01-31 23:51:33 -05:00
Jakub Sobon
50b18902c8
Rename segdisp->sixteen.
2019-01-31 23:36:25 -05:00
Jakub Sobon
978707c573
Rename display->segdisp.
2019-01-31 23:35:25 -05:00
Jakub Sobon
eec74ffbf3
Move segdisp under draw.
2019-01-31 23:34:47 -05:00
Jakub Sobon
7e55d57164
Merge branch 'devel' into segment-display
2019-01-27 22:32:49 -05:00
Jakub Sobon
9ca3fc8b3f
Creating a common numbers.Abs function for code reuse.
2019-01-27 22:32:06 -05:00
Jakub Sobon
8968704de2
Fixing racy behavior between Options and Draw.
...
This applies to widgets whose Options depend on user data.
Documenting this in the docs and on API and protecting against this
condition in the affected widgets.
2019-01-26 23:58:38 -05:00
Michael Teuscher
35fd8d2c70
Added LineStyleRound
2019-01-25 19:57:14 +01:00
Michael Teuscher
41cbc3c19a
Added a test for double border drawing
2019-01-25 00:10:33 +01:00
Michael Teuscher
3e60b42918
Added Double Line Style
2019-01-24 15:35:39 +01:00
Michael Teuscher
85b31891ec
Revert "Merge pull request #1 from infinytum/issue-81"
...
This reverts commit 93423a8e8b
, reversing
changes made to 02bb0d1312
.
2019-01-24 09:07:15 +01:00
Michael Teuscher
25608ae634
Added new linestyle LineStyleDouble
2019-01-23 20:57:48 +01:00
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