Jonathan Daugherty
839ff8bb0d
viewport: remove redundant call to cropToContext due to presence of h/vLimit
2022-01-18 10:28:52 -08:00
Jonathan Daugherty
a2f4345d60
Changelog: add missing entry about change to Context type
2022-01-18 10:21:19 -08:00
Jonathan Daugherty
3fc45a9218
samtay-tutorial: generalize Brick Haddock link
2021-11-21 09:33:40 -08:00
Jonathan Daugherty
f141562756
Brick: improve docs (w.r.t. #349 )
2021-11-20 15:45:33 -08:00
Jonathan Daugherty
026d6bc0ce
viewport: mention Brick.Main API (w.r.t. #349 )
2021-11-20 15:38:41 -08:00
Jonathan Daugherty
da8e859156
lookupViewport: more updates (w.r.t. #349 )
2021-11-20 15:07:58 -08:00
Jonathan Daugherty
d2471911bb
lookupViewport: add extra notes about behavior (relevant to #349 )
2021-11-20 15:04:44 -08:00
Jonathan Daugherty
e53a3115df
guide: add a bit more material about scroll bar API use
2021-11-19 20:56:01 -08:00
Jonathan Daugherty
04545cce8b
README: update copyright
2021-11-19 20:48:42 -08:00
Jonathan Daugherty
2090f2e414
Bump version, update changelog
2021-11-19 20:41:45 -08:00
Jonathan Daugherty
539823ee78
Add mouse click reporting of scroll bar elements
2021-11-19 20:32:47 -08:00
Jonathan Daugherty
663b014110
Add withH/VScrollBarHandles, scrollbarHandleAttr, and renderer fields
2021-11-19 20:00:04 -08:00
Jonathan Daugherty
db382fc1d1
Export ScrollbarRenderer type from Brick.Widgets.Core
2021-11-19 19:21:14 -08:00
Jonathan Daugherty
ba902902d6
Merge branch 'master' of github.com:jtdaugherty/brick
2021-11-19 19:12:58 -08:00
Jonathan Daugherty
60b21486e7
docstring updates
2021-11-19 19:12:52 -08:00
Jonathan Daugherty
b29d90da67
Merge pull request #346 from simonmichael/patch-1
2021-11-17 22:19:48 -08:00
Simon Michael
24ed2a73d4
add hledger-ui, hledger-iadd
2021-11-17 19:45:41 -10:00
Jonathan Daugherty
0ba1fc5584
Whitespace
2021-11-15 21:36:10 -08:00
Jonathan Daugherty
73fcdabe4a
Language nits
2021-11-13 17:35:52 -08:00
Jonathan Daugherty
8966495d47
ViewportScrollbarsDemo: fix keybindings
2021-11-12 19:19:33 -08:00
Jonathan Daugherty
b915768b55
Scroll bar demo program cleanup
2021-11-12 16:51:43 -08:00
Jonathan Daugherty
944e4cd0ca
Whitespace
2021-11-12 16:50:30 -08:00
Jonathan Daugherty
ef5d4b896c
README: mention scroll bars
2021-11-12 16:50:20 -08:00
Jonathan Daugherty
d473298e03
Core: reorder viewport documentation entries
2021-11-12 16:47:31 -08:00
Jonathan Daugherty
e29ad5523d
Core: scroll bar renderer documentation updates
2021-11-12 16:45:12 -08:00
Jonathan Daugherty
d58dea85bc
Core: export horizontal scroll bar renderer
2021-11-12 16:45:04 -08:00
Jonathan Daugherty
4dd85869eb
Make scroll bar functions explicitly handle zero-height/width content cases
2021-11-12 16:41:13 -08:00
Jonathan Daugherty
9ca9a39b89
Add support for vertical and horizontal scroll bars on viewports
2021-11-12 16:31:48 -08:00
Jonathan Daugherty
31e2342799
Merge pull request #344 from NiekPas/patch-2
2021-11-09 07:15:37 -08:00
Niek van de Pas
52dda48ff4
Update README.md
...
Feel free to disagree, but I think the table widget is cool enough to deserve a frontpage mention :)
2021-11-09 16:01:08 +01:00
Jonathan Daugherty
4112d1f86c
Merge pull request #343 from mlang/ghc-9.2.1
...
Bump base to support GHC 9.2.1
2021-11-08 08:10:33 -08:00
Jonathan Daugherty
3cf9bd702a
renderDynBorder: style cleanup
2021-11-08 08:10:12 -08:00
Jonathan Daugherty
443b314f0a
Clean up a few warnings
2021-11-08 08:09:59 -08:00
Jonathan Daugherty
76b148fee4
Remove questionable comment
2021-11-08 08:06:30 -08:00
Jonathan Daugherty
8993868c2c
Github CI: add GHC 9.2.1
2021-11-08 08:02:10 -08:00
Mario Lang
9c78ed50fb
Bump base to support GHC 9.2.1
2021-11-08 07:27:50 +01:00
Jonathan Daugherty
3f40f72969
Merge pull request #342 from NiekPas/patch-1
2021-11-04 06:08:45 -07:00
Niek van de Pas
1c3702197d
Update guide.rst
...
Fix heading level and title
2021-11-04 11:27:20 +01:00
Jonathan Daugherty
16d4d0a159
Merge pull request #340 from sjakobi/less-compat
...
Remove some compat code for base < 4.8 / GHC < 7.10
2021-10-25 15:43:25 -07:00
Simon Jakobi
5fbf3bc965
Remove some compat code for base < 4.8 / GHC < 7.10
2021-10-25 22:25:15 +02:00
Jonathan Daugherty
3d1c56f8d5
Merge pull request #339 from sjakobi/gha
...
Migrate CI to GitHub Actions
2021-10-23 12:54:30 -07:00
Simon Jakobi
e1d02d3036
Migrate CI to GitHub Actions
...
Support for GHC 7.10 is dropped, because some MonadFail-related issues
turned out tricky to fix.
2021-10-23 04:37:45 +02:00
Jonathan Daugherty
f1b13aadbb
Bump version, update changelog
2021-10-22 08:22:46 -07:00
Jonathan Daugherty
31cc25801b
Themes: fix saving of background color in saveTheme ( fixes #338 )
2021-10-22 08:20:09 -07:00
Jonathan Daugherty
f94441abb6
Un-label some APIs as experimental
2021-09-16 15:46:08 -07:00
Jonathan Daugherty
f0ceb81ed4
listMoveToEnd: use correct destination index ( fixes #337 )
2021-09-16 12:54:08 -07:00
Jonathan Daugherty
3227bf9180
README: add swarm
2021-09-16 11:40:44 -07:00
Jonathan Daugherty
d10f01fcce
Bump version, update changelog
2021-09-16 11:00:51 -07:00
Jonathan Daugherty
e7bf49c61a
Brick.Main.runWithVty (internal): fix bug where rendering state was reset by mistake
...
This change fixes a bug where clickable regions in the UI could be
forgotten by the rendering loop if the application called
"continueWithoutRedraw." This was because although the rendering loop
correctly skipped the redraw, it would reset the rendering state's
clickable regions. That meant that if a mouse click event came in
immediately after a call to "continueWithoutRedraw", the mouse click
would not match any extents because the resource name associated with
the click was not considered clickable. This change fixes runWithVty so
that the rendering state's clickable name list is NOT reset in the
specific case where we're going to skip a screen redraw due to a call to
continueWithoutRedraw.
2021-09-16 10:57:23 -07:00
Jonathan Daugherty
2b28bff2f3
CHANGELOG: add missing attribution
2021-08-23 09:01:00 -07:00