"box[1,22.5;4,1;#a00a]"..\r
"scroll_container_end[]"..\r
"scrollbaroptions[max=170]".. -- lowest seen pos is: 0.1*170+6=23 (factor*max+height)\r
- "scrollbar[7.5,0;0.3,4;vertical;scrbar;0]"..\r
+ "scrollbar[7.5,0;0.3,4;vertical;scrbar;20]"..\r
"scrollbar[8,0;0.3,4;vertical;scrbarhmmm;0]"..\r
"dropdown[0,6;2;hmdrpdwnnn;apple,bulb;1]",\r
}\r
updateScrolling();
}
- inline void setScrollBar(GUIScrollBar *scrollbar) { m_scrollbar = scrollbar; }
+ inline void setScrollBar(GUIScrollBar *scrollbar)
+ {
+ m_scrollbar = scrollbar;
+ updateScrolling();
+ }
private:
enum OrientationEnum