--- rxvt-unicode/src/scrollbar.h 2008/02/19 17:49:16 1.21 +++ 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 */ @@ -65,8 +66,6 @@ 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); @@ -129,6 +128,10 @@ GC pscrollbarGC; #endif +private: + // update style dependent data + void update_data (); + // scrollbar-next.C int show_next (int); // scrollbar-rxvt.C @@ -138,7 +141,6 @@ // scrollbar-plain.C int show_plain (int); -private: void init_next (); };