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
Jakub Sobon
9a7e7b5af8
Support variable size container splits.
2019-01-14 01:11:55 -05:00
Jakub Sobon
f128e8508c
Container's border now supports a title.
...
Fixes #22 .
Fixes #19 .
2018-05-07 18:48:52 +01:00
Jakub Sobon
74bdcd649f
Moving alignment code from container into its own package.
2018-05-07 17:44:32 +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
48fb6a5e29
Widgets can now specify the maximum size of their canvas.
...
Also moving align types out of container so they can be reused.
2018-05-07 12:40:40 +01:00
Jakub Sobon
2d4d903f87
Container handles resize correctly.
...
And making container thread unsafe, thread safety will be implemented at
the top.
2018-04-23 00:45:17 +01:00
Jakub Sobon
2cd3343c81
Adding licences and a script to automate the same.
2018-04-14 23:06:57 +01:00
Jakub Sobon
5ce9e90d68
Test coverage for processing of Keyboard and Mouse events.
2018-04-14 22:00:25 +01:00
Jakub Sobon
5c32ca7f7f
Support for keyboard, mouse, widget options and alignment.
2018-04-09 03:17:40 +01:00
Jakub Sobon
c896b5160f
Containers now track focus.
2018-04-06 04:56:36 +02:00