mirror of
https://github.com/mum4k/termdash.git
synced 2026-04-27 03:15:55 +03:00
[PR #149] [MERGED] Implementing the Button widget. #220
Labels
No labels
bug
cleanup
enhancement
enhancement
enhancement
good first issue
help wanted
help wanted
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/termdash#220
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mum4k/termdash/pull/149
Author: @mum4k
Created: 2/24/2019
Status: ✅ Merged
Merged: 2/24/2019
Merged by: @mum4k
Base:
devel← Head:button📝 Commits (10+)
4caa570Skeleton of the button widget.8b3f1a1Merge branch 'devel' into buttona16d908Adding options for global keyboard.dd2d740Defining API for canvas methods that set cell options.952242fFixing two typos in test descriptions.2a817f9Adding canvas methods that can set cell options.07d22ccThe mouse FSM now allows callers to specify an updated area size.4b4e245The button in an intermediate dev state.22946f2Allowing widgets to select the scope for mouse events too.0490734Running gofmt.📊 Changes
36 files changed (+2414 additions, -111 deletions)
View changed files
📝
CHANGELOG.md(+5 -6)📝
README.md(+13 -1)📝
canvas/braille/braille_test.go(+2 -2)📝
canvas/canvas.go(+67 -0)📝
canvas/canvas_test.go(+439 -0)📝
canvas/testcanvas/testcanvas.go(+7 -0)📝
container/container.go(+25 -28)📝
container/container_test.go(+262 -17)➕
images/buttondemo.gif(+0 -0)➖
images/termdashdemo_0_6_0.gif(+0 -0)➕
images/termdashdemo_0_7_0.gif(+0 -0)📝
mouse/button/button.go(+6 -0)📝
mouse/button/button_test.go(+70 -0)📝
termdash_test.go(+8 -8)📝
termdashdemo/termdashdemo.go(+79 -13)📝
widgetapi/widgetapi.go(+55 -5)📝
widgets/barchart/barchart.go(+1 -1)📝
widgets/barchart/barchart_test.go(+6 -6)➕
widgets/button/button.go(+209 -0)➕
widgets/button/button_test.go(+846 -0)...and 16 more files
📄 Description
And adding it to the front page and demo.
Fixes #103
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.