Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/window.cc')
-rw-r--r--src/ui/window.cc7
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)