From 1dc0af3248ba5196ba77413a0140c5a28399cc00 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 7 Apr 2008 20:28:58 +0000 Subject: (svn r12619) -Codechange: lots of documentation about window related stuff. Patch by Alberth. --- src/widget.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/widget.cpp') diff --git a/src/widget.cpp b/src/widget.cpp index bca66bdc5..38bfe98d3 100644 --- a/src/widget.cpp +++ b/src/widget.cpp @@ -186,6 +186,10 @@ void DrawFrameRect(int left, int top, int right, int bottom, int ctab, FrameFlag } +/** + * Paint all widgets of a window. + * @param w Window + */ void DrawWindowWidgets(const Window *w) { const DrawPixelInfo* dpi = _cur_dpi; @@ -569,6 +573,7 @@ void ResizeButtons(Window *w, byte left, byte right) } } +/** Resize a widget and shuffle other widgets around to fit. */ void ResizeWindowForWidget(Window *w, int widget, int delta_x, int delta_y) { int right = w->widget[widget].right; -- cgit v1.2.3-54-g00ecf