aboutsummaryrefslogtreecommitdiff
path: root/util/fbrun/FbRun.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-03-22 11:33:04 (GMT)
committerfluxgen <fluxgen>2003-03-22 11:33:04 (GMT)
commitb288afa73095671dc807e5edadcb2f3bbf6d589e (patch)
tree398c9ff19f249c69df51a92917a1b1fc84d02804 /util/fbrun/FbRun.hh
parent4b2ba8de473c028c16796f5c6cfcd41e97ef239e (diff)
downloadfluxbox-b288afa73095671dc807e5edadcb2f3bbf6d589e.zip
fluxbox-b288afa73095671dc807e5edadcb2f3bbf6d589e.tar.bz2
added cursor
Diffstat (limited to 'util/fbrun/FbRun.hh')
-rw-r--r--util/fbrun/FbRun.hh6
1 files changed, 5 insertions, 1 deletions
diff --git a/util/fbrun/FbRun.hh b/util/fbrun/FbRun.hh
index a577e45..29a9afd 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.8 2002/12/05 00:07:38 fluxgen Exp $ 22// $Id: FbRun.hh,v 1.9 2003/03/22 11:31:43 fluxgen Exp $
23 23
24#ifndef FBRUN_HH 24#ifndef FBRUN_HH
25#define FBRUN_HH 25#define FBRUN_HH
@@ -75,6 +75,8 @@ public:
75private: 75private:
76 void nextHistoryItem(); 76 void nextHistoryItem();
77 void prevHistoryItem(); 77 void prevHistoryItem();
78 void cursorLeft();
79 void cursorRight();
78 void drawString(int x, int y, const char *text, size_t len); 80 void drawString(int x, int y, const char *text, size_t len);
79 void getSize(size_t &width, size_t &height); 81 void getSize(size_t &width, size_t &height);
80 void createWindow(int x, int y, size_t width, size_t height); 82 void createWindow(int x, int y, size_t width, size_t height);
@@ -92,6 +94,8 @@ private:
92 std::vector<std::string> m_history; ///< history list of commands 94 std::vector<std::string> m_history; ///< history list of commands
93 size_t m_current_history_item; ///< holds current position in command history 95 size_t m_current_history_item; ///< holds current position in command history
94 std::string m_history_file; ///< holds filename for command history file 96 std::string m_history_file; ///< holds filename for command history file
97 Cursor m_cursor;
98 int m_cursor_pos;
95}; 99};
96 100
97#endif // FBRUN_HH 101#endif // FBRUN_HH