48 lines
1008 B
C
48 lines
1008 B
C
|
/**
|
||
|
* @author Edouard DUPIN
|
||
|
*
|
||
|
* @copyright 2010, Edouard DUPIN, all right reserved
|
||
|
*
|
||
|
* @license BSD v3 (see license file)
|
||
|
*/
|
||
|
|
||
|
#ifndef __TEST_LABEL_H__
|
||
|
#define __TEST_LABEL_H__
|
||
|
|
||
|
#include <appl/debug.h>
|
||
|
#include <ewol/widget/Widget.h>
|
||
|
#include <ewol/widget/Button.h>
|
||
|
#include <ewol/widget/Label.h>
|
||
|
#include <ewol/widget/Spacer.h>
|
||
|
#include <ewol/widget/Composer.h>
|
||
|
|
||
|
namespace appl {
|
||
|
class TestLabel : public ewol::widget::Composer {
|
||
|
private:
|
||
|
std::shared_ptr<ewol::widget::Label> m_testWidget;
|
||
|
int32_t m_labelId;
|
||
|
public:
|
||
|
/**
|
||
|
* @brief Constructeur
|
||
|
*/
|
||
|
TestLabel();
|
||
|
void init();
|
||
|
public:
|
||
|
DECLARE_FACTORY(TestLabel);
|
||
|
/**
|
||
|
* @brief Destructor
|
||
|
*/
|
||
|
virtual ~TestLabel() {};
|
||
|
protected:
|
||
|
void onCallbackExpendX(const bool& _value);
|
||
|
void onCallbackExpendY(const bool& _value);
|
||
|
void onCallbackFillX(const bool& _value);
|
||
|
void onCallbackFillY(const bool& _value);
|
||
|
void onCallbackMaxSize(const bool& _value);
|
||
|
void onCallbackChangeLabel();
|
||
|
};
|
||
|
};
|
||
|
|
||
|
#endif
|
||
|
|