aboutsummaryrefslogtreecommitdiff
path: root/util/fbrun/FbRun.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-11-27 21:56:56 (GMT)
committerfluxgen <fluxgen>2002-11-27 21:56:56 (GMT)
commit43c4469119b5b5357d01e59a23cf541fb233bd28 (patch)
treec8fa3329d84408eb5b9f0f3905cdb530f7cf5434 /util/fbrun/FbRun.hh
parent97a2ea9d2321cad25a00f2509b4474243696c621 (diff)
downloadfluxbox-43c4469119b5b5357d01e59a23cf541fb233bd28.zip
fluxbox-43c4469119b5b5357d01e59a23cf541fb233bd28.tar.bz2
using FbTk's new EventHandler interface
Diffstat (limited to 'util/fbrun/FbRun.hh')
-rw-r--r--util/fbrun/FbRun.hh12
1 files changed, 10 insertions, 2 deletions
diff --git a/util/fbrun/FbRun.hh b/util/fbrun/FbRun.hh
index efcd54f..41e5925 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.6 2002/11/15 14:03:14 fluxgen Exp $ 22// $Id: FbRun.hh,v 1.7 2002/11/27 21:56:02 fluxgen Exp $
23 23
24#ifndef FBRUN_HH 24#ifndef FBRUN_HH
25#define FBRUN_HH 25#define FBRUN_HH
@@ -33,7 +33,7 @@
33/** 33/**
34 Creates and managed a run window 34 Creates and managed a run window
35*/ 35*/
36class FbRun: public FbTk::EventHandler<XEvent> { 36class FbRun: public FbTk::EventHandler {
37public: 37public:
38 FbRun(int x = 0, int y = 0, size_t width = 200); 38 FbRun(int x = 0, int y = 0, size_t width = 200);
39 ~FbRun(); 39 ~FbRun();
@@ -63,6 +63,14 @@ public:
63 @return true on success, else false 63 @return true on success, else false
64 */ 64 */
65 bool loadHistory(const char *filename); 65 bool loadHistory(const char *filename);
66 /**
67 @name events
68 */
69 ///@{
70 void exposeEvent(XExposeEvent &ev);
71 void keyPressEvent(XKeyEvent &ev);
72 ///@}
73
66private: 74private:
67 void nextHistoryItem(); 75 void nextHistoryItem();
68 void prevHistoryItem(); 76 void prevHistoryItem();