Elv13 / radical

An extensible menu subsystem for Awesome WM
223 stars 16 forks source link

Add item state concept #7

Closed Elv13 closed 10 years ago

Elv13 commented 10 years ago

Selected Hover

and the ability add more (ie, fake multiselect)

Elv13 commented 10 years ago

This will require a little change to the current API, the item_style.draw function will have to stop checking for flags from the "args" argument, but keep a list of current flags instead. Tracking all flags is an exponential nightmare.

State colors will also need to be overhauled. Listing all of them by hand in base.lua for both item and menu is equivalent to shooting itself on the foot. This lists are already diverging (while they should be identical)

Elv13 commented 10 years ago

Done