edn/sources/appl/global.hpp

51 lines
1.1 KiB
C++
Raw Normal View History

2016-05-02 22:01:55 +02:00
/** @file
* @author Edouard DUPIN
2012-11-25 11:55:06 +01:00
* @copyright 2010, Edouard DUPIN, all right reserved
* @license GPL v3 (see license file)
*/
2016-05-02 22:01:55 +02:00
#pragma once
2016-10-03 22:01:55 +02:00
#include <appl/debug.hpp>
#include <ewol/widget/Composer.hpp>
2016-05-02 22:01:55 +02:00
namespace globals {
void init();
void UnInit();
void store();
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
class ParameterGlobalsGui : public ewol::widget::Composer {
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
};
}