mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 15:02:25 +00:00
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'.
25 lines
538 B
C++
25 lines
538 B
C++
/*
|
|
* \brief Misc math functions used here and there
|
|
* \date 2005-10-24
|
|
* \author Norman Feske <norman.feske@genode-labs.com>
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2005-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__MISC_MATH_H_
|
|
#define _INCLUDE__SCOUT__MISC_MATH_H_
|
|
|
|
#include <util/misc_math.h>
|
|
|
|
namespace Scout {
|
|
using Genode::min;
|
|
using Genode::max;
|
|
}
|
|
|
|
#endif /* _INCLUDE__SCOUT__MISC_MATH_H_ */
|