mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-12 13:12:32 +00:00
Work on an input field.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@272 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
namespace input {
|
||||
|
||||
class Bindings;
|
||||
class TextInput;
|
||||
|
||||
class Manager : private std::list<Bindings*> {
|
||||
public:
|
||||
@@ -24,11 +25,18 @@ public:
|
||||
using Base::push_back;
|
||||
using Base::push_front;
|
||||
|
||||
Manager() : m_textInput(NULL) {}
|
||||
|
||||
void erase(Bindings* b);
|
||||
|
||||
void pressed(int key);
|
||||
|
||||
void set_text_input(TextInput* input = NULL) { m_textInput = input; }
|
||||
|
||||
// Slot for unreacted keys.
|
||||
|
||||
private:
|
||||
TextInput* m_textInput;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user