[DEV] replace 'include guard' with 'pragma once'

This commit is contained in:
Edouard DUPIN 2016-02-02 21:18:54 +01:00
parent 5ee58f3540
commit 75e120ceb3
98 changed files with 155 additions and 507 deletions

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_PADDING_H__
#define __EWOL_PADDING_H__
#pragma once
#include <ewol/debug.h>
@ -83,4 +81,3 @@ namespace ewol {
std::ostream& operator <<(std::ostream& _os, const ewol::Padding& _obj);
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_COMPOSITING_AREA_H__
#define __EWOL_COMPOSITING_AREA_H__
#pragma once
#include <etk/Color.h>
#include <ewol/debug.h>
@ -100,6 +98,3 @@ namespace ewol {
};
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_COMPOSITING_H__
#define __EWOL_COMPOSITING_H__
#pragma once
#include <ewol/debug.h>
#include <etk/types.h>
@ -60,5 +58,3 @@ namespace ewol {
virtual void setMatrix(const mat4& _mat);
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_COMPOSITING_DRAWING_H__
#define __EWOL_COMPOSITING_DRAWING_H__
#pragma once
#include <etk/Color.h>
@ -230,5 +228,3 @@ namespace ewol {
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_COMPOSITING_IMAGE_H__
#define __EWOL_COMPOSITING_IMAGE_H__
#pragma once
#include <ewol/debug.h>
#include <ewol/compositing/Compositing.h>
@ -192,4 +190,3 @@ namespace ewol {
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_COMPOSITING_SHAPER_H__
#define __EWOL_COMPOSITING_SHAPER_H__
#pragma once
#include <ewol/debug.h>
#include <ewol/compositing/Compositing.h>
@ -292,8 +290,7 @@ namespace ewol {
return _obj.m_name != m_name;
}
};
};
};
}
}
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_COMPOSITING_SPRITE_H__
#define __EWOL_COMPOSITING_SPRITE_H__
#pragma once
#include <ewol/debug.h>
#include <ewol/compositing/Image.h>
@ -28,8 +26,6 @@ namespace ewol {
};
void printSprite(const ivec2& _spriteID, const vec3& _size);
};
};
};
#endif
}
}

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_COMPOSITING_TEXT_H__
#define __EWOL_COMPOSITING_TEXT_H__
#pragma once
#include <etk/Color.h>
@ -55,8 +53,6 @@ namespace ewol {
virtual void printChar(const char32_t& _charcode);
virtual vec3 calculateSizeChar(const char32_t& _charcode);
};
};
};
}
}
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_COMPOSITING_TEXT_BASE_H__
#define __EWOL_COMPOSITING_TEXT_BASE_H__
#pragma once
#include <etk/Color.h>
@ -474,8 +472,7 @@ namespace ewol {
*/
void setCursorColor(const etk::Color<>& _color);
};
};
};
}
}
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_COMPOSITING_TEXT_DF_H__
#define __EWOL_COMPOSITING_TEXT_DF_H__
#pragma once
#include <etk/Color.h>
@ -70,8 +68,7 @@ namespace ewol {
virtual void printChar(const char32_t& _charcode);
virtual vec3 calculateSizeChar(const char32_t& _charcode);
};
};
};
}
}
#endif

View File

