Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-05-01 | roll back 7e17056: m_index does not exist anymore | Mathias Gumz | 1 | -6/+1 | |
m_index was removed in 03ce82a. | |||||
2015-05-01 | Initialize m_index in MenuItem's constructors. | Mario J. Rugiero | 1 | -1/+6 | |
2015-01-28 | Feature: typeahead in menu matches text anywhere | Mathias Gumz | 1 | -17/+8 | |
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-16 | Fix uninitialized variables; cosmetics | Mathias Gumz | 1 | -5/+11 | |
Note: I expect only modern compilers will hit the source of fluxbox. It seems futile to guard stdlib headers while demanding <algorithm> etc. This should trim down the noise in the source quite a bit. | |||||
2010-09-08 | introduced FbTk::BidiString | Mathias Gumz | 1 | -9/+9 | |
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). | |||||
2008-01-11 | make FbTk::Command a template class, split parsing information out of ↵ | Mark Tiefenbruck | 1 | -5/+5 | |
ObjectRegistry | |||||
2008-01-05 | update code to use ThemeProxy | Mark Tiefenbruck | 1 | -5/+6 | |
2008-01-04 | remove old svn $Id$ tags | Mark Tiefenbruck | 1 | -2/+0 | |
2007-12-29 | 'inline' in class declaration is implicitly inline | Mathias Gumz | 1 | -10/+10 | |
2007-12-18 | holding control will now keep the menu open | Mark Tiefenbruck | 1 | -1/+1 | |
2007-12-18 | make MenuItem responsible for decision to close menu when clicked | Mark Tiefenbruck | 1 | -18/+22 | |
2007-10-13 | merged changes from pre-devel | markt | 1 | -0/+3 | |
2007-04-17 | basicly cosmetic changes, patch by slava semushin | mathias | 1 | -1/+0 | |
2007-03-03 | added support for typeahead in menus | markt | 1 | -1/+14 | |
2007-01-07 | per-window transparency, including apps and menu support, plus some | simonb | 1 | -8/+8 | |
infrastructure and related changes. Thanks for original patch from Julien Trolet, dmxen at sourceforge dot net | |||||
2006-05-20 | improve native language handling, move messages and menu labels to | simonb | 1 | -10/+11 | |
FbTk::FbString | |||||
2005-06-23 | added showSubmenu in MenuItem | fluxgen | 1 | -2/+4 | |
2005-05-03 | fix some menu drawing issues | simonb | 1 | -2/+20 | |
2005-04-26 | extension of previous big patch. Move a bunch of menu things onto | simonb | 1 | -0/+2 | |
background pixmap. Same for textbuttons. | |||||
2005-01-24 | copyright date | mathias | 1 | -1/+1 | |
2004-11-19 | svn propset svn:keywords "Id" | mathias | 1 | -1/+1 | |
2004-06-10 | include pixmap with mask | fluxgen | 1 | -2/+3 | |
2004-06-10 | icon in menu item | fluxgen | 1 | -4/+13 | |
2004-06-07 | drawing of items is now done in MenuItem | fluxgen | 1 | -12/+29 | |
2003-12-16 | fixed some icc warnings | fluxgen | 1 | -2/+2 | |
2003-08-27 | added m_toggle_item value | fluxgen | 1 | -7/+13 | |
2003-02-17 | we might want to change command once the object is created | fluxgen | 1 | -1/+2 | |
2003-01-12 | item in the menu | fluxgen | 1 | -0/+94 | |