clearer API for drawing a button
commit4b3f3595266729a16a2a5bdb2a480576d332c14c
authorKartik K. Agaram <vc@akkartik.com>
Tue, 17 Oct 2023 05:53:26 +0000 (16 22:53 -0700)
committerKartik K. Agaram <vc@akkartik.com>
Tue, 17 Oct 2023 05:57:46 +0000 (16 22:57 -0700)
tree8776a614abf1d0621284c2fb4808bcf59d1f2ed8
parentea4a8379fe577207509719af41491190035fc8fa
clearer API for drawing a button

Make it more obvious that the color passed in is just for the background.
The icon will do the rest.
r/g/b keys are more consistent with App.color().
app.lua
button.lua
commands.lua
edit.lua
source_edit.lua
source_text.lua