diff --git a/ewol/Padding.h b/ewol/Padding.h index 6b959f06..106beb67 100644 --- a/ewol/Padding.h +++ b/ewol/Padding.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_PADDING_H__ -#define __EWOL_PADDING_H__ +#pragma once #include @@ -83,4 +81,3 @@ namespace ewol { std::ostream& operator <<(std::ostream& _os, const ewol::Padding& _obj); }; -#endif diff --git a/ewol/compositing/Area.h b/ewol/compositing/Area.h index 06d4b072..90ea5808 100644 --- a/ewol/compositing/Area.h +++ b/ewol/compositing/Area.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_COMPOSITING_AREA_H__ -#define __EWOL_COMPOSITING_AREA_H__ +#pragma once #include #include @@ -100,6 +98,3 @@ namespace ewol { }; }; }; - -#endif - diff --git a/ewol/compositing/Compositing.h b/ewol/compositing/Compositing.h index 7f194f64..f562b281 100644 --- a/ewol/compositing/Compositing.h +++ b/ewol/compositing/Compositing.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_COMPOSITING_H__ -#define __EWOL_COMPOSITING_H__ +#pragma once #include #include @@ -60,5 +58,3 @@ namespace ewol { virtual void setMatrix(const mat4& _mat); }; }; - -#endif diff --git a/ewol/compositing/Drawing.h b/ewol/compositing/Drawing.h index 382a2515..79f50947 100644 --- a/ewol/compositing/Drawing.h +++ b/ewol/compositing/Drawing.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_COMPOSITING_DRAWING_H__ -#define __EWOL_COMPOSITING_DRAWING_H__ +#pragma once #include @@ -230,5 +228,3 @@ namespace ewol { }; }; -#endif - diff --git a/ewol/compositing/Image.h b/ewol/compositing/Image.h index eb80f2cc..f15a6548 100644 --- a/ewol/compositing/Image.h +++ b/ewol/compositing/Image.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_COMPOSITING_IMAGE_H__ -#define __EWOL_COMPOSITING_IMAGE_H__ +#pragma once #include #include @@ -192,4 +190,3 @@ namespace ewol { }; }; -#endif diff --git a/ewol/compositing/Shaper.h b/ewol/compositing/Shaper.h index 8c2fe3b0..afb9552c 100644 --- a/ewol/compositing/Shaper.h +++ b/ewol/compositing/Shaper.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_COMPOSITING_SHAPER_H__ -#define __EWOL_COMPOSITING_SHAPER_H__ +#pragma once #include #include @@ -292,8 +290,7 @@ namespace ewol { return _obj.m_name != m_name; } }; - }; -}; + } +} -#endif diff --git a/ewol/compositing/Sprite.h b/ewol/compositing/Sprite.h index 37fecbee..ed4826ed 100644 --- a/ewol/compositing/Sprite.h +++ b/ewol/compositing/Sprite.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_COMPOSITING_SPRITE_H__ -#define __EWOL_COMPOSITING_SPRITE_H__ +#pragma once #include #include @@ -28,8 +26,6 @@ namespace ewol { }; void printSprite(const ivec2& _spriteID, const vec3& _size); }; - }; -}; - -#endif + } +} diff --git a/ewol/compositing/Text.h b/ewol/compositing/Text.h index 83c00658..a8fe9950 100644 --- a/ewol/compositing/Text.h +++ b/ewol/compositing/Text.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_COMPOSITING_TEXT_H__ -#define __EWOL_COMPOSITING_TEXT_H__ +#pragma once #include @@ -55,8 +53,6 @@ namespace ewol { virtual void printChar(const char32_t& _charcode); virtual vec3 calculateSizeChar(const char32_t& _charcode); }; - }; -}; + } +} - -#endif \ No newline at end of file diff --git a/ewol/compositing/TextBase.h b/ewol/compositing/TextBase.h index 9bb4241e..56599887 100644 --- a/ewol/compositing/TextBase.h +++ b/ewol/compositing/TextBase.h @@ -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 @@ -474,8 +472,7 @@ namespace ewol { */ void setCursorColor(const etk::Color<>& _color); }; - }; -}; + } +} -#endif diff --git a/ewol/compositing/TextDF.h b/ewol/compositing/TextDF.h index 0394137a..6b11ef3e 100644 --- a/ewol/compositing/TextDF.h +++ b/ewol/compositing/TextDF.h @@ -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 @@ -70,8 +68,7 @@ namespace ewol { virtual void printChar(const char32_t& _charcode); virtual vec3 calculateSizeChar(const char32_t& _charcode); }; - }; -}; + } +} -#endif diff --git a/ewol/context/Application.h b/ewol/context/Application.h index 04ddc12d..c6f6a974 100644 --- a/ewol/context/Application.h +++ b/ewol/context/Application.h @@ -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 diff --git a/ewol/context/ConfigFont.h b/ewol/context/ConfigFont.h index e6ba452d..32c03585 100644 --- a/ewol/context/ConfigFont.h +++ b/ewol/context/ConfigFont.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_CONFIG_FONT_H__ -#define __EWOL_CONFIG_FONT_H__ +#pragma once #include @@ -92,5 +90,4 @@ namespace ewol { }; }; -#endif diff --git a/ewol/context/Context.h b/ewol/context/Context.h index c347a7e7..bf7f009d 100644 --- a/ewol/context/Context.h +++ b/ewol/context/Context.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_CONTEXT_H__ -#define __EWOL_CONTEXT_H__ +#pragma once #include #include @@ -215,5 +213,3 @@ namespace ewol { Context& getContext(); }; -#endif - diff --git a/ewol/context/InputManager.h b/ewol/context/InputManager.h index ce561608..bdf89508 100644 --- a/ewol/context/InputManager.h +++ b/ewol/context/InputManager.h @@ -5,10 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_SYSTEM_INPUT_H__ -#define __EWOL_SYSTEM_INPUT_H__ - +#pragma once #include #define MAX_MANAGE_INPUT (15) @@ -122,6 +119,4 @@ namespace ewol { }; }; }; -#endif - diff --git a/ewol/debug.h b/ewol/debug.h index 0d78f616..a59fbe49 100644 --- a/ewol/debug.h +++ b/ewol/debug.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_DEBUG_H__ -#define __EWOL_DEBUG_H__ +#pragma once #include @@ -40,5 +38,3 @@ namespace ewol { } \ } while (0) -#endif - diff --git a/ewol/event/Entry.h b/ewol/event/Entry.h index 144ff9e4..eed77d63 100644 --- a/ewol/event/Entry.h +++ b/ewol/event/Entry.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_EVENT_ENTRY_H__ -#define __EWOL_EVENT_ENTRY_H__ +#pragma once #include #include @@ -72,6 +70,3 @@ namespace ewol { std::ostream& operator <<(std::ostream& _os, const ewol::event::EntrySystem& _obj); }; }; - -#endif - diff --git a/ewol/event/Input.h b/ewol/event/Input.h index 32e84656..3a3c8024 100644 --- a/ewol/event/Input.h +++ b/ewol/event/Input.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_EVENT_INPUT_H__ -#define __EWOL_EVENT_INPUT_H__ +#pragma once #include @@ -106,5 +104,3 @@ namespace ewol { }; }; -#endif - diff --git a/ewol/event/Time.h b/ewol/event/Time.h index 4b6bce39..16fdc967 100644 --- a/ewol/event/Time.h +++ b/ewol/event/Time.h @@ -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 @@ -60,8 +58,6 @@ namespace ewol { }; }; std::ostream& operator <<(std::ostream& _os, const ewol::event::Time& _obj); - }; -}; - -#endif + } +} diff --git a/ewol/ewol.h b/ewol/ewol.h index be9abc9e..f3c835dd 100644 --- a/ewol/ewol.h +++ b/ewol/ewol.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_H__ -#define __EWOL_H__ +#pragma once #include #include @@ -51,5 +49,3 @@ namespace ewol { // TODO : Remove ... std::string getBoardType(); }; - -#endif diff --git a/ewol/object/Manager.h b/ewol/object/Manager.h index 7d697a4f..dbc19c6f 100644 --- a/ewol/object/Manager.h +++ b/ewol/object/Manager.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_OBJECT_MANAGER_H__ -#define __EWOL_OBJECT_MANAGER_H__ +#pragma once #include #include @@ -102,6 +100,3 @@ namespace ewol { }; }; }; - -#endif - diff --git a/ewol/object/Object.h b/ewol/object/Object.h index 78670359..5ab4a440 100644 --- a/ewol/object/Object.h +++ b/ewol/object/Object.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_OBJECT_H__ -#define __EWOL_OBJECT_H__ +#pragma once #include #include @@ -314,7 +312,6 @@ namespace ewol { } while (false) //#include -#endif diff --git a/ewol/object/Worker.h b/ewol/object/Worker.h index 392e508d..057ec7cb 100644 --- a/ewol/object/Worker.h +++ b/ewol/object/Worker.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_WORKER_H__ -#define __EWOL_WORKER_H__ +#pragma once #include #include @@ -38,7 +36,5 @@ namespace ewol { public: virtual void destroy(); }; - }; -}; - -#endif + } +} diff --git a/ewol/parameter/Interface.h b/ewol/parameter/Interface.h index 2f3570df..934ec0d8 100644 --- a/ewol/parameter/Interface.h +++ b/ewol/parameter/Interface.h @@ -5,10 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - - -#ifndef __EWOL_PARAMETER_INTERFACE_H__ -#define __EWOL_PARAMETER_INTERFACE_H__ +#pragma once #include #include @@ -89,4 +86,3 @@ namespace ewol { }; }; -#endif diff --git a/ewol/parameter/List.h b/ewol/parameter/List.h index 784d3672..5a80768c 100644 --- a/ewol/parameter/List.h +++ b/ewol/parameter/List.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_PARAMETER_LIST_H__ -#define __EWOL_PARAMETER_LIST_H__ +#pragma once #include #include @@ -170,5 +168,4 @@ namespace ewol { } }; }; -#endif diff --git a/ewol/parameter/Parameter.h b/ewol/parameter/Parameter.h index e17ec009..09b52402 100644 --- a/ewol/parameter/Parameter.h +++ b/ewol/parameter/Parameter.h @@ -8,8 +8,7 @@ #include -#ifndef __EWOL_PARAMETER_H__ -#define __EWOL_PARAMETER_H__ +#pragma once #include #include @@ -88,4 +87,3 @@ namespace ewol { }; }; -#endif diff --git a/ewol/parameter/Range.h b/ewol/parameter/Range.h index 7dcd9f56..95a0471a 100644 --- a/ewol/parameter/Range.h +++ b/ewol/parameter/Range.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_PARAMETER_RANGE_H__ -#define __EWOL_PARAMETER_RANGE_H__ +#pragma once #include #include @@ -151,4 +149,4 @@ namespace ewol { } }; }; -#endif + diff --git a/ewol/parameter/Value.h b/ewol/parameter/Value.h index f596c85b..3a10cbcd 100644 --- a/ewol/parameter/Value.h +++ b/ewol/parameter/Value.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_PARAMETER_VALUE_H__ -#define __EWOL_PARAMETER_VALUE_H__ +#pragma once #include #include @@ -143,6 +141,6 @@ namespace ewol { _os << _obj.get(); return _os; } - }; -}; -#endif + } +} + diff --git a/ewol/resource/ColorFile.h b/ewol/resource/ColorFile.h index 0338632f..96b8c329 100644 --- a/ewol/resource/ColorFile.h +++ b/ewol/resource/ColorFile.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __SIMPLE_COLOR_FILE_H__ -#define __SIMPLE_COLOR_FILE_H__ +#pragma once #include #include @@ -75,5 +73,3 @@ namespace ewol { }; }; -#endif - diff --git a/ewol/resource/Colored3DObject.h b/ewol/resource/Colored3DObject.h index 6f684d80..cc4446e1 100644 --- a/ewol/resource/Colored3DObject.h +++ b/ewol/resource/Colored3DObject.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __COLORED_3D_OBJECT_H__ -#define __COLORED_3D_OBJECT_H__ +#pragma once #include #include @@ -56,5 +54,3 @@ namespace ewol { }; }; - -#endif diff --git a/ewol/resource/ConfigFile.h b/ewol/resource/ConfigFile.h index 7a8749dd..a479a047 100644 --- a/ewol/resource/ConfigFile.h +++ b/ewol/resource/ConfigFile.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __SIMPLE_CONFIG_FILE_H__ -#define __SIMPLE_CONFIG_FILE_H__ +#pragma once #include #include @@ -46,6 +44,3 @@ namespace ewol { }; }; }; - -#endif - diff --git a/ewol/resource/DistanceFieldFont.h b/ewol/resource/DistanceFieldFont.h index c14bedae..e2a7d06c 100644 --- a/ewol/resource/DistanceFieldFont.h +++ b/ewol/resource/DistanceFieldFont.h @@ -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 #include @@ -98,6 +96,3 @@ namespace ewol { }; }; }; - -#endif - diff --git a/ewol/resource/FontFreeType.h b/ewol/resource/FontFreeType.h index 0b1fbbfe..20751407 100644 --- a/ewol/resource/FontFreeType.h +++ b/ewol/resource/FontFreeType.h @@ -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 #include @@ -62,5 +60,3 @@ namespace ewol { }; }; -#endif - diff --git a/ewol/resource/Image.h b/ewol/resource/Image.h index 1e417da2..9846eba4 100644 --- a/ewol/resource/Image.h +++ b/ewol/resource/Image.h @@ -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 #include @@ -51,6 +49,3 @@ namespace ewol { }; }; - -#endif - diff --git a/ewol/resource/ImageDF.h b/ewol/resource/ImageDF.h index a6696687..81f31a02 100644 --- a/ewol/resource/ImageDF.h +++ b/ewol/resource/ImageDF.h @@ -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 #include @@ -50,5 +48,3 @@ namespace ewol { }; }; - -#endif \ No newline at end of file diff --git a/ewol/resource/Texture.h b/ewol/resource/Texture.h index e8effcf6..4963e8a5 100644 --- a/ewol/resource/Texture.h +++ b/ewol/resource/Texture.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_TEXTURE_H__ -#define __EWOL_TEXTURE_H__ +#pragma once #include #include @@ -52,8 +50,6 @@ namespace ewol { return m_texId; }; }; - }; -}; - -#endif + } +} diff --git a/ewol/resource/TexturedFont.h b/ewol/resource/TexturedFont.h index 33efcea9..2d712f98 100644 --- a/ewol/resource/TexturedFont.h +++ b/ewol/resource/TexturedFont.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_TEXTURED_FONT_H__ -#define __EWOL_TEXTURED_FONT_H__ +#pragma once #include #include @@ -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 + } +} diff --git a/ewol/resource/font/FontBase.h b/ewol/resource/font/FontBase.h index 6faa746d..f1f58f95 100644 --- a/ewol/resource/font/FontBase.h +++ b/ewol/resource/font/FontBase.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_FONT_H__ -#define __EWOL_FONT_H__ +#pragma once #include #include @@ -57,5 +55,3 @@ namespace ewol { }; }; -#endif - diff --git a/ewol/resource/font/GlyphProperty.h b/ewol/resource/font/GlyphProperty.h index 55b181fc..36a8cdd0 100644 --- a/ewol/resource/font/GlyphProperty.h +++ b/ewol/resource/font/GlyphProperty.h @@ -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 - namespace ewol { /* | | | | @@ -106,5 +103,3 @@ namespace ewol { }; }; -#endif - diff --git a/ewol/resource/font/Kerning.h b/ewol/resource/font/Kerning.h index 6218753e..34ba457e 100644 --- a/ewol/resource/font/Kerning.h +++ b/ewol/resource/font/Kerning.h @@ -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 - diff --git a/ewol/signal/Base.h b/ewol/signal/Base.h index 6dd1928a..cf6c5ba8 100644 --- a/ewol/signal/Base.h +++ b/ewol/signal/Base.h @@ -5,13 +5,10 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_SIGNAL_BASE_H__ -#define __EWOL_SIGNAL_BASE_H__ +#pragma once #include - namespace ewol { namespace signal { class Base { @@ -55,4 +52,3 @@ namespace ewol { const char* logIndent(int32_t _iii); }; }; -#endif diff --git a/ewol/signal/Interface.h b/ewol/signal/Interface.h index 859f461d..a9fb9768 100644 --- a/ewol/signal/Interface.h +++ b/ewol/signal/Interface.h @@ -5,10 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - - -#ifndef __EWOL_SIGNAL_INTERFACE_H__ -#define __EWOL_SIGNAL_INTERFACE_H__ +#pragma once #include #include @@ -49,4 +46,3 @@ namespace ewol { }; }; -#endif diff --git a/ewol/signal/Signal.h b/ewol/signal/Signal.h index ae9ba8ab..5d672e64 100644 --- a/ewol/signal/Signal.h +++ b/ewol/signal/Signal.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_SIGNAL_H__ -#define __EWOL_SIGNAL_H__ +#pragma once #include #include @@ -410,5 +408,5 @@ namespace ewol { }; #undef __class__ #define __class__ nullptr -}; -#endif +} + diff --git a/ewol/translate.h b/ewol/translate.h index 65f827ad..ad8531bd 100644 --- a/ewol/translate.h +++ b/ewol/translate.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_TRANSLATE_H__ -#define __EWOL_TRANSLATE_H__ +#pragma once #include @@ -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 - diff --git a/ewol/widget/Button.h b/ewol/widget/Button.h index fea5dd6b..95d0b8db 100644 --- a/ewol/widget/Button.h +++ b/ewol/widget/Button.h @@ -5,10 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - - -#ifndef __EWOL_BUTTON_H__ -#define __EWOL_BUTTON_H__ +#pragma once #include #include @@ -168,5 +165,3 @@ namespace ewol { }; }; }; - -#endif diff --git a/ewol/widget/ButtonColor.h b/ewol/widget/ButtonColor.h index 95069804..324391a1 100644 --- a/ewol/widget/ButtonColor.h +++ b/ewol/widget/ButtonColor.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_BUTTON_COLOR_H__ -#define __EWOL_BUTTON_COLOR_H__ +#pragma once #include #include @@ -91,4 +89,3 @@ namespace ewol { }; }; -#endif diff --git a/ewol/widget/CheckBox.h b/ewol/widget/CheckBox.h index a76dd160..aad1c4ea 100644 --- a/ewol/widget/CheckBox.h +++ b/ewol/widget/CheckBox.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_CHECK_BOX_H__ -#define __EWOL_CHECK_BOX_H__ +#pragma once #include #include @@ -99,4 +97,3 @@ namespace ewol { }; }; -#endif diff --git a/ewol/widget/ColorBar.h b/ewol/widget/ColorBar.h index 65bf3d2c..5c12d292 100644 --- a/ewol/widget/ColorBar.h +++ b/ewol/widget/ColorBar.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_COLORBAR_H__ -#define __EWOL_COLORBAR_H__ +#pragma once #include #include @@ -44,5 +42,3 @@ namespace ewol { }; }; }; - -#endif diff --git a/ewol/widget/Composer.h b/ewol/widget/Composer.h index 93090032..c147c671 100644 --- a/ewol/widget/Composer.h +++ b/ewol/widget/Composer.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_WIDGET_COMPOSER_H__ -#define __EWOL_WIDGET_COMPOSER_H__ +#pragma once #include #include @@ -61,5 +59,3 @@ namespace ewol { std::shared_ptr composerGenerate(enum ewol::widget::Composer::composerMode _mode = ewol::widget::Composer::None, const std::string& _data = ""); }; }; - -#endif diff --git a/ewol/widget/Container.h b/ewol/widget/Container.h index d9f63082..c559b425 100644 --- a/ewol/widget/Container.h +++ b/ewol/widget/Container.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_WIDGET_CONTAINER_H__ -#define __EWOL_WIDGET_CONTAINER_H__ +#pragma once #include #include @@ -72,5 +70,3 @@ namespace ewol { }; }; }; - -#endif diff --git a/ewol/widget/Container2.h b/ewol/widget/Container2.h index f65dd697..e66ae2b6 100644 --- a/ewol/widget/Container2.h +++ b/ewol/widget/Container2.h @@ -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 #include @@ -174,5 +172,3 @@ namespace ewol { }; }; }; - -#endif diff --git a/ewol/widget/ContainerN.h b/ewol/widget/ContainerN.h index d640d994..a2386f09 100644 --- a/ewol/widget/ContainerN.h +++ b/ewol/widget/ContainerN.h @@ -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 #include @@ -108,5 +106,3 @@ namespace ewol { }; }; }; - -#endif diff --git a/ewol/widget/ContextMenu.h b/ewol/widget/ContextMenu.h index 98a1ab93..925bc257 100644 --- a/ewol/widget/ContextMenu.h +++ b/ewol/widget/ContextMenu.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_CONTEXT_MENU_H__ -#define __EWOL_CONTEXT_MENU_H__ +#pragma once #include #include @@ -74,4 +72,3 @@ namespace ewol { }; }; -#endif diff --git a/ewol/widget/Entry.h b/ewol/widget/Entry.h index 6a202396..f2fadd66 100644 --- a/ewol/widget/Entry.h +++ b/ewol/widget/Entry.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_ENTRY_H__ -#define __EWOL_ENTRY_H__ +#pragma once #include #include @@ -186,5 +184,3 @@ namespace ewol { }; }; }; - -#endif diff --git a/ewol/widget/Gird.h b/ewol/widget/Gird.h index aa2ac3ca..fc17c9bc 100644 --- a/ewol/widget/Gird.h +++ b/ewol/widget/Gird.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_WIDGET_GIRD_H__ -#define __EWOL_WIDGET_GIRD_H__ +#pragma once #include #include @@ -145,5 +143,3 @@ namespace ewol { }; }; }; - -#endif diff --git a/ewol/widget/Image.h b/ewol/widget/Image.h index f39a63f8..b52910f4 100644 --- a/ewol/widget/Image.h +++ b/ewol/widget/Image.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_IMAGE_H__ -#define __EWOL_IMAGE_H__ +#pragma once #include #include @@ -187,6 +185,3 @@ namespace ewol { }; }; }; - - -#endif diff --git a/ewol/widget/Joystick.h b/ewol/widget/Joystick.h index 41e997f8..22f9a9d1 100644 --- a/ewol/widget/Joystick.h +++ b/ewol/widget/Joystick.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_JOYSTICK_H__ -#define __EWOL_JOYSTICK_H__ +#pragma once #include #include @@ -89,4 +87,3 @@ namespace ewol { }; }; -#endif diff --git a/ewol/widget/Label.h b/ewol/widget/Label.h index 90013347..19584b21 100644 --- a/ewol/widget/Label.h +++ b/ewol/widget/Label.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_LABEL_H__ -#define __EWOL_LABEL_H__ +#pragma once #include #include @@ -79,4 +77,3 @@ namespace ewol { }; }; -#endif diff --git a/ewol/widget/Layer.h b/ewol/widget/Layer.h index 6ae94930..cd143105 100644 --- a/ewol/widget/Layer.h +++ b/ewol/widget/Layer.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_LAYER_H__ -#define __EWOL_LAYER_H__ +#pragma once #include #include @@ -38,4 +36,3 @@ namespace ewol { }; }; -#endif diff --git a/ewol/widget/List.h b/ewol/widget/List.h index faffa819..87a26c3a 100644 --- a/ewol/widget/List.h +++ b/ewol/widget/List.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_LIST_H__ -#define __EWOL_LIST_H__ +#pragma once #include #include @@ -87,4 +85,3 @@ namespace ewol { }; }; -#endif diff --git a/ewol/widget/ListFileSystem.h b/ewol/widget/ListFileSystem.h index 643e8fce..33c81b41 100644 --- a/ewol/widget/ListFileSystem.h +++ b/ewol/widget/ListFileSystem.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_LIST_FILE_H__ -#define __EWOL_LIST_FILE_H__ +#pragma once #include #include @@ -160,5 +158,4 @@ namespace ewol { }; }; -#endif diff --git a/ewol/widget/Manager.h b/ewol/widget/Manager.h index c839c921..46f6670b 100644 --- a/ewol/widget/Manager.h +++ b/ewol/widget/Manager.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_WIDGET_MANAGER_H__ -#define __EWOL_WIDGET_MANAGER_H__ +#pragma once #include #include @@ -54,5 +52,3 @@ namespace ewol { }; }; -#endif - diff --git a/ewol/widget/Menu.h b/ewol/widget/Menu.h index 111e0723..9b2dc220 100644 --- a/ewol/widget/Menu.h +++ b/ewol/widget/Menu.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_MENU_H__ -#define __EWOL_MENU_H__ +#pragma once #include #include @@ -63,4 +61,3 @@ namespace ewol { }; }; -#endif diff --git a/ewol/widget/PopUp.h b/ewol/widget/PopUp.h index ebca5f67..1b07cf8a 100644 --- a/ewol/widget/PopUp.h +++ b/ewol/widget/PopUp.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_POP_UP_H__ -#define __EWOL_POP_UP_H__ +#pragma once #include #include @@ -87,4 +85,3 @@ namespace ewol { }; }; -#endif diff --git a/ewol/widget/ProgressBar.h b/ewol/widget/ProgressBar.h index 8b50ec98..0e5419f1 100644 --- a/ewol/widget/ProgressBar.h +++ b/ewol/widget/ProgressBar.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_PROGRESS_BAR_H__ -#define __EWOL_PROGRESS_BAR_H__ +#pragma once #include #include @@ -52,4 +50,3 @@ namespace ewol { }; }; -#endif diff --git a/ewol/widget/Scroll.h b/ewol/widget/Scroll.h index 4475755a..d87fc17d 100644 --- a/ewol/widget/Scroll.h +++ b/ewol/widget/Scroll.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_WIDGET_SCROLL_H__ -#define __EWOL_WIDGET_SCROLL_H__ +#pragma once #include #include @@ -69,7 +67,6 @@ namespace ewol { virtual void onDraw(); virtual void onParameterChangeValue(const ewol::parameter::Ref& _paramPointer); }; - }; -}; + } +} -#endif diff --git a/ewol/widget/Sizer.h b/ewol/widget/Sizer.h index 0160c00c..e77f07f0 100644 --- a/ewol/widget/Sizer.h +++ b/ewol/widget/Sizer.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_SIZER_H__ -#define __EWOL_SIZER_H__ +#pragma once #include #include @@ -152,7 +150,6 @@ namespace ewol { virtual void onRegenerateDisplay(); virtual void onDraw(); }; - }; -}; + } +} -#endif diff --git a/ewol/widget/Slider.h b/ewol/widget/Slider.h index a8981163..10c904c2 100644 --- a/ewol/widget/Slider.h +++ b/ewol/widget/Slider.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_SLIDER_H__ -#define __EWOL_SLIDER_H__ +#pragma once #include #include @@ -116,7 +114,6 @@ namespace ewol { virtual bool onEventInput(const ewol::event::Input& _event); virtual void onParameterChangeValue(const ewol::parameter::Ref& _paramPointer); }; - }; -}; + } +} -#endif diff --git a/ewol/widget/Spacer.h b/ewol/widget/Spacer.h index 62ed6919..eff0df50 100644 --- a/ewol/widget/Spacer.h +++ b/ewol/widget/Spacer.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_SPACER_H__ -#define __EWOL_SPACER_H__ +#pragma once #include #include @@ -53,7 +51,6 @@ namespace ewol { virtual void onDraw(); virtual void onParameterChangeValue(const ewol::parameter::Ref& _paramPointer); }; - }; -}; + } +} -#endif diff --git a/ewol/widget/WSlider.h b/ewol/widget/WSlider.h index aff85aad..3f771d66 100644 --- a/ewol/widget/WSlider.h +++ b/ewol/widget/WSlider.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_W_SLIDER_H__ -#define __EWOL_W_SLIDER_H__ +#pragma once #include #include @@ -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 diff --git a/ewol/widget/Widget.h b/ewol/widget/Widget.h index 5864b8cb..e5d88f5c 100644 --- a/ewol/widget/Widget.h +++ b/ewol/widget/Widget.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_WIDGET_H__ -#define __EWOL_WIDGET_H__ +#pragma once #include #include @@ -758,4 +756,3 @@ namespace ewol { #include -#endif diff --git a/ewol/widget/WidgetScrolled.h b/ewol/widget/WidgetScrolled.h index 2648ea71..c549b1cd 100644 --- a/ewol/widget/WidgetScrolled.h +++ b/ewol/widget/WidgetScrolled.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_SCROLLED_WIDGET_H__ -#define __EWOL_SCROLLED_WIDGET_H__ +#pragma once #include #include @@ -117,7 +115,6 @@ namespace ewol { m_limitScrolling = std::avg(0.1f, _poucentageLimit,0.9f); }; }; - }; -}; + } +} -#endif diff --git a/ewol/widget/Windows.h b/ewol/widget/Windows.h index fcffbd2c..a6a34bb5 100644 --- a/ewol/widget/Windows.h +++ b/ewol/widget/Windows.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_WINDOWS_H__ -#define __EWOL_WINDOWS_H__ +#pragma once #include #include @@ -132,8 +130,6 @@ namespace ewol { }; */ }; - }; -}; - -#endif + } +} diff --git a/ewol/widget/meta/ColorChooser.h b/ewol/widget/meta/ColorChooser.h index c8307028..3ad7c694 100644 --- a/ewol/widget/meta/ColorChooser.h +++ b/ewol/widget/meta/ColorChooser.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_COLOR_CHOOSER_H__ -#define __EWOL_COLOR_CHOOSER_H__ +#pragma once #include #include @@ -53,5 +51,3 @@ namespace ewol { }; }; }; - -#endif diff --git a/ewol/widget/meta/FileChooser.h b/ewol/widget/meta/FileChooser.h index efb9ccbf..9ae8a97e 100644 --- a/ewol/widget/meta/FileChooser.h +++ b/ewol/widget/meta/FileChooser.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_FILE_CHOOSER_H__ -#define __EWOL_FILE_CHOOSER_H__ +#pragma once #include #include @@ -102,5 +100,3 @@ namespace ewol { }; }; }; - -#endif diff --git a/ewol/widget/meta/Parameter.h b/ewol/widget/meta/Parameter.h index 4a9f9eee..54f7b217 100644 --- a/ewol/widget/meta/Parameter.h +++ b/ewol/widget/meta/Parameter.h @@ -5,9 +5,7 @@ * * @license APACHE v2.0 (see license file) */ - -#ifndef __EWOL_WIDGET_PARAMETER_H__ -#define __EWOL_WIDGET_PARAMETER_H__ +#pragma once #include #include @@ -55,4 +53,3 @@ namespace ewol { }; }; -#endif diff --git a/ewol/widget/meta/ParameterList.h b/ewol/widget/meta/ParameterList.h index 5e88a2b2..51dad8fe 100644 --- a/ewol/widget/meta/ParameterList.h +++ b/ewol/widget/meta/ParameterList.h @@ -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 #include @@ -81,5 +80,3 @@ namespace ewol { }; -#endif - diff --git a/ewol/widget/meta/StdPopUp.h b/ewol/widget/meta/StdPopUp.h index ddb62632..12964686 100644 --- a/ewol/widget/meta/StdPopUp.h +++ b/ewol/widget/meta/StdPopUp.h @@ -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 #include @@ -79,7 +77,6 @@ namespace ewol { public: // callback function void onCallBackButtonExit(); }; - }; -}; + } +} -#endif diff --git a/sample/001_HelloWord/appl/Main.h b/sample/001_HelloWord/appl/Main.h index 8a45fb5e..2e88bafe 100644 --- a/sample/001_HelloWord/appl/Main.h +++ b/sample/001_HelloWord/appl/Main.h @@ -5,10 +5,5 @@ * * @license GPL v3 (see license file) */ - -#ifndef __APPL_MAIN_H__ -#define __APPL_MAIN_H__ - - -#endif +#pragma once diff --git a/sample/001_HelloWord/appl/Windows.h b/sample/001_HelloWord/appl/Windows.h index 92614217..ecb5cebe 100644 --- a/sample/001_HelloWord/appl/Windows.h +++ b/sample/001_HelloWord/appl/Windows.h @@ -5,9 +5,7 @@ * * @license GPL v3 (see license file) */ - -#ifndef __APPL_WINDOWS_H__ -#define __APPL_WINDOWS_H__ +#pragma once #include @@ -19,7 +17,5 @@ namespace appl { public: DECLARE_FACTORY(Windows); }; -}; +} - -#endif \ No newline at end of file diff --git a/sample/001_HelloWord/appl/debug.h b/sample/001_HelloWord/appl/debug.h index 75fb1ca2..eaf194a9 100644 --- a/sample/001_HelloWord/appl/debug.h +++ b/sample/001_HelloWord/appl/debug.h @@ -5,10 +5,7 @@ * * @license GPL v3 (see license file) */ - - -#ifndef __APPL_DEBUG_H__ -#define __APPL_DEBUG_H__ +#pragma once #include @@ -39,5 +36,3 @@ namespace appl { assert(!#cond); \ } \ } while (0) - -#endif diff --git a/sample/0XX_CustomWidgets/appl/Main.h b/sample/0XX_CustomWidgets/appl/Main.h index 992aac15..462f0be7 100644 --- a/sample/0XX_CustomWidgets/appl/Main.h +++ b/sample/0XX_CustomWidgets/appl/Main.h @@ -6,9 +6,5 @@ * @license BSD 3 clauses (see license file) */ -#ifndef __APPL_MAIN_H__ -#define __APPL_MAIN_H__ - - -#endif +#pragma once diff --git a/sample/0XX_CustomWidgets/appl/Windows.h b/sample/0XX_CustomWidgets/appl/Windows.h index f25ac1cc..c4806ee2 100644 --- a/sample/0XX_CustomWidgets/appl/Windows.h +++ b/sample/0XX_CustomWidgets/appl/Windows.h @@ -5,9 +5,7 @@ * * @license BSD 3 clauses (see license file) */ - -#ifndef __APPL_WINDOWS_H__ -#define __APPL_WINDOWS_H__ +#pragma once #include #include @@ -25,7 +23,4 @@ namespace appl { void onCallbackChangeValues(); void onCallbackAutoMode(); }; -}; - - -#endif \ No newline at end of file +} diff --git a/sample/0XX_CustomWidgets/appl/debug.h b/sample/0XX_CustomWidgets/appl/debug.h index 06c068ec..5950b0fc 100644 --- a/sample/0XX_CustomWidgets/appl/debug.h +++ b/sample/0XX_CustomWidgets/appl/debug.h @@ -5,9 +5,7 @@ * * @license BSD 3 clauses (see license file) */ - -#ifndef __APPL_DEBUG_H__ -#define __APPL_DEBUG_H__ +#pragma once #include @@ -39,5 +37,3 @@ namespace appl { } \ } while (0) -#endif - diff --git a/sample/0XX_CustomWidgets/appl/widget/VectorDisplay.h b/sample/0XX_CustomWidgets/appl/widget/VectorDisplay.h index 929e751d..18790668 100644 --- a/sample/0XX_CustomWidgets/appl/widget/VectorDisplay.h +++ b/sample/0XX_CustomWidgets/appl/widget/VectorDisplay.h @@ -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 #include @@ -40,7 +38,6 @@ namespace appl { virtual void onRegenerateDisplay(); virtual void periodicCall(const ewol::event::Time& _event); }; - }; -}; + } +} -#endif diff --git a/sample/examplewallpaper/appl/Main.h b/sample/examplewallpaper/appl/Main.h index 8a45fb5e..5bb64b39 100644 --- a/sample/examplewallpaper/appl/Main.h +++ b/sample/examplewallpaper/appl/Main.h @@ -6,9 +6,5 @@ * @license GPL v3 (see license file) */ -#ifndef __APPL_MAIN_H__ -#define __APPL_MAIN_H__ - - -#endif +#pragma once diff --git a/sample/examplewallpaper/appl/WidgetDisplay.h b/sample/examplewallpaper/appl/WidgetDisplay.h index 45275bd1..567ae7c1 100644 --- a/sample/examplewallpaper/appl/WidgetDisplay.h +++ b/sample/examplewallpaper/appl/WidgetDisplay.h @@ -5,9 +5,7 @@ * * @license GPL v3 (see license file) */ - -#ifndef __APPL_WIDGET_DISPLAY_H__ -#define __APPL_WIDGET_DISPLAY_H__ +#pragma once #include #include @@ -43,7 +41,6 @@ namespace appl { virtual bool onEventInput(const ewol::event::Input& _event); virtual void onDraw(); }; -}; +} -#endif diff --git a/sample/examplewallpaper/appl/Windows.h b/sample/examplewallpaper/appl/Windows.h index e7e31fc4..ad78f5ba 100644 --- a/sample/examplewallpaper/appl/Windows.h +++ b/sample/examplewallpaper/appl/Windows.h @@ -5,9 +5,7 @@ * * @license GPL v3 (see license file) */ - -#ifndef __APPL_WINDOWS_H__ -#define __APPL_WINDOWS_H__ +#pragma once #include #include @@ -21,7 +19,4 @@ namespace appl { DECLARE_FACTORY(Windows); virtual ~Windows(); }; -}; - - -#endif \ No newline at end of file +} diff --git a/sample/examplewallpaper/appl/debug.h b/sample/examplewallpaper/appl/debug.h index 1596a606..8ab4a494 100644 --- a/sample/examplewallpaper/appl/debug.h +++ b/sample/examplewallpaper/appl/debug.h @@ -5,9 +5,7 @@ * * @license GPL v3 (see license file) */ - -#ifndef __APPL_DEBUG_H__ -#define __APPL_DEBUG_H__ +#pragma once #include @@ -39,5 +37,3 @@ namespace appl { } \ } while (0) -#endif - diff --git a/tools/visual_test/appl/MainWindows.h b/tools/visual_test/appl/MainWindows.h index ad4c88b8..02e00841 100644 --- a/tools/visual_test/appl/MainWindows.h +++ b/tools/visual_test/appl/MainWindows.h @@ -5,9 +5,7 @@ * * @license BSD v3 (see license file) */ - -#ifndef __MAIN_WINDOWS_H__ -#define __MAIN_WINDOWS_H__ +#pragma once #include #include @@ -39,6 +37,5 @@ namespace appl { void updateProperty(); }; }; -#endif diff --git a/tools/visual_test/appl/TestButton.h b/tools/visual_test/appl/TestButton.h index 0e5f389a..8b18e961 100644 --- a/tools/visual_test/appl/TestButton.h +++ b/tools/visual_test/appl/TestButton.h @@ -5,9 +5,7 @@ * * @license BSD v3 (see license file) */ - -#ifndef __TEST_BUTTON_H__ -#define __TEST_BUTTON_H__ +#pragma once #include #include @@ -31,6 +29,4 @@ namespace appl { void onCallbackTextToggle(const bool& _value); void onCallbackChangeText(); }; -}; - -#endif +} diff --git a/tools/visual_test/appl/TestButtonColor.h b/tools/visual_test/appl/TestButtonColor.h index 952d6727..d336e1fe 100644 --- a/tools/visual_test/appl/TestButtonColor.h +++ b/tools/visual_test/appl/TestButtonColor.h @@ -5,9 +5,7 @@ * * @license BSD v3 (see license file) */ - -#ifndef __TEST_BUTTON_COLOR_H__ -#define __TEST_BUTTON_COLOR_H__ +#pragma once #include #include @@ -34,6 +32,5 @@ namespace appl { void onCallbackFillY(const bool& _value); void onCallbackChangeColor(const etk::Color<>& _value); }; -}; +} -#endif diff --git a/tools/visual_test/appl/TestCheckBox.h b/tools/visual_test/appl/TestCheckBox.h index 1259e690..99464c94 100644 --- a/tools/visual_test/appl/TestCheckBox.h +++ b/tools/visual_test/appl/TestCheckBox.h @@ -5,9 +5,7 @@ * * @license BSD v3 (see license file) */ - -#ifndef __TEST_CHECK_BOX_H__ -#define __TEST_CHECK_BOX_H__ +#pragma once #include #include @@ -31,7 +29,6 @@ namespace appl { void onCallbackTextToggle(const bool& _value); void onCallbackChangeText(); }; -}; +} -#endif diff --git a/tools/visual_test/appl/TestDistanceField.h b/tools/visual_test/appl/TestDistanceField.h index b053c4cf..d38da4f4 100644 --- a/tools/visual_test/appl/TestDistanceField.h +++ b/tools/visual_test/appl/TestDistanceField.h @@ -5,9 +5,7 @@ * * @license BSD v3 (see license file) */ - -#ifndef __TEST_DISTANCE_FIELD_H__ -#define __TEST_DISTANCE_FIELD_H__ +#pragma once #include #include @@ -34,6 +32,5 @@ namespace appl { virtual void onRegenerateDisplay(); virtual bool onEventInput(const ewol::event::Input& _event); }; -}; +} -#endif diff --git a/tools/visual_test/appl/TestImage.h b/tools/visual_test/appl/TestImage.h index b1704ec2..0beaa001 100644 --- a/tools/visual_test/appl/TestImage.h +++ b/tools/visual_test/appl/TestImage.h @@ -5,9 +5,7 @@ * * @license BSD v3 (see license file) */ - -#ifndef __TEST_IMAGE_H__ -#define __TEST_IMAGE_H__ +#pragma once #include #include @@ -34,6 +32,5 @@ namespace appl { void onCallbackFillY(const bool& _value); void onCallbackChangeImage(); }; -}; +} -#endif diff --git a/tools/visual_test/appl/TestLabel.h b/tools/visual_test/appl/TestLabel.h index feacaeeb..f4fc6738 100644 --- a/tools/visual_test/appl/TestLabel.h +++ b/tools/visual_test/appl/TestLabel.h @@ -5,9 +5,7 @@ * * @license BSD v3 (see license file) */ - -#ifndef __TEST_LABEL_H__ -#define __TEST_LABEL_H__ +#pragma once #include #include @@ -41,7 +39,6 @@ namespace appl { void onCallbackMaxSize(const bool& _value); void onCallbackChangeLabel(); }; -}; +} -#endif diff --git a/tools/visual_test/appl/TestScene.h b/tools/visual_test/appl/TestScene.h index 67c2fa47..4cdd1b9e 100644 --- a/tools/visual_test/appl/TestScene.h +++ b/tools/visual_test/appl/TestScene.h @@ -5,9 +5,7 @@ * * @license BSD v3 (see license file) */ - -#ifndef __TEST_SCENE_H__ -#define __TEST_SCENE_H__ +#pragma once #include #include @@ -25,4 +23,3 @@ class TestScene : public ewol::widget::Sizer { virtual void onReceiveMessage(const ewol::object::Message& _msg); }; -#endif diff --git a/tools/visual_test/appl/debug.h b/tools/visual_test/appl/debug.h index cad939e5..d48fa3a6 100644 --- a/tools/visual_test/appl/debug.h +++ b/tools/visual_test/appl/debug.h @@ -5,10 +5,7 @@ * * @license GPL v3 (see license file) */ - - -#ifndef __APPL_DEBUG_H__ -#define __APPL_DEBUG_H__ +#pragma once #include @@ -48,5 +45,3 @@ namespace appl { assert(!#cond); \ } \ } while (0) - -#endif diff --git a/tools/visual_test/data/gui.xml b/tools/visual_test/data/gui.xml index 41b8e1f3..a9951c3b 100644 --- a/tools/visual_test/data/gui.xml +++ b/tools/visual_test/data/gui.xml @@ -2,6 +2,10 @@ + + + +