andrewdavidmackenzie / pigg

Raspberry Pi GPIO GUI
Apache License 2.0
208 stars 8 forks source link

Add hover functionality to menu buttons #560

Closed andrewdavidmackenzie closed 1 week ago

andrewdavidmackenzie commented 2 weeks ago

On the pop-up menu items (buttons) that are part of a menu, we don't have any hover functionality. We only apply MENU_BUTTON_STYLE to all of them. We should add a MENU_BUTTON_HOVER_STYLE that is white text, and make the MENU_BUTTON_STYLE text color slightly darker, to give the hover effect and then apply the styles in the closures in each menu view method.