#include "FormBase.h"
class ControlThesaurus;
-struct FD_form_tabbed_thesaurus;
+struct FD_form_thesaurus;
struct FD_form_noun;
struct FD_form_verb;
struct FD_form_adjective;
/** This class provides an XForms implementation of the Thesaurus dialog.
*/
-class FormThesaurus : public FormCB<ControlThesaurus, FormDB<FD_form_tabbed_thesaurus> > {
+class FormThesaurus : public FormCB<ControlThesaurus, FormDB<FD_form_thesaurus> > {
public:
///
FormThesaurus(ControlThesaurus &);
virtual void build();
/// update dialog
virtual void update();
- /// redraw
- virtual void redraw();
+
+ /// dialog build
+ FD_form_thesaurus * build_thesaurus();
/// set the replace word properly
void setReplace(const string & templ, const string & nstr);
/// update browser entries
- void updateEntries(const string & str);
+ void updateMeanings(const string & str);
/// Filter the inputs
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
- /// Fdesign generated methods
- FD_form_tabbed_thesaurus * build_tabbed_thesaurus();
- FD_form_noun * build_noun();
- FD_form_verb * build_verb();
- FD_form_adjective * build_adjective();
- FD_form_adverb * build_adverb();
- FD_form_other * build_other();
-
- /// Real GUI implementations of sub-forms
- boost::scoped_ptr<FD_form_noun> noun_;
- boost::scoped_ptr<FD_form_verb> verb_;
- boost::scoped_ptr<FD_form_adjective> adjective_;
- boost::scoped_ptr<FD_form_adverb> adverb_;
- boost::scoped_ptr<FD_form_other> other_;
-
/// for double click handling
int clickline_;