@ -6,8 +6,7 @@
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_CONTEXT_APPLICATION_H__
#define __EWOL_CONTEXT_APPLICATION_H__
#pragma once
namespace ewol {
class Context;
@ -50,5 +49,3 @@ namespace ewol {
};
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_CONFIG_FONT_H__
#define __EWOL_CONFIG_FONT_H__
#pragma once
#include <ewol/debug.h>
@ -92,5 +90,4 @@ namespace ewol {
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_CONTEXT_H__
#define __EWOL_CONTEXT_H__
#pragma once
#include <gale/key/key.h>
#include <gale/Application.h>
@ -215,5 +213,3 @@ namespace ewol {
Context& getContext();
};
#endif

View File

@ -5,10 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_SYSTEM_INPUT_H__
#define __EWOL_SYSTEM_INPUT_H__
#pragma once
#include <ewol/widget/Widget.h>
#define MAX_MANAGE_INPUT (15)
@ -122,6 +119,4 @@ namespace ewol {
};
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_DEBUG_H__
#define __EWOL_DEBUG_H__
#pragma once
#include <etk/log.h>
@ -40,5 +38,3 @@ namespace ewol {
} \
} while (0)
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_EVENT_ENTRY_H__
#define __EWOL_EVENT_ENTRY_H__
#pragma once
#include <etk/types.h>
#include <gale/key/key.h>
@ -72,6 +70,3 @@ namespace ewol {
std::ostream& operator <<(std::ostream& _os, const ewol::event::EntrySystem& _obj);
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_EVENT_INPUT_H__
#define __EWOL_EVENT_INPUT_H__
#pragma once
#include <etk/types.h>
@ -106,5 +104,3 @@ namespace ewol {
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_EVENT_CALL_TIME_H__
#define __EWOL_EVENT_CALL_TIME_H__
#pragma once
#include <etk/types.h>
@ -60,8 +58,6 @@ namespace ewol {
};
};
std::ostream& operator <<(std::ostream& _os, const ewol::event::Time& _obj);
};
};
#endif
}
}

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_H__
#define __EWOL_H__
#pragma once
#include <etk/types.h>
#include <ewol/context/Application.h>
@ -51,5 +49,3 @@ namespace ewol {
// TODO : Remove ...
std::string getBoardType();
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_OBJECT_MANAGER_H__
#define __EWOL_OBJECT_MANAGER_H__
#pragma once
#include <etk/types.h>
#include <ewol/object/Object.h>
@ -102,6 +100,3 @@ namespace ewol {
};
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_OBJECT_H__
#define __EWOL_OBJECT_H__
#pragma once
#include <etk/types.h>
#include <vector>
@ -314,7 +312,6 @@ namespace ewol {
} while (false)
//#include <ewol/signal/Signal.h>
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_WORKER_H__
#define __EWOL_WORKER_H__
#pragma once
#include <ewol/debug.h>
#include <ewol/object/Object.h>
@ -38,7 +36,5 @@ namespace ewol {
public:
virtual void destroy();
};
};
};
#endif
}
}

View File

@ -5,10 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_PARAMETER_INTERFACE_H__
#define __EWOL_PARAMETER_INTERFACE_H__
#pragma once
#include <vector>
#include <map>
@ -89,4 +86,3 @@ namespace ewol {
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_PARAMETER_LIST_H__
#define __EWOL_PARAMETER_LIST_H__
#pragma once
#include <ewol/parameter/Interface.h>
#include <ewol/parameter/Parameter.h>
@ -170,5 +168,4 @@ namespace ewol {
}
};
};
#endif

View File

