2 * (c) 2010 Technische Universität Dresden
3 * This file is part of TUD:OS and distributed under the terms of the
4 * GNU General Public License 2.
5 * Please see the COPYING-GPL-2 file for details.
9 #include <l4/mag-gfx/canvas>
10 #include <l4/mag-gfx/clip_guard>
14 namespace Mag_server {
16 using namespace Mag_gfx;
18 class Background : public View
21 explicit Background(Area const &size) : View(Rect(Point(0,0), size)) {}
22 void draw(Canvas *c, View_stack const *, Mode, bool) const
24 Clip_guard g(c, *this);
25 c->draw_box(*this, Rgb32::Color(25, 37, 50));