FLTK 1.3.0
Fl_Help_Dialog.H
00001 //
00002 // "$Id$"
00003 //
00004 // Fl_Help_Dialog dialog for the Fast Light Tool Kit (FLTK).
00005 //
00006 // Copyright 1998-2010 by Bill Spitzak and others.
00007 //
00008 // This library is free software. Distribution and use rights are outlined in
00009 // the file "COPYING" which should have been included with this file.  If this
00010 // file is missing or damaged, see the license at:
00011 //
00012 //     http://www.fltk.org/COPYING.php
00013 //
00014 // Please report all bugs and problems on the following page:
00015 //
00016 //     http://www.fltk.org/str.php
00017 //
00018 
00019 /* \file
00020    Fl_Help_Dialog widget . */
00021 
00022 // generated by Fast Light User Interface Designer (fluid) version 1.0108
00023 
00024 #ifndef Fl_Help_Dialog_H
00025 #define Fl_Help_Dialog_H
00026 #include <FL/Fl.H>
00027 #include <FL/Fl_Double_Window.H>
00028 #include <FL/Fl_Group.H>
00029 #include <FL/Fl_Button.H>
00030 #include <FL/Fl_Input.H>
00031 #include <FL/Fl_Box.H>
00032 #include <FL/Fl_Help_View.H>
00033 
00034 class FL_EXPORT Fl_Help_Dialog {
00035   int index_; 
00036   int max_; 
00037   int line_[100];                 // FIXME: we must remove those static numbers
00038   char file_[100][FL_PATH_MAX];   // FIXME: we must remove those static numbers
00039   int find_pos_; 
00040 public:
00041   Fl_Help_Dialog();
00042 private:
00043   Fl_Double_Window *window_;
00044   Fl_Button *back_;
00045   void cb_back__i(Fl_Button*, void*);
00046   static void cb_back_(Fl_Button*, void*);
00047   Fl_Button *forward_;
00048   void cb_forward__i(Fl_Button*, void*);
00049   static void cb_forward_(Fl_Button*, void*);
00050   Fl_Button *smaller_;
00051   void cb_smaller__i(Fl_Button*, void*);
00052   static void cb_smaller_(Fl_Button*, void*);
00053   Fl_Button *larger_;
00054   void cb_larger__i(Fl_Button*, void*);
00055   static void cb_larger_(Fl_Button*, void*);
00056   Fl_Input *find_;
00057   void cb_find__i(Fl_Input*, void*);
00058   static void cb_find_(Fl_Input*, void*);
00059   Fl_Help_View *view_;
00060   void cb_view__i(Fl_Help_View*, void*);
00061   static void cb_view_(Fl_Help_View*, void*);
00062 public:
00063   ~Fl_Help_Dialog();
00064   int h();
00065   void hide();
00066   void load(const char *f);
00067   void position(int xx, int yy);
00068   void resize(int xx, int yy, int ww, int hh);
00069   void show();
00070   void show(int argc, char **argv);
00071   void textsize(Fl_Fontsize s);
00072   Fl_Fontsize textsize();
00073   void topline(const char *n);
00074   void topline(int n);
00075   void value(const char *f);
00076   const char * value() const;
00077   int visible();
00078   int w();
00079   int x();
00080   int y();
00081 };
00082 #endif
00083 
00084 //
00085 // End of "$Id$".
00086 //