146 {
147 if ( entry )
148 {
150 float x_s, y_s;
151 float x_l, y_l;
152
153 Widget root = entry.GetRoot();
154 Widget first_child = root.GetParent().GetChildren();
155 Widget last_child = first_child;
156 while ( last_child )
157 {
158 if ( last_child.GetSibling() )
159 last_child = last_child.GetSibling();
160 else
161 break;
162 }
163
164 root.GetParent().Update();
165 root.Update();
166
169
170 float bottom_pos =
y + y_s;
171
172 root.GetScreenPos( x_l, y_l );
173 root.GetScreenSize( x_s, y_s );
174
175 if ( root == first_child )
176 {
178 }
179 else if ( root == last_child )
180 {
182 }
183 else if ( y_l + y_s >= bottom_pos )
184 {
186 }
188 {
190 }
191 }
192 }
ScrollWidget m_ServerListScroller