edn/sources/appl/global.h

58 lines
1.1 KiB
C
Raw Normal View History

/**
* @author Edouard DUPIN
2012-11-25 11:55:06 +01:00
*
* @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file)
*/
2012-11-25 11:55:06 +01:00
#ifndef __TOOLS_GLOBALS_H__
#define __TOOLS_GLOBALS_H__
2013-10-25 20:49:26 +02:00
#include <appl/debug.h>
#include <ewol/widget/Sizer.h>
namespace globals
{
void init();
void UnInit();
int32_t getNbColoneBorder();
int32_t getNbLineBorder();
bool isSetDisplayEndOfLine();
2013-10-09 22:00:24 +02:00
void setDisplayEndOfLine(bool _newVal);
bool isSetDisplaySpaceChar();
2013-10-09 22:00:24 +02:00
void setDisplaySpaceChar(bool _newVal);
bool isSetDisplayTabChar();
2013-10-09 22:00:24 +02:00
void setDisplayTabChar(bool _newVal);
2012-07-23 17:21:44 +02:00
bool isSetAutoIndent();
2013-10-09 22:00:24 +02:00
void setAutoIndent(bool _newVal);
void init2();
2012-07-23 17:21:44 +02:00
bool OrderTheBufferList();
2012-07-23 17:21:44 +02:00
2013-12-13 21:50:40 +01:00
class ParameterGlobalsGui : public ewol::widget::Sizer {
protected:
ParameterGlobalsGui();
void init();
public:
DECLARE_FACTORY(ParameterGlobalsGui);
virtual ~ParameterGlobalsGui();
void onCallbackEndOfLine(const bool& _value);
void onCallbackIndentation(const bool& _value);
void onCallbackSpace(const bool& _value);
void onCallbackTabulation(const bool& _value);
void onCallbackRounded(const bool& _value);
2012-07-23 17:21:44 +02:00
};
}
#endif