src/widget.cpp
changeset 10238 5076964d81a1
parent 10208 72c00af5c95d
equal deleted inserted replaced
10237:c55922dabb25 10238:5076964d81a1
   202 }
   202 }
   203 
   203 
   204 
   204 
   205 /**
   205 /**
   206  * Paint all widgets of a window.
   206  * Paint all widgets of a window.
   207  * @param w Window
       
   208  */
   207  */
   209 void Window::DrawWidgets() const
   208 void Window::DrawWidgets() const
   210 {
   209 {
   211 	const DrawPixelInfo* dpi = _cur_dpi;
   210 	const DrawPixelInfo* dpi = _cur_dpi;
   212 
   211 
   614 	w->height += delta_y;
   613 	w->height += delta_y;
   615 	w->resize.width  += delta_x;
   614 	w->resize.width  += delta_x;
   616 	w->resize.height += delta_y;
   615 	w->resize.height += delta_y;
   617 }
   616 }
   618 
   617 
   619 /** Draw a sort button's up or down arrow symbol.
   618 /**
   620  * @param w Window of widget
   619  * Draw a sort button's up or down arrow symbol.
   621  * @param widget Sort button widget
   620  * @param widget Sort button widget
   622  * @param state State of sort button
   621  * @param state State of sort button
   623  */
   622  */
   624 void Window::DrawSortButtonState(int widget, SortButtonState state) const
   623 void Window::DrawSortButtonState(int widget, SortButtonState state) const
   625 {
   624 {