@ -8,8 +8,7 @@
#include <ewol/parameter/Interface.h>
#ifndef __EWOL_PARAMETER_H__
#define __EWOL_PARAMETER_H__
#pragma once
#include <string>
#include <typeinfo>
@ -88,4 +87,3 @@ namespace ewol {
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_PARAMETER_RANGE_H__
#define __EWOL_PARAMETER_RANGE_H__
#pragma once
#include <ewol/parameter/Interface.h>
#include <ewol/parameter/Parameter.h>
@ -151,4 +149,4 @@ namespace ewol {
}
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_PARAMETER_VALUE_H__
#define __EWOL_PARAMETER_VALUE_H__
#pragma once
#include <ewol/parameter/Interface.h>
#include <ewol/parameter/Parameter.h>
@ -143,6 +141,6 @@ namespace ewol {
_os << _obj.get();
return _os;
}
};
};
#endif
}
}

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __SIMPLE_COLOR_FILE_H__
#define __SIMPLE_COLOR_FILE_H__
#pragma once
#include <etk/types.h>
#include <etk/Color.h>
@ -75,5 +73,3 @@ namespace ewol {
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __COLORED_3D_OBJECT_H__
#define __COLORED_3D_OBJECT_H__
#pragma once
#include <etk/types.h>
#include <gale/resource/Resource.h>
@ -56,5 +54,3 @@ namespace ewol {
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __SIMPLE_CONFIG_FILE_H__
#define __SIMPLE_CONFIG_FILE_H__
#pragma once
#include <etk/types.h>
#include <etk/Hash.h>
@ -46,6 +44,3 @@ namespace ewol {
};
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_DISTANCE_FIELD_FONT_H__
#define __EWOL_DISTANCE_FIELD_FONT_H__
#pragma once
#include <ewol/resource/font/FontBase.h>
#include <ewol/resource/Texture.h>
@ -98,6 +96,3 @@ namespace ewol {
};
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_FONT_FREE_TYPE_H__
#define __EWOL_FONT_FREE_TYPE_H__
#pragma once
#include <etk/types.h>
#include <ewol/resource/font/FontBase.h>
@ -62,5 +60,3 @@ namespace ewol {
};
};
#endif

View File

@ -6,9 +6,7 @@
* @license APACHE v2.0 (see license file)
*/
// TODO : Change tis file name ...
#ifndef __EWOL_TEXTURE_FILE_H__
#define __EWOL_TEXTURE_FILE_H__
#pragma once
#include <etk/types.h>
#include <etk/types.h>
@ -51,6 +49,3 @@ namespace ewol {
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_RESOURCE_IMAGE_DISTANCE_FIELD_H__
#define __EWOL_RESOURCE_IMAGE_DISTANCE_FIELD_H__
#pragma once
#include <etk/types.h>
#include <etk/types.h>
@ -50,5 +48,3 @@ namespace ewol {
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_TEXTURE_H__
#define __EWOL_TEXTURE_H__
#pragma once
#include <etk/types.h>
#include <ewol/debug.h>
@ -52,8 +50,6 @@ namespace ewol {
return m_texId;
};
};
};
};
#endif
}
}

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_TEXTURED_FONT_H__
#define __EWOL_TEXTURED_FONT_H__
#pragma once
#include <ewol/resource/font/FontBase.h>
#include <ewol/resource/Texture.h>
@ -23,7 +21,7 @@ namespace ewol {
Bold,
BoldItalic,
};
};
}
std::ostream& operator <<(std::ostream& _os, enum ewol::font::mode _obj);
namespace resource {
@ -96,8 +94,6 @@ namespace ewol {
*/
bool addGlyph(const char32_t& _val);
};
};
};
#endif
}
}

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_FONT_H__
#define __EWOL_FONT_H__
#pragma once
#include <etk/types.h>
#include <ewol/debug.h>
@ -57,5 +55,3 @@ namespace ewol {
};
};
#endif

View File

