pass all button params to the icon
[?]
Aug 23, 2022, 7:13 PM
ZCTJPR6IMJKX4E5R3VENXOPTLBN55RUEBLRT6S2HL7G4UTTJ5CJACDependencies
- [2]
PP2IIHL6stop putting button state in a global - [3]
6J3NXBYGaffordance to adjust width for word wrap - [4]
4KC7I3E2make colors easier to edit - [5]
ZNLTRNNKhighlight another global - [6]
XX7G2FFJintermingle freehand line drawings with text - [7]
VHQCNMARseveral more modules
Change contents
- replacement in icons.lua at line 3
function icon.insert_drawing(x, y)function icon.insert_drawing(button_params)local x,y = button_params.x, button_params.y - replacement in button.lua at line 17
if params.icon then params.icon(params.x, params.y) endif params.icon then params.icon(params) end