summaryrefslogtreecommitdiff
path: root/src/ClientMenu.cc
diff options
context:
space:
mode:
authorJim Ramsay <jim.ramsay@motorola.com>2010-01-14 16:49:48 (GMT)
committerJim Ramsay <jim.ramsay@motorola.com>2010-01-14 20:06:40 (GMT)
commit6ceb786df329045b49dc4f2a8e7ba76b772746a9 (patch)
treeed74f7dec685921c5d4a6b7a3e5d143d1098dfd6 /src/ClientMenu.cc
parent46261a8284730a16d664fa89423fc5728ed284b4 (diff)
downloadfluxbox_lack-6ceb786df329045b49dc4f2a8e7ba76b772746a9.zip
fluxbox_lack-6ceb786df329045b49dc4f2a8e7ba76b772746a9.tar.bz2
Add Menu::setActive and MenuItem::setActive API
This provides a virtual function which may be overridden by subclasses so they are notified when a different menu item is highlight. Menu::setActive is called first, with the index of the item that is about to be highlighted, though this may be '-1'. MenuItem::setActive will recieve a boolean which is true if this MenuItem is highlighted and false otherwise.
Diffstat (limited to 'src/ClientMenu.cc')
0 files changed, 0 insertions, 0 deletions