• Main Page
  • Related Pages
  • Modules
  • Classes
  • Files
  • File List
  • File Members

Fl_Help_Dialog.H

00001 //
00002 // "$Id$"
00003 //
00004 // Fl_Help_Dialog dialog for the Fast Light Tool Kit (FLTK).
00005 //
00006 // Copyright 1998-2015 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 //  DO NOT EDIT FL/Fl_Help_Dialog.H and src/Fl_Help_Dialog.cxx !!!
00020 // ========================================================================
00021 //  Please use fluid to change src/Fl_Help_Dialog.fl interactively
00022 //  and then use fluid to "write code" or edit and use fluid -c .
00023 // ========================================================================
00024 //
00025 
00026 // generated by Fast Light User Interface Designer (fluid) version 1.0305
00027 
00028 #ifndef Fl_Help_Dialog_H
00029 #define Fl_Help_Dialog_H
00030 #include <FL/Fl.H>
00031 #include <FL/Fl_Double_Window.H>
00032 #include <FL/Fl_Group.H>
00033 #include <FL/Fl_Button.H>
00034 #include <FL/Fl_Input.H>
00035 #include <FL/Fl_Box.H>
00036 #include <FL/Fl_Help_View.H>
00037 
00038 class FL_EXPORT Fl_Help_Dialog {
00039   int index_; 
00040   int max_; 
00041   int line_[100]; // FIXME: we must remove those static numbers
00042   char file_[100][FL_PATH_MAX]; // FIXME: we must remove those static numbers
00043   int find_pos_; 
00044 public:
00045   Fl_Help_Dialog();
00046 private:
00047   Fl_Double_Window *window_;
00048   Fl_Button *back_;
00049   inline void cb_back__i(Fl_Button*, void*);
00050   static void cb_back_(Fl_Button*, void*);
00051   Fl_Button *forward_;
00052   inline void cb_forward__i(Fl_Button*, void*);
00053   static void cb_forward_(Fl_Button*, void*);
00054   Fl_Button *smaller_;
00055   inline void cb_smaller__i(Fl_Button*, void*);
00056   static void cb_smaller_(Fl_Button*, void*);
00057   Fl_Button *larger_;
00058   inline void cb_larger__i(Fl_Button*, void*);
00059   static void cb_larger_(Fl_Button*, void*);
00060   Fl_Input *find_;
00061   inline void cb_find__i(Fl_Input*, void*);
00062   static void cb_find_(Fl_Input*, void*);
00063   Fl_Help_View *view_;
00064   inline void cb_view__i(Fl_Help_View*, void*);
00065   static void cb_view_(Fl_Help_View*, void*);
00066 public:
00067   ~Fl_Help_Dialog();
00068   int h();
00069   void hide();
00070   void load(const char *f);
00071   void position(int xx, int yy);
00072   void resize(int xx, int yy, int ww, int hh);
00073   void show();
00074   void show(int argc, char **argv);
00075   void textsize(Fl_Fontsize s);
00076   Fl_Fontsize textsize();
00077   void topline(const char *n);
00078   void topline(int n);
00079   void value(const char *f);
00080   const char * value() const;
00081   int visible();
00082   int w();
00083   int x();
00084   int y();
00085 };
00086 #endif
00087 
00088 //
00089 // End of "$Id$".
00090 //
  • © 1998-2016 by Bill Spitzak and others.     FLTK

  • © 1998-2016 by Bill Spitzak and others.     FLTK

    Permission is granted to reproduce this manual or any portion for any purpose, provided this copyright and permission notice are preserved.