4 * Copyright 1995-2002 the LyX Team
5 * Read the file COPYING
8 * \author Asger and Juergen
14 #include "frontends/MiniBuffer.h"
16 #include FORMS_H_LOCATION
25 class XMiniBuffer : public MiniBuffer {
28 XMiniBuffer(LyXView * o,
29 FL_Coord x, FL_Coord y, FL_Coord h, FL_Coord w);
41 int peek_event(FL_OBJECT *, int, int, XEvent * xev);
44 /// Are we in editing mode?
45 virtual bool isEditingMode() const;
46 /// enter editing mode
47 virtual void editingMode();
48 /// enter message display mode
49 virtual void messageMode();
52 * Append "c" to the current input contents when the completion
53 * list is displayed and has focus.
55 void append_char(char c);
57 /// set the minibuffer content in editing mode
58 virtual void set_input(string const &);
60 /// This creates the input widget for the minibuffer
61 FL_OBJECT * create_input_box(int, FL_Coord, FL_Coord, FL_Coord, FL_Coord);
66 /// This is the input widget object
67 FL_OBJECT * the_buffer;