diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2010-04-25 18:10:15 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-05 17:17:47 +0100 |
commit | 1a8b5160d105b50f20cb3cc24443b1f41ac6c1af (patch) | |
tree | ce1bb575c9e934cd97858c6c5e2793c4427778ee /src/menu/container.cpp | |
parent | 647660014b2f506d19c4feedc06a45b514035d5b (diff) | |
download | usdx-1a8b5160d105b50f20cb3cc24443b1f41ac6c1af.tar.gz usdx-1a8b5160d105b50f20cb3cc24443b1f41ac6c1af.tar.xz usdx-1a8b5160d105b50f20cb3cc24443b1f41ac6c1af.zip |
added SDL_Surface* display to all repaint/draw methods
Diffstat (limited to 'src/menu/container.cpp')
-rw-r--r-- | src/menu/container.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/menu/container.cpp b/src/menu/container.cpp index 467e5aa5..edcd5e10 100644 --- a/src/menu/container.cpp +++ b/src/menu/container.cpp @@ -43,16 +43,16 @@ namespace usdx controls.clear(); } - void Container::repaint(void) const + void Container::repaint(SDL_Surface* display) const { if (get_visible()) { - draw(); + draw(display); for (std::list<DrawableControl*>::const_iterator it = controls.begin(); it != controls.end(); it++) { - (*it)->repaint(); + (*it)->repaint(display); } } } |