edn/sources/appl/global.h

52 lines
949 B
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__
2012-04-23 10:15:43 +02:00
#include <appl/Debug.h>
#include <ewol/widget/Sizer.h>
namespace globals
{
2013-10-07 22:04:21 +02:00
void init(void);
2013-05-28 22:09:53 +02:00
void UnInit(void);
2013-10-09 22:00:24 +02:00
int32_t getNbColoneBorder(void);
int32_t getNbLineBorder(void);
2013-10-09 22:00:24 +02:00
bool isSetDisplayEndOfLine(void);
void setDisplayEndOfLine(bool _newVal);
2013-10-09 22:00:24 +02:00
bool isSetDisplaySpaceChar(void);
void setDisplaySpaceChar(bool _newVal);
2013-10-09 22:00:24 +02:00
bool isSetDisplayTabChar(void);
void setDisplayTabChar(bool _newVal);
2012-07-23 17:21:44 +02:00
2013-10-09 22:00:24 +02:00
bool isSetAutoIndent(void);
void setAutoIndent(bool _newVal);
2013-10-09 22:00:24 +02:00
void init2(void);
2012-07-23 17:21:44 +02:00
2013-10-09 22:00:24 +02:00
bool OrderTheBufferList(void);
2012-07-23 17:21:44 +02:00
2013-10-09 22:00:24 +02:00
class ParameterGlobalsGui : public widget::Sizer {
2012-07-23 17:21:44 +02:00
public :
ParameterGlobalsGui(void);
~ParameterGlobalsGui(void);
// herited function
2013-10-07 22:04:21 +02:00
virtual void onReceiveMessage(const ewol::EMessage& _msg);
2012-07-23 17:21:44 +02:00
};
}
#endif