@ -5,13 +5,10 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_FONT_GLYPH_PROPERTY_H__
#define __EWOL_FONT_GLYPH_PROPERTY_H__
#pragma once
#include <ewol/resource/font/Kerning.h>
namespace ewol {
/*
| | | |
@ -106,5 +103,3 @@ namespace ewol {
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_FONT_KERNING_H__
#define __EWOL_FONT_KERNING_H__
#pragma once
namespace ewol {
/**
@ -71,5 +69,3 @@ namespace ewol {
};
};
#endif

View File

@ -5,13 +5,10 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_SIGNAL_BASE_H__
#define __EWOL_SIGNAL_BASE_H__
#pragma once
#include <ewol/signal/Interface.h>
namespace ewol {
namespace signal {
class Base {
@ -55,4 +52,3 @@ namespace ewol {
const char* logIndent(int32_t _iii);
};
};
#endif

View File

@ -5,10 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_SIGNAL_INTERFACE_H__
#define __EWOL_SIGNAL_INTERFACE_H__
#pragma once
#include <vector>
#include <map>
@ -49,4 +46,3 @@ namespace ewol {
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_SIGNAL_H__
#define __EWOL_SIGNAL_H__
#pragma once
#include <functional>
#include <ewol/signal/Base.h>
@ -410,5 +408,5 @@ namespace ewol {
};
#undef __class__
#define __class__ nullptr
};
#endif
}

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_TRANSLATE_H__
#define __EWOL_TRANSLATE_H__
#pragma once
#include <etk/types.h>
@ -75,6 +73,3 @@ namespace ewol {
};
// Here we define a simple macro to Translate all string simply:
#define TRANSLATE(a) ewol::translate::get(a)
#endif

View File

@ -5,10 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_BUTTON_H__
#define __EWOL_BUTTON_H__
#pragma once
#include <etk/types.h>
#include <ewol/debug.h>
@ -168,5 +165,3 @@ namespace ewol {
};
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_BUTTON_COLOR_H__
#define __EWOL_BUTTON_COLOR_H__
#pragma once
#include <etk/types.h>
#include <ewol/debug.h>
@ -91,4 +89,3 @@ namespace ewol {
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_CHECK_BOX_H__
#define __EWOL_CHECK_BOX_H__
#pragma once
#include <etk/types.h>
#include <ewol/debug.h>
@ -99,4 +97,3 @@ namespace ewol {
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_COLORBAR_H__
#define __EWOL_COLORBAR_H__
#pragma once
#include <etk/types.h>
#include <ewol/debug.h>
@ -44,5 +42,3 @@ namespace ewol {
};
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_WIDGET_COMPOSER_H__
#define __EWOL_WIDGET_COMPOSER_H__
#pragma once
#include <etk/types.h>
#include <ewol/debug.h>
@ -61,5 +59,3 @@ namespace ewol {
std::shared_ptr<ewol::Widget> composerGenerate(enum ewol::widget::Composer::composerMode _mode = ewol::widget::Composer::None, const std::string& _data = "");
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_WIDGET_CONTAINER_H__
#define __EWOL_WIDGET_CONTAINER_H__
#pragma once
#include <etk/types.h>
#include <ewol/debug.h>
@ -72,5 +70,3 @@ namespace ewol {
};
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_WIDGET_CONTAINER_2_H__
#define __EWOL_WIDGET_CONTAINER_2_H__
#pragma once
#include <etk/types.h>
#include <ewol/debug.h>
@ -174,5 +172,3 @@ namespace ewol {
};
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_WIDGET_CONTAINER_N_H__
#define __EWOL_WIDGET_CONTAINER_N_H__
#pragma once
#include <etk/types.h>
#include <ewol/debug.h>
@ -108,5 +106,3 @@ namespace ewol {
};
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_CONTEXT_MENU_H__
#define __EWOL_CONTEXT_MENU_H__
#pragma once
#include <etk/types.h>
#include <etk/Color.h>
@ -74,4 +72,3 @@ namespace ewol {
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_ENTRY_H__
#define __EWOL_ENTRY_H__
#pragma once
#include <etk/types.h>
#include <regex>
@ -186,5 +184,3 @@ namespace ewol {
};
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_WIDGET_GIRD_H__
#define __EWOL_WIDGET_GIRD_H__
#pragma once
#include <etk/types.h>
#include <vector>
@ -145,5 +143,3 @@ namespace ewol {
};
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_IMAGE_H__
#define __EWOL_IMAGE_H__
#pragma once
#include <etk/types.h>
#include <ewol/debug.h>
@ -187,6 +185,3 @@ namespace ewol {
};
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_JOYSTICK_H__
#define __EWOL_JOYSTICK_H__
#pragma once
#include <etk/types.h>
#include <etk/Color.h>
@ -89,4 +87,3 @@ namespace ewol {
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_LABEL_H__
#define __EWOL_LABEL_H__
#pragma once
#include <etk/types.h>
#include <ewol/debug.h>
@ -79,4 +77,3 @@ namespace ewol {
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_LAYER_H__
#define __EWOL_LAYER_H__
#pragma once
#include <etk/types.h>
#include <ewol/debug.h>
@ -38,4 +36,3 @@ namespace ewol {
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_LIST_H__
#define __EWOL_LIST_H__
#pragma once
#include <etk/types.h>
#include <etk/Color.h>
@ -87,4 +85,3 @@ namespace ewol {
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_LIST_FILE_H__
#define __EWOL_LIST_FILE_H__
#pragma once
#include <ewol/widget/List.h>
#include <etk/os/FSNode.h>
@ -160,5 +158,4 @@ namespace ewol {
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_WIDGET_MANAGER_H__
#define __EWOL_WIDGET_MANAGER_H__
#pragma once
#include <etk/types.h>
#include <ewol/debug.h>
@ -54,5 +52,3 @@ namespace ewol {
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_MENU_H__
#define __EWOL_MENU_H__
#pragma once
#include <etk/types.h>
#include <etk/types.h>
@ -63,4 +61,3 @@ namespace ewol {
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_POP_UP_H__
#define __EWOL_POP_UP_H__
#pragma once
#include <etk/types.h>
#include <ewol/debug.h>
@ -87,4 +85,3 @@ namespace ewol {
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_PROGRESS_BAR_H__
#define __EWOL_PROGRESS_BAR_H__
#pragma once
#include <etk/types.h>
#include <etk/Color.h>
@ -52,4 +50,3 @@ namespace ewol {
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_WIDGET_SCROLL_H__
#define __EWOL_WIDGET_SCROLL_H__
#pragma once
#include <etk/types.h>
#include <ewol/debug.h>
@ -69,7 +67,6 @@ namespace ewol {
virtual void onDraw();
virtual void onParameterChangeValue(const ewol::parameter::Ref& _paramPointer);
};
};
};
}
}
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_SIZER_H__
#define __EWOL_SIZER_H__
#pragma once
#include <etk/types.h>
#include <ewol/debug.h>
@ -152,7 +150,6 @@ namespace ewol {
virtual void onRegenerateDisplay();
virtual void onDraw();
};
};
};
}
}
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_SLIDER_H__
#define __EWOL_SLIDER_H__
#pragma once
#include <etk/types.h>
#include <etk/Color.h>
@ -116,7 +114,6 @@ namespace ewol {
virtual bool onEventInput(const ewol::event::Input& _event);
virtual void onParameterChangeValue(const ewol::parameter::Ref& _paramPointer);
};
};
};
}
}
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_SPACER_H__
#define __EWOL_SPACER_H__
#pragma once
#include <etk/types.h>
#include <etk/Color.h>
@ -53,7 +51,6 @@ namespace ewol {
virtual void onDraw();
virtual void onParameterChangeValue(const ewol::parameter::Ref& _paramPointer);
};
};
};
}
}
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_W_SLIDER_H__
#define __EWOL_W_SLIDER_H__
#pragma once
#include <etk/types.h>
#include <ewol/debug.h>
@ -108,8 +106,7 @@ namespace ewol {
virtual void periodicCall(const ewol::event::Time& _event);
virtual void onParameterChangeValue(const ewol::parameter::Ref& _paramPointer);
};
};
}
std::ostream& operator <<(std::ostream& _os, const enum ewol::widget::WSlider::sladingMode _obj);
};
}
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_WIDGET_H__
#define __EWOL_WIDGET_H__
#pragma once
#include <vector>
#include <etk/types.h>
@ -758,4 +756,3 @@ namespace ewol {
#include <ewol/widget/Manager.h>
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_SCROLLED_WIDGET_H__
#define __EWOL_SCROLLED_WIDGET_H__
#pragma once
#include <etk/types.h>
#include <ewol/debug.h>
@ -117,7 +115,6 @@ namespace ewol {
m_limitScrolling = std::avg(0.1f, _poucentageLimit,0.9f);
};
};
};
};
}
}
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_WINDOWS_H__
#define __EWOL_WINDOWS_H__
#pragma once
#include <etk/types.h>
#include <ewol/debug.h>
@ -132,8 +130,6 @@ namespace ewol {
};
*/
};
};
};
#endif
}
}

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_COLOR_CHOOSER_H__
#define __EWOL_COLOR_CHOOSER_H__
#pragma once
#include <etk/types.h>
#include <ewol/debug.h>
@ -53,5 +51,3 @@ namespace ewol {
};
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_FILE_CHOOSER_H__
#define __EWOL_FILE_CHOOSER_H__
#pragma once
#include <etk/types.h>
#include <ewol/debug.h>
@ -102,5 +100,3 @@ namespace ewol {
};
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_WIDGET_PARAMETER_H__
#define __EWOL_WIDGET_PARAMETER_H__
#pragma once
#include <etk/types.h>
#include <etk/types.h>
@ -55,4 +53,3 @@ namespace ewol {
};
};
#endif

