Fl_Help_Dialog.H 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. //
  2. // "$Id: Fl_Help_Dialog.H 11088 2016-01-30 00:56:42Z AlbrechtS $"
  3. //
  4. // Fl_Help_Dialog dialog for the Fast Light Tool Kit (FLTK).
  5. //
  6. // Copyright 1998-2015 by Bill Spitzak and others.
  7. //
  8. // This library is free software. Distribution and use rights are outlined in
  9. // the file "COPYING" which should have been included with this file. If this
  10. // file is missing or damaged, see the license at:
  11. //
  12. // http://www.fltk.org/COPYING.php
  13. //
  14. // Please report all bugs and problems on the following page:
  15. //
  16. // http://www.fltk.org/str.php
  17. //
  18. // ========================================================================
  19. // DO NOT EDIT FL/Fl_Help_Dialog.H and src/Fl_Help_Dialog.cxx !!!
  20. // ========================================================================
  21. // Please use fluid to change src/Fl_Help_Dialog.fl interactively
  22. // and then use fluid to "write code" or edit and use fluid -c .
  23. // ========================================================================
  24. //
  25. // generated by Fast Light User Interface Designer (fluid) version 1.0400
  26. #ifndef Fl_Help_Dialog_H
  27. #define Fl_Help_Dialog_H
  28. #include <FL/Fl.H>
  29. #include <FL/Fl_Double_Window.H>
  30. #include <FL/Fl_Group.H>
  31. #include <FL/Fl_Button.H>
  32. #include <FL/Fl_Input.H>
  33. #include <FL/Fl_Box.H>
  34. #include <FL/Fl_Help_View.H>
  35. class FL_EXPORT Fl_Help_Dialog {
  36. int index_;
  37. int max_;
  38. int line_[100]; // FIXME: we must remove those static numbers
  39. char file_[100][FL_PATH_MAX]; // FIXME: we must remove those static numbers
  40. int find_pos_;
  41. public:
  42. Fl_Help_Dialog();
  43. private:
  44. Fl_Double_Window *window_;
  45. Fl_Button *back_;
  46. inline void cb_back__i(Fl_Button*, void*);
  47. static void cb_back_(Fl_Button*, void*);
  48. Fl_Button *forward_;
  49. inline void cb_forward__i(Fl_Button*, void*);
  50. static void cb_forward_(Fl_Button*, void*);
  51. Fl_Button *smaller_;
  52. inline void cb_smaller__i(Fl_Button*, void*);
  53. static void cb_smaller_(Fl_Button*, void*);
  54. Fl_Button *larger_;
  55. inline void cb_larger__i(Fl_Button*, void*);
  56. static void cb_larger_(Fl_Button*, void*);
  57. Fl_Input *find_;
  58. inline void cb_find__i(Fl_Input*, void*);
  59. static void cb_find_(Fl_Input*, void*);
  60. Fl_Help_View *view_;
  61. inline void cb_view__i(Fl_Help_View*, void*);
  62. static void cb_view_(Fl_Help_View*, void*);
  63. public:
  64. virtual ~Fl_Help_Dialog();
  65. int h();
  66. void hide();
  67. void load(const char *f);
  68. void position(int xx, int yy);
  69. void resize(int xx, int yy, int ww, int hh);
  70. void show();
  71. void show(int argc, char **argv);
  72. void textsize(Fl_Fontsize s);
  73. Fl_Fontsize textsize();
  74. void topline(const char *n);
  75. void topline(int n);
  76. void value(const char *f);
  77. const char * value() const;
  78. int visible();
  79. int w();
  80. int x();
  81. int y();
  82. DECLARE_CLASS_CHEAP_RTTI_1(Fl_Help_Dialog)
  83. };
  84. #endif
  85. //
  86. // End of "$Id: Fl_Help_Dialog.H 11088 2016-01-30 00:56:42Z AlbrechtS $".
  87. //