Add horizontal scrollbar to Fl_Help_View.
Tweek table "squeezing" code. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1715 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
70abac1b8b
commit
e016a249b2
2
CHANGES
2
CHANGES
@ -10,6 +10,8 @@ CHANGES IN FLTK 1.1.0b6
|
|||||||
- Added new Fl_Shared_Image class, a la FLTK 2.0.
|
- Added new Fl_Shared_Image class, a la FLTK 2.0.
|
||||||
- Added new copy(), desaturate(), inactive(), and
|
- Added new copy(), desaturate(), inactive(), and
|
||||||
color_average() methods to the Fl_Image classes.
|
color_average() methods to the Fl_Image classes.
|
||||||
|
- Added a horizontal scrollbar to the Fl_Help_View
|
||||||
|
widget.
|
||||||
- Fl_Float_Input and Fl_Int_Input no longer accept
|
- Fl_Float_Input and Fl_Int_Input no longer accept
|
||||||
pasted text that is not a floating point or integer
|
pasted text that is not a floating point or integer
|
||||||
value. Pasted numbers now replace text in these
|
value. Pasted numbers now replace text in these
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// "$Id: Fl_Help_View.H,v 1.1.2.4 2001/11/24 02:46:19 easysw Exp $"
|
// "$Id: Fl_Help_View.H,v 1.1.2.5 2001/11/24 04:12:56 easysw Exp $"
|
||||||
//
|
//
|
||||||
// Help Viewer widget definitions.
|
// Help Viewer widget definitions.
|
||||||
//
|
//
|
||||||
@ -121,13 +121,16 @@ class Fl_Help_View : public Fl_Group //// Help viewer widget
|
|||||||
|
|
||||||
int ntargets_, // Number of targets
|
int ntargets_, // Number of targets
|
||||||
atargets_; // Allocated targets
|
atargets_; // Allocated targets
|
||||||
Fl_Help_Target *targets_; // Targets
|
Fl_Help_Target *targets_; // Targets
|
||||||
|
|
||||||
char directory_[1024]; // Directory for current file
|
char directory_[1024]; // Directory for current file
|
||||||
char filename_[1024]; // Current filename
|
char filename_[1024]; // Current filename
|
||||||
int topline_, // Top line in document
|
int topline_, // Top line in document
|
||||||
size_; // Total document length
|
leftline_, // Lefthand position
|
||||||
Fl_Scrollbar scrollbar_; // Vertical scrollbar for document
|
size_, // Total document length
|
||||||
|
hsize_; // Maximum document width
|
||||||
|
Fl_Scrollbar scrollbar_, // Vertical scrollbar for document
|
||||||
|
hscrollbar_; // Horizontal scrollbar
|
||||||
|
|
||||||
Fl_Help_Block *add_block(const char *s, int xx, int yy, int ww, int hh, uchar border = 0);
|
Fl_Help_Block *add_block(const char *s, int xx, int yy, int ww, int hh, uchar border = 0);
|
||||||
static int compare_blocks(const void *a, const void *b);
|
static int compare_blocks(const void *a, const void *b);
|
||||||
@ -142,6 +145,7 @@ class Fl_Help_View : public Fl_Group //// Help viewer widget
|
|||||||
const char *get_attr(const char *p, const char *n, char *buf, int bufsize);
|
const char *get_attr(const char *p, const char *n, char *buf, int bufsize);
|
||||||
Fl_Color get_color(const char *n, Fl_Color c);
|
Fl_Color get_color(const char *n, Fl_Color c);
|
||||||
Fl_Shared_Image *get_image(const char *name, int W, int H);
|
Fl_Shared_Image *get_image(const char *name, int W, int H);
|
||||||
|
int get_length(const char *l);
|
||||||
int handle(int);
|
int handle(int);
|
||||||
|
|
||||||
void initfont(uchar &f, uchar &s) { nfonts_ = 0;
|
void initfont(uchar &f, uchar &s) { nfonts_ = 0;
|
||||||
@ -176,6 +180,8 @@ class Fl_Help_View : public Fl_Group //// Help viewer widget
|
|||||||
void topline(const char *n);
|
void topline(const char *n);
|
||||||
void topline(int);
|
void topline(int);
|
||||||
int topline() const { return (topline_); }
|
int topline() const { return (topline_); }
|
||||||
|
void leftline(int);
|
||||||
|
int leftline() const { return (leftline_); }
|
||||||
void value(const char *v);
|
void value(const char *v);
|
||||||
const char *value() const { return (value_); }
|
const char *value() const { return (value_); }
|
||||||
};
|
};
|
||||||
@ -183,5 +189,5 @@ class Fl_Help_View : public Fl_Group //// Help viewer widget
|
|||||||
#endif // !Fl_Help_View_H
|
#endif // !Fl_Help_View_H
|
||||||
|
|
||||||
//
|
//
|
||||||
// End of "$Id: Fl_Help_View.H,v 1.1.2.4 2001/11/24 02:46:19 easysw Exp $".
|
// End of "$Id: Fl_Help_View.H,v 1.1.2.5 2001/11/24 04:12:56 easysw Exp $".
|
||||||
//
|
//
|
||||||
|
@ -49,4 +49,5 @@ Fl_Value_Slider::textfont() const
|
|||||||
<H4><A name=Fl_Value_Slider.textsize>uchar Fl_Value_Slider::textsize()
|
<H4><A name=Fl_Value_Slider.textsize>uchar Fl_Value_Slider::textsize()
|
||||||
const
|
const
|
||||||
<BR> void Fl_Value_Slider::textsize(uchar)</A></H4>
|
<BR> void Fl_Value_Slider::textsize(uchar)</A></H4>
|
||||||
Gets or sets the size of the text in the value box. </BODY></HTML>
|
Gets or sets the size of the text in the value box.
|
||||||
|
</BODY></HTML>
|
||||||
|
1304
src/Fl_Help_View.cxx
1304
src/Fl_Help_View.cxx
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user