--- rxvt-unicode/src/scrollbar.h 2008/02/19 13:01:33 1.20 +++ rxvt-unicode/src/scrollbar.h 2008/11/05 14:43:54 1.23 @@ -46,7 +46,8 @@ STATE_DOWN, }; -struct scrollBar_t { +struct scrollBar_t +{ rxvt_term *term; char state; /* scrollbar state */ char init; /* scrollbar has been initialised */ @@ -60,14 +61,11 @@ int last_bot; /* scrollbar last bottom position */ int last_top; /* scrollbar last top position */ int last_state; /* scrollbar last state */ - int len; unsigned char align; Window win; Cursor leftptr_cursor; int (scrollBar_t::*update)(int); void setup (rxvt_term *); - // update style dependent data - void update_data (); void resize (); int map (int); int show (int); @@ -130,6 +128,10 @@ GC pscrollbarGC; #endif +private: + // update style dependent data + void update_data (); + // scrollbar-next.C int show_next (int); // scrollbar-rxvt.C @@ -139,7 +141,6 @@ // scrollbar-plain.C int show_plain (int); -private: void init_next (); };