[DEV] some custum code fix (rm __class__ and add @file

This commit is contained in:
Edouard DUPIN 2016-04-19 22:46:06 +02:00
parent 43c46cddd5
commit f5a50d26a6
180 changed files with 182 additions and 443 deletions

View File

@ -138,9 +138,6 @@ See [tutorial[010_ObjectModel | Next: Object model]] to understand why this stru
#include <appl/Windows.h> #include <appl/Windows.h>
#include <ewol/widget/Label.h> #include <ewol/widget/Label.h>
#undef __class__
#define __class__ "Windows"
appl::Windows::Windows() { appl::Windows::Windows() {
addObjectType("appl::Windows"); addObjectType("appl::Windows");
propertyTitle.setDirectCheck(std::string("sample ") + PROJECT_NAME); propertyTitle.setDirectCheck(std::string("sample ") + PROJECT_NAME);

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -9,9 +9,6 @@
#include <ewol/DrawProperty.h> #include <ewol/DrawProperty.h>
#include <ewol/debug.h> #include <ewol/debug.h>
#undef __class__
#define __class__ "DrawProperty"
std::ostream& ewol::operator <<(std::ostream& _os, const ewol::DrawProperty& _obj) { std::ostream& ewol::operator <<(std::ostream& _os, const ewol::DrawProperty& _obj) {
_os << "{ windowsSize=" << _obj.m_windowsSize << " start=" << _obj.m_origin << " stop=" << (_obj.m_origin+_obj.m_size) << "}"; _os << "{ windowsSize=" << _obj.m_windowsSize << " start=" << _obj.m_origin << " stop=" << (_obj.m_origin+_obj.m_size) << "}";
return _os; return _os;

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -9,9 +9,6 @@
#include <ewol/debug.h> #include <ewol/debug.h>
#include <ewol/compositing/Area.h> #include <ewol/compositing/Area.h>
#undef __class__
#define __class__ "ewol::compositing::Area"
ewol::compositing::Area::Area(const ivec2& _size) : ewol::compositing::Area::Area(const ivec2& _size) :
m_position(0.0, 0.0, 0.0), m_position(0.0, 0.0, 0.0),
m_color(etk::color::white), m_color(etk::color::white),

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -9,9 +9,6 @@
#include <ewol/debug.h> #include <ewol/debug.h>
#include <ewol/compositing/Image.h> #include <ewol/compositing/Image.h>
#undef __class__
#define __class__ "ewol::compositing::Image"
const int32_t ewol::compositing::Image::sizeAuto(0); const int32_t ewol::compositing::Image::sizeAuto(0);
ewol::compositing::Image::Image(const std::string& _imageName, ewol::compositing::Image::Image(const std::string& _imageName,

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -10,9 +10,6 @@
#include <ewol/debug.h> #include <ewol/debug.h>
#include <ewol/compositing/Shaper.h> #include <ewol/compositing/Shaper.h>
#undef __class__
#define __class__ "ewol::compositing::Shaper"
ewol::compositing::Shaper::Shaper(const std::string& _shaperName) : ewol::compositing::Shaper::Shaper(const std::string& _shaperName) :
m_name(_shaperName), m_name(_shaperName),
m_config(nullptr), m_config(nullptr),

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -9,9 +9,6 @@
#include <ewol/debug.h> #include <ewol/debug.h>
#include <ewol/compositing/Sprite.h> #include <ewol/compositing/Sprite.h>
#undef __class__
#define __class__ "ewol::compositing::Sprite"
ewol::compositing::Sprite::Sprite(const std::string& _imageName, const ivec2& _nbSprite, int32_t _size) : ewol::compositing::Sprite::Sprite(const std::string& _imageName, const ivec2& _nbSprite, int32_t _size) :
ewol::compositing::Image(_imageName, false, _size), ewol::compositing::Image(_imageName, false, _size),
m_nbSprite(_nbSprite), m_nbSprite(_nbSprite),

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -11,16 +11,11 @@
#include <ewol/context/Context.h> #include <ewol/context/Context.h>
#include <etk/types.h> #include <etk/types.h>
#undef __class__
#define __class__ "ewol::compositing::Text"
ewol::compositing::Text::Text(const std::string& _fontName, int32_t _fontSize) : ewol::compositing::Text::Text(const std::string& _fontName, int32_t _fontSize) :
m_font(nullptr) { m_font(nullptr) {
setFont(_fontName, _fontSize); setFont(_fontName, _fontSize);
} }
ewol::compositing::Text::~Text() { ewol::compositing::Text::~Text() {
} }

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -11,10 +11,6 @@
#include <ewol/context/Context.h> #include <ewol/context/Context.h>
#include <etk/types.h> #include <etk/types.h>
#undef __class__
#define __class__ "ewol::compositing::TextBase"
ewol::compositing::TextBase::TextBase(const std::string& _shaderName, bool _loadProgram) : ewol::compositing::TextBase::TextBase(const std::string& _shaderName, bool _loadProgram) :
m_position(0.0, 0.0, 0.0), m_position(0.0, 0.0, 0.0),
m_clippingPosStart(0.0, 0.0, 0.0), m_clippingPosStart(0.0, 0.0, 0.0),

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -11,10 +11,6 @@
#include <ewol/context/Context.h> #include <ewol/context/Context.h>
#include <etk/types.h> #include <etk/types.h>
#undef __class__
#define __class__ "ewol::compositing::TextDF"
ewol::compositing::TextDF::TextDF(const std::string& _fontName, int32_t _fontSize) : ewol::compositing::TextDF::TextDF(const std::string& _fontName, int32_t _fontSize) :
ewol::compositing::TextBase("", false), ewol::compositing::TextBase("", false),
m_fontDF(nullptr), m_fontDF(nullptr),
@ -24,7 +20,6 @@ ewol::compositing::TextDF::TextDF(const std::string& _fontName, int32_t _fontSiz
loadProgram("{ewol}DATA:fontDistanceField/font1.prog"); loadProgram("{ewol}DATA:fontDistanceField/font1.prog");
} }
ewol::compositing::TextDF::~TextDF() { ewol::compositing::TextDF::~TextDF() {
} }
@ -36,7 +31,6 @@ void ewol::compositing::TextDF::updateSizeToRender(const vec2& _size) {
} }
} }
void ewol::compositing::TextDF::drawMT(const mat4& _transformationMatrix, bool _enableDepthTest) { void ewol::compositing::TextDF::drawMT(const mat4& _transformationMatrix, bool _enableDepthTest) {
// draw BG in any case: // draw BG in any case:

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -9,9 +9,6 @@
#include <ewol/context/ConfigFont.h> #include <ewol/context/ConfigFont.h>
#include <ewol/resource/FontFreeType.h> #include <ewol/resource/FontFreeType.h>
#undef __class__
#define __class__ "context::ConfigFont"
ewol::context::ConfigFont::ConfigFont() : ewol::context::ConfigFont::ConfigFont() :
m_folder("{ewol}DATA:fonts"), m_folder("{ewol}DATA:fonts"),
m_name("Arial;Helvetica"), m_name("Arial;Helvetica"),

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -31,9 +31,6 @@
#include <ewol/context/Context.h> #include <ewol/context/Context.h>
#undef __class__
#define __class__ "Context"
static ewol::Context* l_curentInterface=nullptr; static ewol::Context* l_curentInterface=nullptr;
ewol::Context& ewol::getContext() { ewol::Context& ewol::getContext() {
gale::Context& context = gale::getContext(); gale::Context& context = gale::getContext();

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -8,9 +8,6 @@
#include <ewol/widget/Widget.h> #include <ewol/widget/Widget.h>
#undef __class__
#define __class__ "event::Entry"
std::ostream& ewol::event::operator <<(std::ostream& _os, const ewol::event::Entry& _obj) { std::ostream& ewol::event::operator <<(std::ostream& _os, const ewol::event::Entry& _obj) {
_os << "{type=" << _obj.getType(); _os << "{type=" << _obj.getType();
_os << " status=" << _obj.getStatus(); _os << " status=" << _obj.getStatus();

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -8,9 +8,6 @@
#include <ewol/widget/Widget.h> #include <ewol/widget/Widget.h>
#undef __class__
#define __class__ "event::Input"
std::ostream& ewol::event::operator <<(std::ostream& _os, const ewol::event::Input& _obj) { std::ostream& ewol::event::operator <<(std::ostream& _os, const ewol::event::Input& _obj) {
_os << "{type=" << _obj.getType(); _os << "{type=" << _obj.getType();
_os << " status=" << _obj.getStatus(); _os << " status=" << _obj.getStatus();

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -8,9 +8,6 @@
#include <ewol/widget/Widget.h> #include <ewol/widget/Widget.h>
#undef __class__
#define __class__ "event::Time"
std::ostream& ewol::event::operator <<(std::ostream& _os, const ewol::event::Time& _obj) { std::ostream& ewol::event::operator <<(std::ostream& _os, const ewol::event::Time& _obj) {
_os << "{time=" << _obj.getTime(); _os << "{time=" << _obj.getTime();
_os << " uptime=" << _obj.getApplUpTime(); _os << " uptime=" << _obj.getApplUpTime();

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -15,8 +15,6 @@
#include <etk/os/FSNode.h> #include <etk/os/FSNode.h>
#include <gale/Dimension.h> #include <gale/Dimension.h>
#undef __class__
#define __class__ "ewol"
#ifndef EWOL_VERSION #ifndef EWOL_VERSION
#define EWOL_VERSION "0.0.0" #define EWOL_VERSION "0.0.0"
#endif #endif

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -9,9 +9,6 @@
#include <ewol/debug.h> #include <ewol/debug.h>
#include <ewol/gravity.h> #include <ewol/gravity.h>
#undef __class__
#define __class__ "gravity"
std::string ewol::gravityToString(const enum ewol::gravity _obj) { std::string ewol::gravityToString(const enum ewol::gravity _obj) {
switch(_obj) { switch(_obj) {
case ewol::gravity_center: case ewol::gravity_center:

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -12,9 +12,6 @@
#include <etk/stdTools.h> #include <etk/stdTools.h>
#include <unistd.h> #include <unistd.h>
#undef __class__
#define __class__ "ewol::object::Manager"
ewol::object::Manager::Manager(ewol::Context& _context) : ewol::object::Manager::Manager(ewol::Context& _context) :
m_context(_context), m_context(_context),
periodicCall(this, "periodic", "Call every time system render"), periodicCall(this, "periodic", "Call every time system render"),

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -11,9 +11,6 @@
#include <ewol/debug.h> #include <ewol/debug.h>
#include <ewol/context/Context.h> #include <ewol/context/Context.h>
#undef __class__
#define __class__ "Object"
size_t ewol::Object::m_valUID = 0; size_t ewol::Object::m_valUID = 0;
void ewol::Object::autoDestroy() { void ewol::Object::autoDestroy() {

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -12,10 +12,6 @@
#include <ejson/ejson.h> #include <ejson/ejson.h>
#include <stdexcept> #include <stdexcept>
#undef __class__
#define __class__ "resource::ColorFile"
ewol::resource::ColorFile::ColorFile() : ewol::resource::ColorFile::ColorFile() :
gale::Resource(), gale::Resource(),
m_errorColor(etk::color::orange) { m_errorColor(etk::color::orange) {

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -12,10 +12,6 @@
#include <gale/renderer/openGL/openGL-include.h> #include <gale/renderer/openGL/openGL-include.h>
#include <esignal/ISignal.h> #include <esignal/ISignal.h>
#undef __class__
#define __class__ "resource::Colored3DObject"
ewol::resource::Colored3DObject::Colored3DObject() : ewol::resource::Colored3DObject::Colored3DObject() :
m_GLprogram(nullptr) { m_GLprogram(nullptr) {
addResourceType("ewol::Colored3DObject"); addResourceType("ewol::Colored3DObject");

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -15,10 +15,6 @@
#include <ejson/String.h> #include <ejson/String.h>
#include <stdexcept> #include <stdexcept>
#undef __class__
#define __class__ "resource::ConfigFile"
ewol::resource::ConfigFile::ConfigFile() : ewol::resource::ConfigFile::ConfigFile() :
gale::Resource() { gale::Resource() {
addResourceType("ewol::ConfigFile"); addResourceType("ewol::ConfigFile");

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -20,8 +20,6 @@
#include <edtaa3/edtaa3func.h> #include <edtaa3/edtaa3func.h>
#include <ejson/ejson.h> #include <ejson/ejson.h>
#undef __class__
#define __class__ "resource::DistanceFieldFont"
#define SIZE_GENERATION (30) #define SIZE_GENERATION (30)
ewol::resource::DistanceFieldFont::DistanceFieldFont() : ewol::resource::DistanceFieldFont::DistanceFieldFont() :

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -18,9 +18,6 @@
#include <ewol/resource/font/FontBase.h> #include <ewol/resource/font/FontBase.h>
#include <gale/resource/Manager.h> #include <gale/resource/Manager.h>
#undef __class__
#define __class__ "resource::FontFreeType"
// free Font hnadle of librairies ... entry for acces ... // free Font hnadle of librairies ... entry for acces ...
static int32_t l_countLoaded=0; static int32_t l_countLoaded=0;
static FT_Library library; static FT_Library library;

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -13,10 +13,6 @@
#include <ewol/resource/Image.h> #include <ewol/resource/Image.h>
#include <ewol/resource/Texture.h> #include <ewol/resource/Texture.h>
#undef __class__
#define __class__ "resource::TextureFile"
const ivec2 ewol::resource::TextureFile::sizeAuto(-1,-1); const ivec2 ewol::resource::TextureFile::sizeAuto(-1,-1);
const ivec2 ewol::resource::TextureFile::sizeDefault(0,0); const ivec2 ewol::resource::TextureFile::sizeDefault(0,0);

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -14,10 +14,6 @@
#include <ewol/resource/Texture.h> #include <ewol/resource/Texture.h>
#include <edtaa3/edtaa3func.h> #include <edtaa3/edtaa3func.h>
#undef __class__
#define __class__ "resource::TextureFile"
ewol::resource::ImageDF::ImageDF() { ewol::resource::ImageDF::ImageDF() {
addResourceType("ewol::resource::ImageDF"); addResourceType("ewol::resource::ImageDF");
} }

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -13,9 +13,6 @@
#include <gale/resource/Manager.h> #include <gale/resource/Manager.h>
#include <ewol/resource/Texture.h> #include <ewol/resource/Texture.h>
#undef __class__
#define __class__ "resource::Texture"
/** /**
* @brief get the next power 2 if the input * @brief get the next power 2 if the input
* @param[in] value Value that we want the next power of 2 * @param[in] value Value that we want the next power of 2
@ -33,7 +30,6 @@ static int32_t nextP2(int32_t _value) {
return val; return val;
} }
void ewol::resource::Texture::init(const std::string& _filename) { void ewol::resource::Texture::init(const std::string& _filename) {
gale::Resource::init(_filename); gale::Resource::init(_filename);
} }

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -39,9 +39,6 @@ std::ostream& ewol::operator <<(std::ostream& _os, enum ewol::font::mode _obj) {
return _os; return _os;
} }
#undef __class__
#define __class__ "resource::TexturedFont"
ewol::resource::TexturedFont::TexturedFont() { ewol::resource::TexturedFont::TexturedFont() {
addResourceType("ewol::resource::TexturedFont"); addResourceType("ewol::resource::TexturedFont");
} }

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -15,9 +15,6 @@
#include <ewol/widget/Manager.h> #include <ewol/widget/Manager.h>
#include <ewol/widget/meta/StdPopUp.h> #include <ewol/widget/meta/StdPopUp.h>
#undef __class__
#define __class__ "tools::message"
void ewol::tools::message::create(enum ewol::tools::message::type _type, const std::string& _message) { void ewol::tools::message::create(enum ewol::tools::message::type _type, const std::string& _message) {
ewol::widget::StdPopUpShared tmpPopUp = widget::StdPopUp::create(); ewol::widget::StdPopUpShared tmpPopUp = widget::StdPopUp::create();
if (tmpPopUp == nullptr) { if (tmpPopUp == nullptr) {

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -10,10 +10,6 @@
#include <ewol/ewol.h> #include <ewol/ewol.h>
#include <ewol/widget/Button.h> #include <ewol/widget/Button.h>
#undef __class__
#define __class__ "Button"
// DEFINE for the shader display system: // DEFINE for the shader display system:
const static int32_t STATUS_UP(0); const static int32_t STATUS_UP(0);
const static int32_t STATUS_HOVER(2); const static int32_t STATUS_HOVER(2);

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -21,10 +21,6 @@
#define STATUS_PRESSED (1) #define STATUS_PRESSED (1)
#define STATUS_DOWN (3) #define STATUS_DOWN (3)
#undef __class__
#define __class__ "ButtonColor"
ewol::widget::ButtonColor::ButtonColor() : ewol::widget::ButtonColor::ButtonColor() :
signalChange(this, "change", "Button color change value"), signalChange(this, "change", "Button color change value"),
propertyValue(this, "color", etk::color::black, "Current color", &ewol::widget::ButtonColor::onChangePropertyValue), propertyValue(this, "color", etk::color::black, "Current color", &ewol::widget::ButtonColor::onChangePropertyValue),

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -15,9 +15,6 @@
#define STATUS_PRESSED (1) #define STATUS_PRESSED (1)
#define STATUS_SELECTED (2) #define STATUS_SELECTED (2)
#undef __class__
#define __class__ "CheckBox"
ewol::widget::CheckBox::CheckBox() : ewol::widget::CheckBox::CheckBox() :
signalPressed(this, "pressed", "CheckBox is pressed"), signalPressed(this, "pressed", "CheckBox is pressed"),
signalDown(this, "down", "CheckBox is DOWN"), signalDown(this, "down", "CheckBox is DOWN"),

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -13,9 +13,6 @@
#include <etk/Color.h> #include <etk/Color.h>
#undef __class__
#define __class__ "ColorBar"
ewol::widget::ColorBar::ColorBar() : ewol::widget::ColorBar::ColorBar() :
signalChange(this, "change", "Color value change"), signalChange(this, "change", "Color value change"),
propertyValue(this, "color", propertyValue(this, "color",

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -13,9 +13,6 @@
#include <ewol/widget/Manager.h> #include <ewol/widget/Manager.h>
#include <ewol/context/Context.h> #include <ewol/context/Context.h>
#undef __class__
#define __class__ "ewol::widget::Composer"
ewol::widget::Composer::Composer() : ewol::widget::Composer::Composer() :
propertyRemoveIfUnderRemove(this, "remove-if-under-remove", true, "Demand the remove iof the widget if the subObject demand a remove") { propertyRemoveIfUnderRemove(this, "remove-if-under-remove", true, "Demand the remove iof the widget if the subObject demand a remove") {
addObjectType("ewol::widget::Composer"); addObjectType("ewol::widget::Composer");

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -11,11 +11,6 @@
#include <ewol/widget/Container.h> #include <ewol/widget/Container.h>
#include <ewol/widget/Manager.h> #include <ewol/widget/Manager.h>
#undef __class__
#define __class__ "Container"
ewol::widget::Container::Container() { ewol::widget::Container::Container() {
addObjectType("ewol::widget::Container"); addObjectType("ewol::widget::Container");
// nothing to do ... // nothing to do ...
@ -163,7 +158,7 @@ bool ewol::widget::Container::loadXML(const exml::Element& _node) {
continue; continue;
} }
if (getSubWidget() != nullptr) { if (getSubWidget() != nullptr) {
EWOL_ERROR("(l " << pNode.getPos() << ") " << __class__ << " Can only have one subWidget ??? node='" << widgetName << "'" ); EWOL_ERROR("(l " << pNode.getPos() << ") Can only have one subWidget ??? node='" << widgetName << "'" );
continue; continue;
} }
EWOL_DEBUG("try to create subwidget : '" << widgetName << "'"); EWOL_DEBUG("try to create subwidget : '" << widgetName << "'");

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -11,11 +11,6 @@
#include <ewol/widget/Container2.h> #include <ewol/widget/Container2.h>
#include <ewol/widget/Manager.h> #include <ewol/widget/Manager.h>
#undef __class__
#define __class__ "Container2"
ewol::widget::Container2::Container2() : ewol::widget::Container2::Container2() :
m_idWidgetDisplayed(0) { m_idWidgetDisplayed(0) {
addObjectType("ewol::widget::Container2"); addObjectType("ewol::widget::Container2");

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -11,10 +11,6 @@
#include <ewol/widget/ContainerN.h> #include <ewol/widget/ContainerN.h>
#include <ewol/widget/Manager.h> #include <ewol/widget/Manager.h>
#undef __class__
#define __class__ "ContainerN"
ewol::widget::ContainerN::ContainerN() : ewol::widget::ContainerN::ContainerN() :
propertyLockExpand(this, "lock", propertyLockExpand(this, "lock",
vec2(false,false), vec2(false,false),

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -14,9 +14,6 @@
#include <ewol/widget/Windows.h> #include <ewol/widget/Windows.h>
#include <ewol/Padding.h> #include <ewol/Padding.h>
#undef __class__
#define __class__ "ContextMenu"
ewol::widget::ContextMenu::ContextMenu(): ewol::widget::ContextMenu::ContextMenu():
propertyShape(this, "shape", propertyShape(this, "shape",
"{ewol}THEME:GUI:ContextMenu.json", "{ewol}THEME:GUI:ContextMenu.json",

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -13,9 +13,6 @@
#include <ewol/context/Context.h> #include <ewol/context/Context.h>
#include <ewol/Padding.h> #include <ewol/Padding.h>
#undef __class__
#define __class__ "Entry"
// DEFINE for the shader display system : // DEFINE for the shader display system :
#define STATUS_NORMAL (0) #define STATUS_NORMAL (0)
#define STATUS_HOVER (1) #define STATUS_HOVER (1)

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -10,10 +10,6 @@
#include <ewol/widget/Gird.h> #include <ewol/widget/Gird.h>
#include <ewol/widget/Manager.h> #include <ewol/widget/Manager.h>
#undef __class__
#define __class__ "Gird"
ewol::widget::Gird::Gird() : ewol::widget::Gird::Gird() :
m_sizeRow(0), m_sizeRow(0),
m_tmpWidget(nullptr), m_tmpWidget(nullptr),

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -12,9 +12,6 @@
#include <ewol/widget/Manager.h> #include <ewol/widget/Manager.h>
#include <ewol/ewol.h> #include <ewol/ewol.h>
#undef __class__
#define __class__ "Image"
ewol::widget::Image::Image() : ewol::widget::Image::Image() :
signalPressed(this, "pressed", "Image is pressed"), signalPressed(this, "pressed", "Image is pressed"),
propertySource(this, "src", "", "Image source path", &ewol::widget::Image::onChangePropertySource), propertySource(this, "src", "", "Image source path", &ewol::widget::Image::onChangePropertySource),

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
@ -17,9 +17,6 @@ static std::string l_background("");
static std::string l_foreground(""); static std::string l_foreground("");
static float l_ratio(1.0/7.0); static float l_ratio(1.0/7.0);
#undef __class__
#define __class__ "Joystick"
ewol::widget::Joystick::Joystick() : ewol::widget::Joystick::Joystick() :
signalEnable(this, "enable", ""), signalEnable(this, "enable", ""),
signalDisable(this, "disable", ""), signalDisable(this, "disable", ""),

View File

@ -1,4 +1,4 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
* *
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved

Some files were not shown because too many files have changed in this diff Show More