summaryrefslogtreecommitdiff
path: root/src/Fl_Help_View.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2006-06-18 15:53:26 +0000
committerMatthias Melcher <fltk@matthiasm.com>2006-06-18 15:53:26 +0000
commit582447c16482d8ff57ae61ab21d052d9243d7d5d (patch)
treea61db422fabddc47550f9680380fa961d296f8c2 /src/Fl_Help_View.cxx
parentbaeafbea45cc47aaaab2bca6e55ca9f63c307d0e (diff)
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
Diffstat (limited to 'src/Fl_Help_View.cxx')
-rw-r--r--src/Fl_Help_View.cxx28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/Fl_Help_View.cxx b/src/Fl_Help_View.cxx
index 68c893ad3..1fa9488ae 100644
--- a/src/Fl_Help_View.cxx
+++ b/src/Fl_Help_View.cxx
@@ -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.