diff options
author | Stijn Buys <ingar@osirion.org> | 2008-10-08 18:28:21 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-10-08 18:28:21 +0000 |
commit | 4331f5c17901f46693dcb5c2df96276f6851be25 (patch) | |
tree | 903f70d18c7842121c5409a5ec121e0a565fd5ef /src/ui/window.cc | |
parent | e3b810e1fe8ced1e0245f8d999bdc9136cfcdc70 (diff) |
libui updates, paint namespace, font and palette fixes, button sound
Diffstat (limited to 'src/ui/window.cc')
-rw-r--r-- | src/ui/window.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ui/window.cc b/src/ui/window.cc index 60fbf56..b18348b 100644 --- a/src/ui/window.cc +++ b/src/ui/window.cc @@ -4,8 +4,8 @@ the terms of the GNU General Public License version 2 */ +#include "ui/paint.h" #include "ui/window.h" -#include "render/primitives.h" namespace ui { @@ -29,9 +29,8 @@ void Window::draw_border() if (!border()) return; - if (palette()) - render::gl::color(palette()->foreground()); - render::primitives::border(global_location(), size()); + paint::color(palette()->foreground()); + paint::border(global_location(), size()); } Window::Windows::iterator Window::find_window(Window *window) |