2013-10-21 21:47:28 +02:00
|
|
|
/**
|
|
|
|
* @author Edouard DUPIN
|
|
|
|
*
|
|
|
|
* @copyright 2010, Edouard DUPIN, all right reserved
|
|
|
|
*
|
|
|
|
* @license GPL v3 (see license file)
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __APPL_TEXT_PLUGIN_MULTI_LINE_TAB_H__
|
|
|
|
#define __APPL_TEXT_PLUGIN_MULTI_LINE_TAB_H__
|
|
|
|
|
|
|
|
#include <etk/types.h>
|
2013-12-13 21:50:40 +01:00
|
|
|
#include <ewol/object/Object.h>
|
2013-10-21 21:47:28 +02:00
|
|
|
#include <appl/Gui/TextViewer.h>
|
|
|
|
#include <ewol/compositing/Text.h>
|
2013-10-28 21:47:51 +01:00
|
|
|
#include <appl/TextPlugin.h>
|
2013-10-21 21:47:28 +02:00
|
|
|
|
|
|
|
namespace appl {
|
|
|
|
class TextPluginMultiLineTab : public appl::TextViewerPlugin {
|
2014-08-07 23:41:48 +02:00
|
|
|
protected:
|
2014-05-15 21:37:39 +02:00
|
|
|
TextPluginMultiLineTab();
|
2014-08-07 23:41:48 +02:00
|
|
|
void init();
|
|
|
|
public:
|
|
|
|
DECLARE_FACTORY(TextPluginMultiLineTab);
|
2014-05-27 21:43:02 +02:00
|
|
|
virtual ~TextPluginMultiLineTab() {
|
2013-10-21 21:47:28 +02:00
|
|
|
// nothing to do ...
|
|
|
|
};
|
|
|
|
public:
|
|
|
|
virtual bool onEventEntry(appl::TextViewer& _textDrawer,
|
2013-12-13 21:50:40 +01:00
|
|
|
const ewol::event::Entry& _event);
|
2013-10-21 21:47:28 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2013-10-21 22:11:16 +02:00
|
|
|
#endif
|
|
|
|
|