View File

@ -6,8 +6,7 @@
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_WIDGET_PARAMETER_LIST_H__
#define __EWOL_WIDGET_PARAMETER_LIST_H__
#pragma once
#include <etk/types.h>
#include <ewol/debug.h>
@ -81,5 +80,3 @@ namespace ewol {
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE v2.0 (see license file)
*/
#ifndef __EWOL_STD_POP_UP_H__
#define __EWOL_STD_POP_UP_H__
#pragma once
#include <ewol/widget/PopUp.h>
#include <ewol/widget/Label.h>
@ -79,7 +77,6 @@ namespace ewol {
public: // callback function
void onCallBackButtonExit();
};
};
};
}
}
#endif

View File

@ -5,10 +5,5 @@
*
* @license GPL v3 (see license file)
*/
#ifndef __APPL_MAIN_H__
#define __APPL_MAIN_H__
#endif
#pragma once

View File

@ -5,9 +5,7 @@
*
* @license GPL v3 (see license file)
*/
#ifndef __APPL_WINDOWS_H__
#define __APPL_WINDOWS_H__
#pragma once
#include <ewol/widget/Windows.h>
@ -19,7 +17,5 @@ namespace appl {
public:
DECLARE_FACTORY(Windows);
};
};
}
#endif

View File

@ -5,10 +5,7 @@
*
* @license GPL v3 (see license file)
*/
#ifndef __APPL_DEBUG_H__
#define __APPL_DEBUG_H__
#pragma once
#include <etk/log.h>
@ -39,5 +36,3 @@ namespace appl {
assert(!#cond); \
} \
} while (0)
#endif

