Converted global static variables into class static variables
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5207 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
baeafbea45
commit
582447c164
@ -133,6 +133,21 @@ class FL_EXPORT Fl_Help_View : public Fl_Group //// Help viewer widget
|
||||
Fl_Scrollbar scrollbar_, // Vertical scrollbar for document
|
||||
hscrollbar_; // Horizontal scrollbar
|
||||
|
||||
static int selection_first;
|
||||
static int selection_last;
|
||||
static int selection_push_first;
|
||||
static int selection_push_last;
|
||||
static int selection_drag_first;
|
||||
static int selection_drag_last;
|
||||
static int selected;
|
||||
static int draw_mode;
|
||||
static int mouse_x;
|
||||
static int mouse_y;
|
||||
static int current_pos;
|
||||
static Fl_Help_View *current_view;
|
||||
static Fl_Color hv_selection_color;
|
||||
static Fl_Color hv_selection_text_color;
|
||||
|
||||
Fl_Help_Block *add_block(const char *s, int xx, int yy, int ww, int hh, uchar border = 0);
|
||||
void add_link(const char *n, int xx, int yy, int ww, int hh);
|
||||
void add_target(const char *n, int yy);
|
||||
|
@ -173,20 +173,20 @@ fl_line()
|
||||
img->draw()
|
||||
*/
|
||||
|
||||
static int selection_first = 0;
|
||||
static int selection_last = 0;
|
||||
static int selection_push_first = 0;
|
||||
static int selection_push_last = 0;
|
||||
static int selection_drag_first = 0;
|
||||
static int selection_drag_last = 0;
|
||||
static int selected = 0;
|
||||
static int draw_mode = 0;
|
||||
static int mouse_x = 0;
|
||||
static int mouse_y = 0;
|
||||
static int current_pos = 0;
|
||||
static Fl_Help_View *current_view = 0L;
|
||||
Fl_Color hv_selection_color;
|
||||
Fl_Color hv_selection_text_color;
|
||||
int Fl_Help_View::selection_first = 0;
|
||||
int Fl_Help_View::selection_last = 0;
|
||||
int Fl_Help_View::selection_push_first = 0;
|
||||
int Fl_Help_View::selection_push_last = 0;
|
||||
int Fl_Help_View::selection_drag_first = 0;
|
||||
int Fl_Help_View::selection_drag_last = 0;
|
||||
int Fl_Help_View::selected = 0;
|
||||
int Fl_Help_View::draw_mode = 0;
|
||||
int Fl_Help_View::mouse_x = 0;
|
||||
int Fl_Help_View::mouse_y = 0;
|
||||
int Fl_Help_View::current_pos = 0;
|
||||
Fl_Help_View *Fl_Help_View::current_view = 0L;
|
||||
Fl_Color Fl_Help_View::hv_selection_color;
|
||||
Fl_Color Fl_Help_View::hv_selection_text_color;
|
||||
|
||||
/*
|
||||
* Limitation: if a word contains &code; notations, we will calculate a wrong length.
|
||||
|
Loading…
Reference in New Issue
Block a user