Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-01-28 | Feature: typeahead in menu matches text anywhere | Mathias Gumz | 1 | -27/+22 | |
This commit implements a tweak to the typeahead feature already existent in fluxbox: If the user opens up a menu and starts typing, fluxbox tries to detect matching menu items and makes them available for quick selection. The typed pattern is now search also in the middle of the text. I opted to strip down the code quite a bit and remove complexity by throwing out FbTk::TypeAhead and FbTk::SearchResult because I do not see the need for a general solution when the only use case for such a feature is in fluxbox' menus. FbTk::ITypeAheadable shrunk down to 2 functions; the whole file might be combined with the code that implements FbTk::Menu::TypeSearch. FbTk::Menu::setIndex() and related code is also gone: the position of each menu item is defined by it's position in the items container. This reduces the mount of book keeping fluxbox has to do. Fewer moving parts is a good thing. It's possible that users start to complaint because they expect their typed pattern to match only at the beginning of the text OR that some demand other tweaks. We will see. This commit also fixes a regression introduced by 8387742c. The bug made the menu vanish. | |||||
2015-01-21 | Refactor: bundle related members together | Mathias Gumz | 1 | -37/+43 | |
Also: try to avoid unsigned/signed problems in drawing code. | |||||
2015-01-16 | Reduce number of allocations for menu creation | Mathias Gumz | 1 | -3/+11 | |
Every time either the Slit menu or the Toolbar menu were added to the root menu, the whole root menu was (re)created from scratch. Now we create and remove only the menus needed. Side effect: the position of these menus is now at the end of the root menu and not somewhere in between. If users complaint, I' ll think about it. | |||||
2015-01-15 | Refactor menu code: be more explicit and compact | Mathias Gumz | 1 | -28/+10 | |
This commit is a preparation step for some menu cleanup ahead. To make it easier to understand which types of MenuItems are added where and when, I converted the overloaded FbTk::Menu::insert() functions into explicit ones (Menu::insertSubmenu(), Menu::insertItem(), etc. ). This makes it possible to just grep for 'insertSubmenu()'. Side effect this commit: it trims down the very verbose creation of menu items in regards to how the labels are created. Minor: FbTk::Menu::shown and FbTk::Menu::s_focused are moved out of the class. | |||||
2015-01-03 | Clean unused variables | Mathias Gumz | 1 | -3/+0 | |
2011-05-10 | Remove the Observer dependency from FbTk::Menu | Pavel Labath | 1 | -6/+2 | |
2011-05-10 | Convert FbTk::Theme::reconfigSig and friends to the new Signal system | Pavel Labath | 1 | -0/+3 | |
I removed the const versions of reconfigSig() in the process since FbTk::Signal has no const methods anyway. | |||||
2011-02-24 | little helper function 'isTitleVisible()' for FbTk::Menu | Mathias Gumz | 1 | -0/+1 | |
2011-01-15 | small refactoring of FbTk/Menu code | Mathias Gumz | 1 | -19/+38 | |
* removed useless struct _menu * code deduplication via renderMenuPixmap() * improved documentation: - 'sublevel' actually means 'column' - 'persub' means 'row_per_column' | |||||
2010-09-08 | introduced FbTk::BidiString | Mathias Gumz | 1 | -3/+3 | |
a 'BidiString' holds both the logical content and the visual reordered version of the content of a string. this helps to reduce the number of calls to reorder the string before drawing it (as introduced in the patch from Ken Bloom) and to be more consistent in menus and textboxes (drawing cursors and underlining text). | |||||
2009-10-01 | compile fix: using correct forward declaration for template classes | Mathias Gumz | 1 | -2/+2 | |
we got this 'Warning (Anachronism): Old syntax for explicit specialization or instantiation ignored.' with the solaris compiler | |||||
2009-08-08 | allow navigating multi-column menus with left and right arrows | Mark Tiefenbruck | 1 | -0/+2 | |
2008-09-22 | fix active menu item when inserting or removing other items | Mark Tiefenbruck | 1 | -1/+1 | |
2008-08-16 | some cleanup | Mark Tiefenbruck | 1 | -8/+1 | |
2008-02-09 | fix highlighted menu item on mouse out | Mark Tiefenbruck | 1 | -0/+1 | |
2008-01-11 | make FbTk::Command a template class, split parsing information out of ↵ | Mark Tiefenbruck | 1 | -2/+2 | |
ObjectRegistry | |||||
2008-01-05 | update code to use ThemeProxy | Mark Tiefenbruck | 1 | -4/+5 | |
2008-01-04 | remove old svn $Id$ tags | Mark Tiefenbruck | 1 | -2/+0 | |
2007-12-30 | removed some unneeded headers | Mathias Gumz | 1 | -5/+3 | |
2007-12-30 | remove some (hopefully) unneeded header includes | Mark Tiefenbruck | 1 | -3/+2 | |
2007-12-29 | 'inline' in class declaration is implicitly inline | Mathias Gumz | 1 | -38/+38 | |
2007-12-28 | move shape handling from FbMenu to FbTk::Menu | Mark Tiefenbruck | 1 | -3/+4 | |
2007-12-18 | fix torn menus | Mark Tiefenbruck | 1 | -1/+1 | |
2007-12-18 | make MenuItem responsible for decision to close menu when clicked | Mark Tiefenbruck | 1 | -2/+2 | |
2007-12-11 | only allow one open menu at a time | markt | 1 | -1/+2 | |
2007-10-13 | merged changes from pre-devel | markt | 1 | -3/+3 | |
2007-07-15 | make sure menus close only when right clicking down and up on the titlebar | markt | 1 | -0/+1 | |
2007-07-07 | save workspace names, and some fixes for menu behavior | markt | 1 | -1/+1 | |
2007-06-03 | update menu xinerama settings after moving | markt | 1 | -1/+2 | |
2007-03-03 | added support for typeahead in menus | markt | 1 | -5/+12 | |
2007-02-28 | some code simplification and bug fixes | markt | 1 | -7/+4 | |
mainly, using a non-zero menuDelayClose allowed you to have multiple submenus open | |||||
2007-01-21 | various changes to menu behavior | markt | 1 | -0/+2 | |
2007-01-07 | per-window transparency, including apps and menu support, plus some | simonb | 1 | -1/+1 | |
infrastructure and related changes. Thanks for original patch from Julien Trolet, dmxen at sourceforge dot net | |||||
2006-08-09 | remove FbTk::Menu::enter/leaveNotifyEvent -- caused problems with placing ↵ | markt | 1 | -5/+1 | |
submenus | |||||
2006-07-11 | dead function | markt | 1 | -0/+2 | |
2006-07-01 | more dead functions | markt | 1 | -1/+1 | |
2006-07-01 | more dead functions | markt | 1 | -0/+4 | |
2006-05-20 | improve native language handling, move messages and menu labels to | simonb | 1 | -4/+5 | |
FbTk::FbString | |||||
2006-04-16 | fix all compiler warnings with -Wall | simonb | 1 | -1/+1 | |
2006-04-02 | size_t fixes, thanks Semushin Slava aka php-coder | fluxgen | 1 | -1/+1 | |
2005-04-26 | extension of previous big patch. Move a bunch of menu things onto | simonb | 1 | -9/+13 | |
background pixmap. Same for textbuttons. | |||||
2005-04-10 | Big changes to how transparency works | simonb | 1 | -9/+4 | |
Consequently rearrange lots of rendering ops, and strip calls to updateTransparent | |||||
2005-01-24 | copyright date | mathias | 1 | -1/+1 | |
2005-01-15 | cleaning | fluxgen | 1 | -14/+14 | |
2004-12-13 | icc complaint about a "possible" conflict between the | mathias | 1 | -1/+1 | |
FbTk::Menu::update(Subject*) and FbTk::Menu::update(int index) to avoid this, we rename FbTk::Menu::update(int index) -> FbTk::Menu::updateMenu(int index) this is mostly cosmetic, but if it makes the life of a compiler happy, well .. be happy icc :) | |||||
2004-11-19 | svn propset svn:keywords "Id" | mathias | 1 | -1/+1 | |
2004-09-11 | head specific strut, patch from Mathieu De Zutter | fluxgen | 1 | -2/+5 | |
2004-08-29 | fix crash bug when windowmenu doesn't include extramenus | rathnor | 1 | -3/+4 | |
improve checking of existence/success of loading windowmenu file | |||||
2004-08-03 | fixed menu move bug and made separator not selectable, patch from Mathias Gumz | fluxgen | 1 | -1/+2 | |
2004-06-27 | added m_active_index. added validIndex function which validates indexes, ↵ | fluxgen | 1 | -6/+12 | |
removed highlight from drawItem since it should only highlight the m_active_index |