View File

@ -6,9 +6,5 @@
* @license BSD 3 clauses (see license file)
*/
#ifndef __APPL_MAIN_H__
#define __APPL_MAIN_H__
#endif
#pragma once

View File

@ -5,9 +5,7 @@
*
* @license BSD 3 clauses (see license file)
*/
#ifndef __APPL_WINDOWS_H__
#define __APPL_WINDOWS_H__
#pragma once
#include <ewol/widget/Windows.h>
#include <ewol/widget/Composer.h>
@ -25,7 +23,4 @@ namespace appl {
void onCallbackChangeValues();
void onCallbackAutoMode();
};
};
#endif
}

View File

@ -5,9 +5,7 @@
*
* @license BSD 3 clauses (see license file)
*/
#ifndef __APPL_DEBUG_H__
#define __APPL_DEBUG_H__
#pragma once
#include <etk/log.h>
@ -39,5 +37,3 @@ namespace appl {
} \
} while (0)
#endif

View File

@ -3,9 +3,7 @@
* @copyright 2011, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file)
*/
#ifndef __APPL_WIDGET_VECTOR_DISPLAY_H__
#define __APPL_WIDGET_VECTOR_DISPLAY_H__
#pragma once
#include <ewol/widget/Widget.h>
#include <ewol/compositing/Drawing.h>
@ -40,7 +38,6 @@ namespace appl {
virtual void onRegenerateDisplay();
virtual void periodicCall(const ewol::event::Time& _event);
};
};
};
}
}
#endif

View File

@ -6,9 +6,5 @@
* @license GPL v3 (see license file)
*/
#ifndef __APPL_MAIN_H__
#define __APPL_MAIN_H__
#endif
#pragma once

View File

@ -5,9 +5,7 @@
*
* @license GPL v3 (see license file)
*/
#ifndef __APPL_WIDGET_DISPLAY_H__
#define __APPL_WIDGET_DISPLAY_H__
#pragma once
#include <draw/Color.h>
#include <ewol/widget/Widget.h>
@ -43,7 +41,6 @@ namespace appl {
virtual bool onEventInput(const ewol::event::Input& _event);
virtual void onDraw();
};
};
}
#endif

View File

@ -5,9 +5,7 @@
*
* @license GPL v3 (see license file)
*/
#ifndef __APPL_WINDOWS_H__
#define __APPL_WINDOWS_H__
#pragma once
#include <appl/WidgetDisplay.h>
#include <ewol/widget/Windows.h>
@ -21,7 +19,4 @@ namespace appl {
DECLARE_FACTORY(Windows);
virtual ~Windows();
};
};
#endif
}

View File

@ -5,9 +5,7 @@
*
* @license GPL v3 (see license file)
*/
#ifndef __APPL_DEBUG_H__
#define __APPL_DEBUG_H__
#pragma once
#include <etk/log.h>
@ -39,5 +37,3 @@ namespace appl {
} \
} while (0)
#endif

View File

@ -5,9 +5,7 @@
*
* @license BSD v3 (see license file)
*/
#ifndef __MAIN_WINDOWS_H__
#define __MAIN_WINDOWS_H__
#pragma once
#include <appl/debug.h>
#include <ewol/widget/Widget.h>
@ -39,6 +37,5 @@ namespace appl {
void updateProperty();
};
};
#endif

