3394be9464
This patch integrate the scout widgets with Genode's new API headers 'util/geometry.h', 'os/surface.h' and 'os/texture.h'. Thereby, we get almost rid of the platform-abstraction shim that was never used anyway. Furthermore, it extracts the parts that are worth reusing from the scout implementation to the public location 'demo/include/scout'.
26 lines
537 B
C++
26 lines
537 B
C++
/*
|
|
* \brief Basic types used by scout widgets
|
|
* \date 2013-12-31
|
|
* \author Norman Feske
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2013 Genode Labs GmbH
|
|
*
|
|
* This file is part of the Genode OS framework, which is distributed
|
|
* under the terms of the GNU General Public License version 2.
|
|
*/
|
|
|
|
#ifndef _INCLUDE__SCOUT__TYPES_H_
|
|
#define _INCLUDE__SCOUT__TYPES_H_
|
|
|
|
#include <util/geometry.h>
|
|
|
|
namespace Scout {
|
|
typedef Genode::Point<> Point;
|
|
typedef Genode::Area<> Area;
|
|
typedef Genode::Rect<> Rect;
|
|
}
|
|
|
|
#endif /* _INCLUDE__SCOUT__TYPES_H_ */
|