diff options
author | fluxgen <fluxgen> | 2004-04-18 14:16:09 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2004-04-18 14:16:09 (GMT) |
commit | facca1f6f998630af008fffe59ed1af116596609 (patch) | |
tree | 7a352d824c40e9b67dac1c6a93875837afce52f5 /util/fbrun/FbRun.hh | |
parent | c81cec51a97eae53622c94c9bfe8e23f9a7716c1 (diff) | |
download | fluxbox-facca1f6f998630af008fffe59ed1af116596609.zip fluxbox-facca1f6f998630af008fffe59ed1af116596609.tar.bz2 |
tab complete on all apps in PATH, patch from Mathias Gumz
Diffstat (limited to 'util/fbrun/FbRun.hh')
-rw-r--r-- | util/fbrun/FbRun.hh | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/util/fbrun/FbRun.hh b/util/fbrun/FbRun.hh index 7856bdd..f287a5b 100644 --- a/util/fbrun/FbRun.hh +++ b/util/fbrun/FbRun.hh | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: FbRun.hh,v 1.14 2003/08/27 14:04:12 fluxgen Exp $ | 22 | // $Id: FbRun.hh,v 1.15 2004/04/18 14:16:09 fluxgen Exp $ |
23 | 23 | ||
24 | #ifndef FBRUN_HH | 24 | #ifndef FBRUN_HH |
25 | #define FBRUN_HH | 25 | #define FBRUN_HH |
@@ -82,6 +82,7 @@ private: | |||
82 | void firstHistoryItem(); | 82 | void firstHistoryItem(); |
83 | void lastHistoryItem(); | 83 | void lastHistoryItem(); |
84 | void tabCompleteHistory(); | 84 | void tabCompleteHistory(); |
85 | void tabCompleteApps(); | ||
85 | 86 | ||
86 | FbTk::Font m_font; ///< font used to draw command text | 87 | FbTk::Font m_font; ///< font used to draw command text |
87 | Display *m_display; ///< display connection | 88 | Display *m_display; ///< display connection |
@@ -89,8 +90,14 @@ private: | |||
89 | FbTk::GContext m_gc; ///< graphic context | 90 | FbTk::GContext m_gc; ///< graphic context |
90 | bool m_end; ///< marks when this object is done | 91 | bool m_end; ///< marks when this object is done |
91 | std::vector<std::string> m_history; ///< history list of commands | 92 | std::vector<std::string> m_history; ///< history list of commands |
92 | size_t m_current_history_item; ///< holds current position in command history | ||
93 | std::string m_history_file; ///< holds filename for command history file | 93 | std::string m_history_file; ///< holds filename for command history file |
94 | size_t m_current_history_item; ///< holds current position in command history | ||
95 | |||
96 | typedef std::vector<std::string> AppsContainer; | ||
97 | typedef AppsContainer::iterator AppsContainerIt; | ||
98 | AppsContainer m_apps; ///< holds all apps in $PATH | ||
99 | size_t m_current_apps_item; ///< holds current position in apps-history | ||
100 | |||
94 | Cursor m_cursor; | 101 | Cursor m_cursor; |
95 | 102 | ||
96 | FbTk::FbPixmap m_pixmap; | 103 | FbTk::FbPixmap m_pixmap; |