42 lines
768 B
C++
42 lines
768 B
C++
/**
|
|
* @author Edouard DUPIN
|
|
*
|
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
|
*
|
|
* @license APACHE v2.0 (see license file)
|
|
*/
|
|
|
|
#ifndef __EWOL_LAYER_H__
|
|
#define __EWOL_LAYER_H__
|
|
|
|
#include <etk/types.h>
|
|
#include <ewol/debug.h>
|
|
#include <ewol/widget/ContainerN.h>
|
|
#include <ewol/widget/Manager.h>
|
|
|
|
namespace ewol {
|
|
namespace widget {
|
|
/**
|
|
* @ingroup ewolWidgetGroup
|
|
*/
|
|
class Layer : public ewol::widget::ContainerN {
|
|
protected:
|
|
/**
|
|
* @brief Constructor
|
|
*/
|
|
Layer();
|
|
void init();
|
|
public:
|
|
DECLARE_WIDGET_FACTORY(Layer, "Layer");
|
|
/**
|
|
* @brief Desstructor
|
|
*/
|
|
virtual ~Layer();
|
|
public: // Derived function
|
|
virtual std::shared_ptr<ewol::Widget> getWidgetAtPos(const vec2& _pos);
|
|
};
|
|
};
|
|
};
|
|
|
|
#endif
|