#include FORMS_H_LOCATION
#include "LString.h"
-#include "frontends/Timeout.h"
#ifdef __GNUG__
#pragma interface
#endif
class LyXView;
+class DropDown;
+class Timeout;
///
class MiniBuffer : public SigC::Object {
spaces,
nospaces
};
-
+
///
MiniBuffer(LyXView * o,
FL_Coord x, FL_Coord y, FL_Coord h, FL_Coord w);
+ /// destructor
+ ~MiniBuffer();
+
+ /// create drop down
+ void dd_init();
+
///
void addSet(string const &,
string const & = string());
void messagePush(string const & str);
///
void messagePop();
-
+
/** Makes the minibuffer wait for a string to be inserted.
Waits for a string to be inserted into the minibuffer, when
- the string has been insterted the signal stringReady is
+ the string has been inserted the signal stringReady is
emitted.
*/
void getString(State space,
///
void redraw();
///
- int peek_event(FL_OBJECT *, int, int);
+ int peek_event(FL_OBJECT *, int, int);
///
SigC::Signal1<void, string const &> stringReady;
///
void stored_slot();
///
void stored_set(string const &);
- ///
+ /// set the minibuffer content if str non-empty
+ void set_complete_input(string const &);
+ /// append c to the current contents
+ void append_char(char c);
+ /// set the minibuffer content
void set_input(string const &);
///
void init();
///
FL_OBJECT * add(int, FL_Coord, FL_Coord, FL_Coord, FL_Coord);
///
- Timeout timer;
+ Timeout * timer;
///
- Timeout stored_timer;
+ Timeout * stored_timer;
+ /// the dropdown menu
+ DropDown * dropdown_;
///
FL_OBJECT * the_buffer;
///