From 582447c16482d8ff57ae61ab21d052d9243d7d5d Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sun, 18 Jun 2006 15:53:26 +0000 Subject: 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 --- src/Fl_Help_View.cxx | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'src/Fl_Help_View.cxx') 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. -- cgit v1.2.3