Commit Graph

19 Commits

Author SHA1 Message Date
Jakub Sobon 1db0cfc7f1
Test coverage for the initial functionality of linechart. 2019-01-13 00:03:19 -05:00
Jakub Sobon 79c7955335
Numerical functions and representations of value, scale and axis. 2019-01-07 00:15:31 -05:00
Jakub Sobon 27079c8068
Function that draws lines on a braille canvas. 2018-12-30 22:30:19 -05:00
Jakub Sobon 1246e53f2c
Re-adding the licences. 2018-07-01 18:15:49 -04:00
Jakub Sobon ef1661e366
Self-review. 2018-07-01 18:13:29 -04:00
Jakub Sobon 20c66d49db Merge branch '10-braille-canvas-copyto' into 20-braille-canvas 2018-07-01 17:42:34 -04:00
Jakub Sobon 8a1d6ddadf
Self-review. 2018-07-01 17:41:32 -04:00
Jakub Sobon 244dcf02ea
Adding licences. 2018-07-01 17:33:20 -04:00
Jakub Sobon 7d15d24d2f Merge branch '10-braille-canvas-copyto' into 20-braille-canvas 2018-07-01 16:16:31 -04:00
Jakub Sobon 11c9dbab24
Adding a higher resolution canvas.
This canvas uses the braille pattern characters.
2018-07-01 00:12:28 -04:00
Jakub Sobon 30068668d0
The copied-to canvas is always zero-based.
At least from the point of view of the widget.
2018-06-30 22:07:39 -04:00
Jakub Sobon 750d7159e3
Ability to copy a canvas.
Allows one canvas to be copied onto another, potentially with an offset.
2018-06-30 21:39:02 -04:00
Jakub Sobon ba2cb94100
Full-width rune support in the canvas.
- SetCell now returns the number of occupied cells.
- Apply skips over partial cells.
2018-05-20 22:50:07 +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 0bbb28d13d
Adding a fake widget. 2018-04-07 14:24:55 +02:00
Jakub Sobon dc1f2c5a29
Implementing canvas functionality.
Done here:
- adding helper library which determines area from size and vice versa.
- fixing an off-by-one bug related to area sizes.
- allowing overwrite of cell options by passing an existing cell.Options
instance.
- implementing canvas and its tests.
2018-03-29 03:28:36 +03:00
Jakub Sobon 59e1bd6472
Implementing cell, buffer, container options and fake terminal.
Push after a partial commit to prevent data loss.
This isn't complete and doesn't have complete test coverage.
2018-03-28 21:34:20 +03:00
Jakub Sobon bc42865277
Defining the APIs. 2018-03-27 19:01:35 +01:00