2011-07-20 10:33:24 +02:00
|
|
|
/**
|
|
|
|
* @author Edouard DUPIN
|
2012-11-25 11:55:06 +01:00
|
|
|
*
|
|
|
|
* @copyright 2010, Edouard DUPIN, all right reserved
|
|
|
|
*
|
|
|
|
* @license GPL v3 (see license file)
|
2011-07-20 10:33:24 +02:00
|
|
|
*/
|
2012-11-25 11:55:06 +01:00
|
|
|
|
2011-07-20 10:33:24 +02:00
|
|
|
#ifndef __SEARCH_H__
|
|
|
|
#define __SEARCH_H__
|
|
|
|
|
2012-04-23 10:15:43 +02:00
|
|
|
#include <appl/Debug.h>
|
2013-03-22 21:26:06 +01:00
|
|
|
#include <ewol/widget/Sizer.h>
|
2012-07-17 13:25:33 +02:00
|
|
|
#include <ewol/widget/Entry.h>
|
2011-07-20 10:33:24 +02:00
|
|
|
|
2013-03-22 21:26:06 +01:00
|
|
|
class Search : public widget::Sizer
|
2011-07-20 10:33:24 +02:00
|
|
|
{
|
|
|
|
private:
|
2013-10-09 22:00:24 +02:00
|
|
|
bool m_forward;
|
2012-11-25 11:55:06 +01:00
|
|
|
widget::Entry * m_searchEntry;
|
|
|
|
widget::Entry * m_replaceEntry;
|
2013-05-12 21:08:31 +02:00
|
|
|
public:
|
|
|
|
// Constructeur
|
|
|
|
Search(void);
|
|
|
|
~Search(void);
|
|
|
|
public: // derived function
|
2013-10-07 22:04:21 +02:00
|
|
|
virtual const char * const getObjectType(void) { return "ApplSearch"; };
|
|
|
|
virtual void onReceiveMessage(const ewol::EMessage& _msg);
|
|
|
|
virtual void onObjectRemove(ewol::EObject * _removeObject);
|
2011-07-20 10:33:24 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|