[DEBUG] correct .hpp port + clean libC include
This commit is contained in:
parent
4064951d55
commit
891117fcfc
@ -13,9 +13,9 @@ debug tools: {#ewol_tutorial_hello_world_deb
|
|||||||
|
|
||||||
I will use for all test a basic template [elog](http://atria-soft.github.io/elog) for debug logger that redirect logs in Android and IOs
|
I will use for all test a basic template [elog](http://atria-soft.github.io/elog) for debug logger that redirect logs in Android and IOs
|
||||||
|
|
||||||
File ```appl/debug.h```:
|
File ```appl/debug.hpp```:
|
||||||
|
|
||||||
@include HelloWord/appl/debug.h
|
@include HelloWord/appl/debug.hpp
|
||||||
|
|
||||||
File ```appl/debug.cpp```:
|
File ```appl/debug.cpp```:
|
||||||
|
|
||||||
@ -109,7 +109,7 @@ Create the main Windows:
|
|||||||
|
|
||||||
For this point we will create a class that herited form the basic ewol::widget::Windows class:
|
For this point we will create a class that herited form the basic ewol::widget::Windows class:
|
||||||
|
|
||||||
@include HelloWord/appl/Windows.h
|
@include HelloWord/appl/Windows.hpp
|
||||||
|
|
||||||
The C macro "DECLARE_FACTORY" create a simple factory function "create" that return the ewol::Object well create.
|
The C macro "DECLARE_FACTORY" create a simple factory function "create" that return the ewol::Object well create.
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ Find a global Object (ouside an Object)
|
|||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
```{.cpp}
|
```{.cpp}
|
||||||
#include <ewol/context/Context.h>
|
#include <ewol/context/Context.hpp>
|
||||||
|
|
||||||
ewol::ObjectShared tmpObject = ewol::getContext().getEObjectManager().getObjectNamed("obj Name");
|
ewol::ObjectShared tmpObject = ewol::getContext().getEObjectManager().getObjectNamed("obj Name");
|
||||||
if (tmpObject == nullptr) {
|
if (tmpObject == nullptr) {
|
||||||
|
@ -54,7 +54,7 @@ Implement configuration {#ewol_tutorial_object_co
|
|||||||
=======================
|
=======================
|
||||||
|
|
||||||
```{.cpp}
|
```{.cpp}
|
||||||
#include <ewol/object/Object.h>
|
#include <ewol/object/Object.hpp>
|
||||||
namespace appl {
|
namespace appl {
|
||||||
class MyObj : public ewol::Object {
|
class MyObj : public ewol::Object {
|
||||||
public:
|
public:
|
||||||
|
@ -39,8 +39,8 @@ simple signal connection:
|
|||||||
-------------------------
|
-------------------------
|
||||||
|
|
||||||
```{.cpp}
|
```{.cpp}
|
||||||
#include <ewol/object/Object.h>
|
#include <ewol/object/Object.hpp>
|
||||||
#include <ewol/widget/Button.h>
|
#include <ewol/widget/Button.hpp>
|
||||||
namespace appl {
|
namespace appl {
|
||||||
class MyObj : public ewol::Object {
|
class MyObj : public ewol::Object {
|
||||||
private:
|
private:
|
||||||
@ -107,8 +107,8 @@ source
|
|||||||
-------
|
-------
|
||||||
|
|
||||||
```{.cpp}
|
```{.cpp}
|
||||||
#include <ewol/object/Object.h>
|
#include <ewol/object/Object.hpp>
|
||||||
#include <ewol/widget/Button.h>
|
#include <ewol/widget/Button.hpp>
|
||||||
namespace appl {
|
namespace appl {
|
||||||
class MyObj : public ewol::Object {
|
class MyObj : public ewol::Object {
|
||||||
public:
|
public:
|
||||||
|
@ -69,7 +69,7 @@ Read a file {#ewol_tutorial_file_access_read}
|
|||||||
|
|
||||||
|
|
||||||
```{.cpp}
|
```{.cpp}
|
||||||
#include <etk/os/FSNode.h>
|
#include <etk/os/FSNode.hpp>
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
||||||
@ -97,7 +97,7 @@ Write a file {#ewol_tutorial_file_access_write}
|
|||||||
============
|
============
|
||||||
|
|
||||||
```{.cpp}
|
```{.cpp}
|
||||||
#include <etk/os/FSNode.h>
|
#include <etk/os/FSNode.hpp>
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
||||||
|
@ -27,8 +27,8 @@ Get a resource: {#ewol_tutorial_resources_get}
|
|||||||
|
|
||||||
For this example we will load a configuration file:
|
For this example we will load a configuration file:
|
||||||
```{.cpp}
|
```{.cpp}
|
||||||
#include <ewol/object/Object.h>
|
#include <ewol/object/Object.hpp>
|
||||||
#include <ewol/resource/ConfigFile.h>
|
#include <ewol/resource/ConfigFile.hpp>
|
||||||
namespace appl {
|
namespace appl {
|
||||||
class MyObj : public ewol::Object {
|
class MyObj : public ewol::Object {
|
||||||
public:
|
public:
|
||||||
@ -90,7 +90,7 @@ The resources are loaded fron 0 to 5.
|
|||||||
Then for basic resource:
|
Then for basic resource:
|
||||||
|
|
||||||
```{.cpp}
|
```{.cpp}
|
||||||
#include <ewol/object/Resource.h>
|
#include <ewol/object/Resource.hpp>
|
||||||
namespace appl {
|
namespace appl {
|
||||||
class MyResource : public gale::Resource {
|
class MyResource : public gale::Resource {
|
||||||
protected:
|
protected:
|
||||||
|
@ -76,7 +76,7 @@ Call generic factory system (compositing)
|
|||||||
-----------------------------------------
|
-----------------------------------------
|
||||||
|
|
||||||
```{.cpp}
|
```{.cpp}
|
||||||
#include <ewol::widget::Composer.h>
|
#include <ewol::widget::Composer.hpp>
|
||||||
ewol::widget::WidgetShared tmpWidget = ewol::widget::composerGenerateString("<button name='my name' expand='true,false' fill='true,true'/>");
|
ewol::widget::WidgetShared tmpWidget = ewol::widget::composerGenerateString("<button name='my name' expand='true,false' fill='true,true'/>");
|
||||||
if (tmpWidget == nullptr) {
|
if (tmpWidget == nullptr) {
|
||||||
APPL_CRITICAL("The widget can not be created");
|
APPL_CRITICAL("The widget can not be created");
|
||||||
@ -97,7 +97,7 @@ File ```gui.xml```
|
|||||||
```
|
```
|
||||||
|
|
||||||
```{.cpp}
|
```{.cpp}
|
||||||
#include <ewol::widget::Composer.h>
|
#include <ewol::widget::Composer.hpp>
|
||||||
ewol::widget::WidgetShared tmpWidget = ewol::widget::composerGenerateFile("DATA:gui.xml");
|
ewol::widget::WidgetShared tmpWidget = ewol::widget::composerGenerateFile("DATA:gui.xml");
|
||||||
if (tmpWidget == nullptr) {
|
if (tmpWidget == nullptr) {
|
||||||
APPL_CRITICAL("The widget can not be created");
|
APPL_CRITICAL("The widget can not be created");
|
||||||
|
@ -20,8 +20,8 @@ Header
|
|||||||
------
|
------
|
||||||
|
|
||||||
```{.cpp}
|
```{.cpp}
|
||||||
#include <ewol/widget/Widget.h>
|
#include <ewol/widget/Widget.hpp>
|
||||||
#include <ewol/compisiting/Widget.h>
|
#include <ewol/compisiting/Widget.hpp>
|
||||||
namespace appl {
|
namespace appl {
|
||||||
class myWidget : public ewol::Widget {
|
class myWidget : public ewol::Widget {
|
||||||
private:
|
private:
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#include <ewol/debug.hpp>
|
#include <ewol/debug.hpp>
|
||||||
#include <ewol/compositing/TextDF.hpp>
|
#include <ewol/compositing/TextDF.hpp>
|
||||||
#include <ewol/context/Context.hpp>
|
#include <ewol/context/Context.hpp>
|
||||||
#include <etk/types.h>
|
#include <etk/types.hpp>
|
||||||
|
|
||||||
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),
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#include <ewol/resource/FontFreeType.hpp>
|
#include <ewol/resource/FontFreeType.hpp>
|
||||||
#include <ewol/context/Context.hpp>
|
#include <ewol/context/Context.hpp>
|
||||||
#include <ewol/resource/DistanceFieldFont.hpp>
|
#include <ewol/resource/DistanceFieldFont.hpp>
|
||||||
#include <edtaa3/edtaa3func.hpp>
|
#include <edtaa3/edtaa3func.h>
|
||||||
#include <ejson/ejson.hpp>
|
#include <ejson/ejson.hpp>
|
||||||
|
|
||||||
#define SIZE_GENERATION (30)
|
#define SIZE_GENERATION (30)
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
#include <gale/resource/Manager.hpp>
|
#include <gale/resource/Manager.hpp>
|
||||||
#include <ewol/resource/ImageDF.hpp>
|
#include <ewol/resource/ImageDF.hpp>
|
||||||
#include <ewol/resource/Texture.hpp>
|
#include <ewol/resource/Texture.hpp>
|
||||||
#include <edtaa3/edtaa3func.hpp>
|
#include <edtaa3/edtaa3func.h>
|
||||||
|
|
||||||
ewol::resource::ImageDF::ImageDF() {
|
ewol::resource::ImageDF::ImageDF() {
|
||||||
addResourceType("ewol::resource::ImageDF");
|
addResourceType("ewol::resource::ImageDF");
|
||||||
|
@ -47,7 +47,7 @@ ewol::resource::Texture::~Texture() {
|
|||||||
removeContext();
|
removeContext();
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <egami/egami.h>
|
#include <egami/egami.hpp>
|
||||||
|
|
||||||
bool ewol::resource::Texture::updateContext() {
|
bool ewol::resource::Texture::updateContext() {
|
||||||
EWOL_INFO("updateContext [START]");
|
EWOL_INFO("updateContext [START]");
|
||||||
|
@ -5,16 +5,16 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.hpp>
|
||||||
#include <ewol/ewol.h>
|
#include <ewol/ewol.hpp>
|
||||||
#include <gale/context/commandLine.h>
|
#include <gale/context/commandLine.hpp>
|
||||||
|
|
||||||
#include <appl/debug.h>
|
#include <appl/debug.hpp>
|
||||||
#include <appl/Windows.h>
|
#include <appl/Windows.hpp>
|
||||||
#include <ewol/object/Object.h>
|
#include <ewol/object/Object.hpp>
|
||||||
#include <ewol/widget/Manager.h>
|
#include <ewol/widget/Manager.hpp>
|
||||||
#include <ewol/context/Context.h>
|
#include <ewol/context/Context.hpp>
|
||||||
#include <appl/widget/VectorDisplay.h>
|
#include <appl/widget/VectorDisplay.hpp>
|
||||||
|
|
||||||
|
|
||||||
class MainApplication : public ewol::context::Application {
|
class MainApplication : public ewol::context::Application {
|
||||||
|
@ -4,13 +4,13 @@
|
|||||||
* @license BSD 3 clauses (see license file)
|
* @license BSD 3 clauses (see license file)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ewol/ewol.h>
|
#include <ewol/ewol.hpp>
|
||||||
#include <appl/debug.h>
|
#include <appl/debug.hpp>
|
||||||
#include <appl/Windows.h>
|
#include <appl/Windows.hpp>
|
||||||
#include <ewol/widget/Label.h>
|
#include <ewol/widget/Label.hpp>
|
||||||
#include <ewol/widget/Button.h>
|
#include <ewol/widget/Button.hpp>
|
||||||
#include <appl/widget/VectorDisplay.h>
|
#include <appl/widget/VectorDisplay.hpp>
|
||||||
#include <etk/tool.h>
|
#include <etk/tool.hpp>
|
||||||
|
|
||||||
appl::Windows::Windows() :
|
appl::Windows::Windows() :
|
||||||
m_composer(nullptr) {
|
m_composer(nullptr) {
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <ewol/widget/Windows.h>
|
#include <ewol/widget/Windows.hpp>
|
||||||
#include <ewol/widget/Composer.h>
|
#include <ewol/widget/Composer.hpp>
|
||||||
|
|
||||||
namespace appl {
|
namespace appl {
|
||||||
class Windows;
|
class Windows;
|
@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <appl/debug.h>
|
#include <appl/debug.hpp>
|
||||||
|
|
||||||
int32_t appl::getLogId() {
|
int32_t appl::getLogId() {
|
||||||
static int32_t g_val = elog::registerInstance("example");
|
static int32_t g_val = elog::registerInstance("example");
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <elog/log.h>
|
#include <elog/log.hpp>
|
||||||
|
|
||||||
namespace appl {
|
namespace appl {
|
||||||
int32_t getLogId();
|
int32_t getLogId();
|
@ -4,10 +4,10 @@
|
|||||||
* @license APACHE v2.0 (see license file)
|
* @license APACHE v2.0 (see license file)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <appl/debug.h>
|
#include <appl/debug.hpp>
|
||||||
#include <appl/widget/VectorDisplay.h>
|
#include <appl/widget/VectorDisplay.hpp>
|
||||||
#include <ewol/object/Manager.h>
|
#include <ewol/object/Manager.hpp>
|
||||||
#include <etk/tool.h>
|
#include <etk/tool.hpp>
|
||||||
|
|
||||||
//! [EWOL_SAMPLE_CW_CONSTRUCTOR]
|
//! [EWOL_SAMPLE_CW_CONSTRUCTOR]
|
||||||
appl::widget::VectorDisplay::VectorDisplay() :
|
appl::widget::VectorDisplay::VectorDisplay() :
|
||||||
|
@ -7,9 +7,9 @@
|
|||||||
|
|
||||||
//! [EWOL_SAMPLE_CW_HEADER]
|
//! [EWOL_SAMPLE_CW_HEADER]
|
||||||
|
|
||||||
#include <ewol/widget/Widget.h>
|
#include <ewol/widget/Widget.hpp>
|
||||||
#include <ewol/compositing/Drawing.h>
|
#include <ewol/compositing/Drawing.hpp>
|
||||||
#include <ewol/widget/Manager.h>
|
#include <ewol/widget/Manager.hpp>
|
||||||
|
|
||||||
namespace appl {
|
namespace appl {
|
||||||
namespace widget {
|
namespace widget {
|
||||||
@ -24,7 +24,7 @@ namespace appl {
|
|||||||
DECLARE_WIDGET_FACTORY(VectorDisplay, "VectorDisplay");
|
DECLARE_WIDGET_FACTORY(VectorDisplay, "VectorDisplay");
|
||||||
//! @brief destructor
|
//! @brief destructor
|
||||||
virtual ~VectorDisplay();
|
virtual ~VectorDisplay();
|
||||||
public
|
public:
|
||||||
void onDraw() override;
|
void onDraw() override;
|
||||||
void onRegenerateDisplay() override;
|
void onRegenerateDisplay() override;
|
||||||
//! [EWOL_SAMPLE_CW_HEADER]
|
//! [EWOL_SAMPLE_CW_HEADER]
|
@ -6,17 +6,17 @@
|
|||||||
//! [ewol_sample_HW_main_all]
|
//! [ewol_sample_HW_main_all]
|
||||||
|
|
||||||
//! [ewol_sample_HW_main_include]
|
//! [ewol_sample_HW_main_include]
|
||||||
#include <etk/types.h>
|
#include <etk/types.hpp>
|
||||||
#include <ewol/ewol.h>
|
#include <ewol/ewol.hpp>
|
||||||
#include <gale/context/commandLine.h>
|
#include <gale/context/commandLine.hpp>
|
||||||
//! [ewol_sample_HW_main_include]
|
//! [ewol_sample_HW_main_include]
|
||||||
|
|
||||||
|
|
||||||
#include <appl/debug.h>
|
#include <appl/debug.hpp>
|
||||||
#include <appl/Windows.h>
|
#include <appl/Windows.hpp>
|
||||||
#include <ewol/object/Object.h>
|
#include <ewol/object/Object.hpp>
|
||||||
#include <ewol/widget/Manager.h>
|
#include <ewol/widget/Manager.hpp>
|
||||||
#include <ewol/context/Context.h>
|
#include <ewol/context/Context.hpp>
|
||||||
|
|
||||||
//! [ewol_sample_HW_main_application]
|
//! [ewol_sample_HW_main_application]
|
||||||
namespace appl {
|
namespace appl {
|
||||||
|
@ -4,10 +4,10 @@
|
|||||||
* @license GPL v3 (see license file)
|
* @license GPL v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ewol/ewol.h>
|
#include <ewol/ewol.hpp>
|
||||||
#include <appl/debug.h>
|
#include <appl/debug.hpp>
|
||||||
#include <appl/Windows.h>
|
#include <appl/Windows.hpp>
|
||||||
#include <ewol/widget/Label.h>
|
#include <ewol/widget/Label.hpp>
|
||||||
|
|
||||||
appl::Windows::Windows() {
|
appl::Windows::Windows() {
|
||||||
addObjectType("appl::Windows");
|
addObjectType("appl::Windows");
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <ewol/widget/Windows.h>
|
#include <ewol/widget/Windows.hpp>
|
||||||
|
|
||||||
namespace appl {
|
namespace appl {
|
||||||
class Windows;
|
class Windows;
|
@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <appl/debug.h>
|
#include <appl/debug.hpp>
|
||||||
|
|
||||||
int32_t appl::getLogId() {
|
int32_t appl::getLogId() {
|
||||||
static int32_t g_val = elog::registerInstance("example");
|
static int32_t g_val = elog::registerInstance("example");
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <elog/log.h>
|
#include <elog/log.hpp>
|
||||||
|
|
||||||
namespace appl {
|
namespace appl {
|
||||||
int32_t getLogId();
|
int32_t getLogId();
|
@ -5,15 +5,15 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.hpp>
|
||||||
#include <ewol/ewol.h>
|
#include <ewol/ewol.hpp>
|
||||||
#include <gale/context/commandLine.h>
|
#include <gale/context/commandLine.hpp>
|
||||||
|
|
||||||
#include <appl/debug.h>
|
#include <appl/debug.hpp>
|
||||||
#include <appl/Windows.h>
|
#include <appl/Windows.hpp>
|
||||||
#include <ewol/object/Object.h>
|
#include <ewol/object/Object.hpp>
|
||||||
#include <ewol/widget/Manager.h>
|
#include <ewol/widget/Manager.hpp>
|
||||||
#include <ewol/context/Context.h>
|
#include <ewol/context/Context.hpp>
|
||||||
|
|
||||||
|
|
||||||
class MainApplication : public ewol::context::Application {
|
class MainApplication : public ewol::context::Application {
|
||||||
|
@ -4,10 +4,10 @@
|
|||||||
* @license GPL v3 (see license file)
|
* @license GPL v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <appl/WidgetDisplay.h>
|
#include <appl/WidgetDisplay.hpp>
|
||||||
|
|
||||||
#include <appl/debug.h>
|
#include <appl/debug.hpp>
|
||||||
#include <etk/tool.h>
|
#include <etk/tool.hpp>
|
||||||
|
|
||||||
appl::WidgetDisplay::WidgetDisplay() {
|
appl::WidgetDisplay::WidgetDisplay() {
|
||||||
addObjectType("appl::WidgetDisplay");
|
addObjectType("appl::WidgetDisplay");
|
||||||
|
@ -5,9 +5,9 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <etk/Color.h>
|
#include <etk/Color.hpp>
|
||||||
#include <ewol/widget/Widget.h>
|
#include <ewol/widget/Widget.hpp>
|
||||||
#include <ewol/compositing/Image.h>
|
#include <ewol/compositing/Image.hpp>
|
||||||
|
|
||||||
namespace appl {
|
namespace appl {
|
||||||
class WidgetDisplay;
|
class WidgetDisplay;
|
@ -4,10 +4,10 @@
|
|||||||
* @license GPL v3 (see license file)
|
* @license GPL v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ewol/ewol.h>
|
#include <ewol/ewol.hpp>
|
||||||
#include <appl/debug.h>
|
#include <appl/debug.hpp>
|
||||||
#include <appl/WidgetDisplay.h>
|
#include <appl/WidgetDisplay.hpp>
|
||||||
#include <appl/Windows.h>
|
#include <appl/Windows.hpp>
|
||||||
|
|
||||||
appl::Windows::Windows() {
|
appl::Windows::Windows() {
|
||||||
addObjectType("appl::Windows");
|
addObjectType("appl::Windows");
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <appl/WidgetDisplay.h>
|
#include <appl/WidgetDisplay.hpp>
|
||||||
#include <ewol/widget/Windows.h>
|
#include <ewol/widget/Windows.hpp>
|
||||||
|
|
||||||
namespace appl {
|
namespace appl {
|
||||||
class Windows;
|
class Windows;
|
@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <appl/debug.h>
|
#include <appl/debug.hpp>
|
||||||
|
|
||||||
int32_t appl::getLogId() {
|
int32_t appl::getLogId() {
|
||||||
static int32_t g_val = elog::registerInstance("example");
|
static int32_t g_val = elog::registerInstance("example");
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <elog/log.h>
|
#include <elog/log.hpp>
|
||||||
|
|
||||||
namespace appl {
|
namespace appl {
|
||||||
int32_t getLogId();
|
int32_t getLogId();
|
@ -4,16 +4,16 @@
|
|||||||
* @license APACHE v2.0 (see license file)
|
* @license APACHE v2.0 (see license file)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.hpp>
|
||||||
#include <test-debug/debug.h>
|
#include <test-debug/debug.hpp>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <etk/Hash.h>
|
#include <etk/Hash.hpp>
|
||||||
#include <etk/os/FSNode.h>
|
#include <etk/os/FSNode.hpp>
|
||||||
#include <etk/archive/Archive.h>
|
#include <etk/archive/Archive.hpp>
|
||||||
#include <etk/etk.h>
|
#include <etk/etk.hpp>
|
||||||
#include <etk/Color.h>
|
#include <etk/Color.hpp>
|
||||||
#include <etk/stdTools.h>
|
#include <etk/stdTools.hpp>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#define NAME "Empty"
|
#define NAME "Empty"
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
* @license APACHE v2.0 (see license file)
|
* @license APACHE v2.0 (see license file)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <test-debug/debug.h>
|
#include <test-debug/debug.hpp>
|
||||||
#include <ewol/context/Context.h>
|
#include <ewol/context/Context.hpp>
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#define NAME "Application"
|
#define NAME "Application"
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
* @license APACHE v2.0 (see license file)
|
* @license APACHE v2.0 (see license file)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <test-debug/debug.h>
|
#include <test-debug/debug.hpp>
|
||||||
#include <ewol/widget/Windows.h>
|
#include <ewol/widget/Windows.hpp>
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#define NAME "Windows"
|
#define NAME "Windows"
|
||||||
|
|
||||||
|
@ -5,28 +5,28 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <appl/debug.h>
|
#include <appl/debug.hpp>
|
||||||
#include <appl/MainWindows.h>
|
#include <appl/MainWindows.hpp>
|
||||||
|
|
||||||
#include <ewol/widget/Button.h>
|
#include <ewol/widget/Button.hpp>
|
||||||
#include <ewol/widget/CheckBox.h>
|
#include <ewol/widget/CheckBox.hpp>
|
||||||
#include <ewol/widget/Sizer.h>
|
#include <ewol/widget/Sizer.hpp>
|
||||||
#include <ewol/widget/Label.h>
|
#include <ewol/widget/Label.hpp>
|
||||||
#include <ewol/widget/Entry.h>
|
#include <ewol/widget/Entry.hpp>
|
||||||
#include <ewol/widget/List.h>
|
#include <ewol/widget/List.hpp>
|
||||||
#include <ewol/widget/ContextMenu.h>
|
#include <ewol/widget/ContextMenu.hpp>
|
||||||
#include <ewol/widget/PopUp.h>
|
#include <ewol/widget/PopUp.hpp>
|
||||||
#include <ewol/widget/Slider.h>
|
#include <ewol/widget/Slider.hpp>
|
||||||
#include <ewol/widget/Menu.h>
|
#include <ewol/widget/Menu.hpp>
|
||||||
#include <ewol/widget/meta/FileChooser.h>
|
#include <ewol/widget/meta/FileChooser.hpp>
|
||||||
#include <ewol/widget/meta/Parameter.h>
|
#include <ewol/widget/meta/Parameter.hpp>
|
||||||
#include <ewol/widget/Select.h>
|
#include <ewol/widget/Select.hpp>
|
||||||
#include <ewol/widget/Manager.h>
|
#include <ewol/widget/Manager.hpp>
|
||||||
#include <ewol/widget/Spin.h>
|
#include <ewol/widget/Spin.hpp>
|
||||||
#include <ewol/context/Context.h>
|
#include <ewol/context/Context.hpp>
|
||||||
#include <appl/TestDistanceField.h>
|
#include <appl/TestDistanceField.hpp>
|
||||||
#include <etk/os/FSNode.h>
|
#include <etk/os/FSNode.hpp>
|
||||||
#include <eproperty/Value.h>
|
#include <eproperty/Value.hpp>
|
||||||
|
|
||||||
appl::MainWindows::MainWindows() :
|
appl::MainWindows::MainWindows() :
|
||||||
m_gravity(ewol::gravity_buttomLeft),
|
m_gravity(ewol::gravity_buttomLeft),
|
||||||
|
@ -5,14 +5,14 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <appl/debug.h>
|
#include <appl/debug.hpp>
|
||||||
#include <ewol/widget/Widget.h>
|
#include <ewol/widget/Widget.hpp>
|
||||||
#include <ewol/widget/Windows.h>
|
#include <ewol/widget/Windows.hpp>
|
||||||
#include <ewol/widget/Sizer.h>
|
#include <ewol/widget/Sizer.hpp>
|
||||||
#include <ewol/widget/Button.h>
|
#include <ewol/widget/Button.hpp>
|
||||||
#include <ewol/widget/Label.h>
|
#include <ewol/widget/Label.hpp>
|
||||||
#include <ewol/widget/Spacer.h>
|
#include <ewol/widget/Spacer.hpp>
|
||||||
#include <ewol/widget/Composer.h>
|
#include <ewol/widget/Composer.hpp>
|
||||||
namespace appl {
|
namespace appl {
|
||||||
class MainWindows : public ewol::widget::Windows {
|
class MainWindows : public ewol::widget::Windows {
|
||||||
private:
|
private:
|
@ -5,23 +5,23 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <appl/debug.h>
|
#include <appl/debug.hpp>
|
||||||
#include <appl/TestDistanceField.h>
|
#include <appl/TestDistanceField.hpp>
|
||||||
|
|
||||||
#include <ewol/widget/Button.h>
|
#include <ewol/widget/Button.hpp>
|
||||||
#include <ewol/widget/CheckBox.h>
|
#include <ewol/widget/CheckBox.hpp>
|
||||||
#include <ewol/widget/Sizer.h>
|
#include <ewol/widget/Sizer.hpp>
|
||||||
#include <ewol/widget/Label.h>
|
#include <ewol/widget/Label.hpp>
|
||||||
#include <ewol/widget/Entry.h>
|
#include <ewol/widget/Entry.hpp>
|
||||||
#include <ewol/widget/List.h>
|
#include <ewol/widget/List.hpp>
|
||||||
#include <ewol/widget/ContextMenu.h>
|
#include <ewol/widget/ContextMenu.hpp>
|
||||||
#include <ewol/widget/PopUp.h>
|
#include <ewol/widget/PopUp.hpp>
|
||||||
#include <ewol/widget/Slider.h>
|
#include <ewol/widget/Slider.hpp>
|
||||||
#include <ewol/widget/Composer.h>
|
#include <ewol/widget/Composer.hpp>
|
||||||
#include <ewol/widget/Menu.h>
|
#include <ewol/widget/Menu.hpp>
|
||||||
#include <ewol/widget/meta/FileChooser.h>
|
#include <ewol/widget/meta/FileChooser.hpp>
|
||||||
#include <ewol/widget/meta/Parameter.h>
|
#include <ewol/widget/meta/Parameter.hpp>
|
||||||
#include <ewol/widget/Manager.h>
|
#include <ewol/widget/Manager.hpp>
|
||||||
|
|
||||||
appl::TestDistanceField::TestDistanceField(){
|
appl::TestDistanceField::TestDistanceField(){
|
||||||
addObjectType("appl::TestDistanceField");
|
addObjectType("appl::TestDistanceField");
|
||||||
|
@ -5,12 +5,12 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <appl/debug.h>
|
#include <appl/debug.hpp>
|
||||||
#include <ewol/widget/Widget.h>
|
#include <ewol/widget/Widget.hpp>
|
||||||
#include <ewol/compositing/Text.h>
|
#include <ewol/compositing/Text.hpp>
|
||||||
#include <ewol/compositing/TextDF.h>
|
#include <ewol/compositing/TextDF.hpp>
|
||||||
#include <gale/resource/Program.h>
|
#include <gale/resource/Program.hpp>
|
||||||
#include <ewol/resource/DistanceFieldFont.h>
|
#include <ewol/resource/DistanceFieldFont.hpp>
|
||||||
|
|
||||||
namespace appl {
|
namespace appl {
|
||||||
class TestDistanceField : public ewol::Widget {
|
class TestDistanceField : public ewol::Widget {
|
@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <appl/debug.h>
|
#include <appl/debug.hpp>
|
||||||
|
|
||||||
int32_t appl::getLogId() {
|
int32_t appl::getLogId() {
|
||||||
static int32_t g_val = elog::registerInstance("test_ewol");
|
static int32_t g_val = elog::registerInstance("test_ewol");
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <elog/log.h>
|
#include <elog/log.hpp>
|
||||||
#include <assert.h>
|
#include <cassert>
|
||||||
|
|
||||||
namespace appl {
|
namespace appl {
|
||||||
/**
|
/**
|
@ -4,17 +4,17 @@
|
|||||||
* @license BSD v3 (see license file)
|
* @license BSD v3 (see license file)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.hpp>
|
||||||
#include <etk/types.h>
|
#include <etk/types.hpp>
|
||||||
#include <etk/os/FSNode.h>
|
#include <etk/os/FSNode.hpp>
|
||||||
#include <ewol/ewol.h>
|
#include <ewol/ewol.hpp>
|
||||||
#include <ewol/object/Object.h>
|
#include <ewol/object/Object.hpp>
|
||||||
#include <ewol/context/Context.h>
|
#include <ewol/context/Context.hpp>
|
||||||
#include <ewol/widget/Manager.h>
|
#include <ewol/widget/Manager.hpp>
|
||||||
|
|
||||||
#include <appl/debug.h>
|
#include <appl/debug.hpp>
|
||||||
#include <appl/MainWindows.h>
|
#include <appl/MainWindows.hpp>
|
||||||
#include <appl/widget/SizerColor.h>
|
#include <appl/widget/SizerColor.hpp>
|
||||||
|
|
||||||
class MainApplication : public ewol::context::Application {
|
class MainApplication : public ewol::context::Application {
|
||||||
public:
|
public:
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
* @license APACHE v2.0 (see license file)
|
* @license APACHE v2.0 (see license file)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <appl/debug.h>
|
#include <appl/debug.hpp>
|
||||||
#include <appl/widget/SizerColor.h>
|
#include <appl/widget/SizerColor.hpp>
|
||||||
|
|
||||||
appl::widget::SizerColor::SizerColor() :
|
appl::widget::SizerColor::SizerColor() :
|
||||||
propertyBorderColor(this, "border-color", etk::color::none, "Color of the border"),
|
propertyBorderColor(this, "border-color", etk::color::none, "Color of the border"),
|
||||||
|
@ -5,10 +5,10 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.hpp>
|
||||||
#include <ewol/widget/Sizer.h>
|
#include <ewol/widget/Sizer.hpp>
|
||||||
#include <etk/Color.h>
|
#include <etk/Color.hpp>
|
||||||
#include <ewol/compositing/Drawing.h>
|
#include <ewol/compositing/Drawing.hpp>
|
||||||
|
|
||||||
namespace appl {
|
namespace appl {
|
||||||
namespace widget {
|
namespace widget {
|
Loading…
x
Reference in New Issue
Block a user