View File

@ -5,9 +5,7 @@
*
* @license BSD v3 (see license file)
*/
#ifndef __TEST_BUTTON_H__
#define __TEST_BUTTON_H__
#pragma once
#include <appl/debug.h>
#include <ewol/widget/Button.h>
@ -31,6 +29,4 @@ namespace appl {
void onCallbackTextToggle(const bool& _value);
void onCallbackChangeText();
};
};
#endif
}

View File

@ -5,9 +5,7 @@
*
* @license BSD v3 (see license file)
*/
#ifndef __TEST_BUTTON_COLOR_H__
#define __TEST_BUTTON_COLOR_H__
#pragma once
#include <appl/debug.h>
#include <ewol/widget/Widget.h>
@ -34,6 +32,5 @@ namespace appl {
void onCallbackFillY(const bool& _value);
void onCallbackChangeColor(const etk::Color<>& _value);
};
};
}
#endif

View File

@ -5,9 +5,7 @@
*
* @license BSD v3 (see license file)
*/
#ifndef __TEST_CHECK_BOX_H__
#define __TEST_CHECK_BOX_H__
#pragma once
#include <appl/debug.h>
#include <ewol/widget/CheckBox.h>
@ -31,7 +29,6 @@ namespace appl {
void onCallbackTextToggle(const bool& _value);
void onCallbackChangeText();
};
};
}
#endif

View File

@ -5,9 +5,7 @@
*
* @license BSD v3 (see license file)
*/
#ifndef __TEST_DISTANCE_FIELD_H__
#define __TEST_DISTANCE_FIELD_H__
#pragma once
#include <appl/debug.h>
#include <ewol/widget/Widget.h>
@ -34,6 +32,5 @@ namespace appl {
virtual void onRegenerateDisplay();
virtual bool onEventInput(const ewol::event::Input& _event);
};
};
}
#endif

View File

@ -5,9 +5,7 @@
*
* @license BSD v3 (see license file)
*/
#ifndef __TEST_IMAGE_H__
#define __TEST_IMAGE_H__
#pragma once
#include <appl/debug.h>
#include <ewol/widget/Widget.h>
@ -34,6 +32,5 @@ namespace appl {
void onCallbackFillY(const bool& _value);
void onCallbackChangeImage();
};
};
}
#endif

View File

@ -5,9 +5,7 @@
*
* @license BSD v3 (see license file)
*/
#ifndef __TEST_LABEL_H__
#define __TEST_LABEL_H__
#pragma once
#include <appl/debug.h>
#include <ewol/widget/Widget.h>
@ -41,7 +39,6 @@ namespace appl {
void onCallbackMaxSize(const bool& _value);
void onCallbackChangeLabel();
};
};
}
#endif

View File

@ -5,9 +5,7 @@
*
* @license BSD v3 (see license file)
*/
#ifndef __TEST_SCENE_H__
#define __TEST_SCENE_H__
#pragma once
#include <appl/debug.h>
#include <ewol/widget/Widget.h>
@ -25,4 +23,3 @@ class TestScene : public ewol::widget::Sizer {
virtual void onReceiveMessage(const ewol::object::Message& _msg);
};
#endif

View File

@ -5,10 +5,7 @@
*
* @license GPL v3 (see license file)
*/
#ifndef __APPL_DEBUG_H__
#define __APPL_DEBUG_H__
#pragma once
#include <etk/log.h>
@ -48,5 +45,3 @@ namespace appl {
assert(!#cond); \
} \
} while (0)
#endif

View File

@ -2,6 +2,10 @@
<sizer mode="vert"
expand="true,true"
fill="true,true">
<spacer expand="true,true" fill="true,true" color="red"/>
<spacer expand="true,true" fill="true,true" color="green"/>
<spacer expand="true,true" fill="true,true" color="blue"/>
<!--
<sizer mode="hori"
expand="true,false"
lock="false,true"
@ -47,5 +51,6 @@
<label name="[TEST]TO-TEST" expand="true" fill="true">No widget</label>
</sizer>
</sizer>
-->
</sizer>
</composer>