Compare commits

...

3 Commits
main ... dev

20 changed files with 553 additions and 691 deletions

5
.gitignore vendored
View File

@ -1,3 +1,8 @@
__pycache__
.bck
out
target
build
###################################
# folders

56
GLD_ewol-data.json Normal file
View File

@ -0,0 +1,56 @@
{
"type":"LIBRARY",
"group-id":"com.atria-soft",
"description":"ewol is a widget management library",
"license":"MPL-2",
"license-file":"file://LICENSE",
"maintainer":"file://authors.txt",
"author":"file://authors.txt",
"version":"file://version.txt",
"code-quality":"MEDIUM",
"copy": [
{
"path":"data/theme/shape/square/*",
"to":"theme/shape/square/"
}, {
"path":"data/theme/default/*",
"to":"theme/shape/square/"
}, {
"path":"data/theme/shape/round/*",
"to":"theme/shape/round"
}, {
"path":"data/theme/color/black/*",
"to":"theme/color/black"
}, {
"path":"data/theme/color/white/*",
"to":"theme/color/white"
}, {
"path":"data/textured.*"
}, {
"path":"data/texturedNoMaterial.*"
}, {
"path":"data/text.*"
}, {
"path":"data/simple3D.*"
}, {
"path":"data/color.*"
}, {
"path":"data/color3.*"
}, {
"path":"data/textured3D2.*"
}, {
"path":"data/textured3D.*"
}, {
"path":"data/texturedDF.*"
}, {
"path":"data/fontDistanceField/*",
"to":"fontDistanceField"
}, {
"path":"data/translate/*",
"to":"translate/ewol"
}, {
"path":"data/ewol-gui-*.xml"
}
]
}

23
GLD_ewol-test.json Normal file
View File

@ -0,0 +1,23 @@
{
"type":"BINARY",
"sub-type":"TEST",
"group-id":"com.atria-soft",
"description":"ewol test software",
"license":"MPL-2",
"license-file":"file://LICENSE",
"maintainer":"file://authors.txt",
"author":"file://authors.txt",
"version":"file://version.txt",
"code-quality":"MEDIUM",
"source": [
"test/main.cpp",
"test/testApplication.cpp",
"test/testWindows.cpp"
],
"dependency": [
"ewol",
"etest",
"test-debug"
]
}

189
GLD_ewol.json Normal file
View File

@ -0,0 +1,189 @@
{
"type":"LIBRARY",
"group-id":"com.atria-soft",
"description":"ewol is a widget management library",
"license":"MPL-2",
"license-file":"file://LICENSE",
"maintainer":"file://authors.txt",
"author":"file://authors.txt",
"version":"file://version.txt",
"code-quality":"MEDIUM",
"source": [
"ewol/ewol.cpp",
"ewol/debug.cpp",
"ewol/Padding.cpp",
"ewol/DrawProperty.cpp",
"ewol/gravity.cpp",
"ewol/compositing/Compositing.cpp",
"ewol/compositing/TextBase.cpp",
"ewol/compositing/Text.cpp",
"ewol/compositing/TextDF.cpp",
"ewol/compositing/Drawing.cpp",
"ewol/compositing/Image.cpp",
"ewol/compositing/Sprite.cpp",
"ewol/compositing/Shaper.cpp",
"ewol/compositing/Area.cpp",
"ewol/context/ConfigFont.cpp",
"ewol/context/Context.cpp",
"ewol/context/Application.cpp",
"ewol/context/InputManager.cpp",
"ewol/event/Entry.cpp",
"ewol/event/Time.cpp",
"ewol/event/Input.cpp",
"ewol/object/Manager.cpp",
"ewol/object/Object.cpp",
"ewol/object/Worker.cpp",
"ewol/resource/Colored3DObject.cpp",
"ewol/resource/ColorFile.cpp",
"ewol/resource/ConfigFile.cpp",
"ewol/resource/FontFreeType.cpp",
"ewol/resource/TextureFile.cpp",
"ewol/resource/ImageDF.cpp",
"ewol/resource/Texture.cpp",
"ewol/resource/TexturedFont.cpp",
"ewol/resource/DistanceFieldFont.cpp",
"ewol/widget/ButtonColor.cpp",
"ewol/widget/Button.cpp",
"ewol/widget/CheckBox.cpp",
"ewol/widget/ColorBar.cpp",
"ewol/widget/Composer.cpp",
"ewol/widget/Container.cpp",
"ewol/widget/Container2.cpp",
"ewol/widget/ContainerN.cpp",
"ewol/widget/ContextMenu.cpp",
"ewol/widget/Entry.cpp",
"ewol/widget/Gird.cpp",
"ewol/widget/Image.cpp",
"ewol/widget/Joystick.cpp",
"ewol/widget/Label.cpp",
"ewol/widget/Layer.cpp",
"ewol/widget/List.cpp",
"ewol/widget/ListFileSystem.cpp",
"ewol/widget/Manager.cpp",
"ewol/widget/Menu.cpp",
"ewol/widget/meta/ColorChooser.cpp",
"ewol/widget/meta/FileChooser.cpp",
"ewol/widget/meta/Parameter.cpp",
"ewol/widget/meta/ParameterList.cpp",
"ewol/widget/meta/StdPopUp.cpp",
"ewol/widget/meta/SpinBase.cpp",
"ewol/widget/PopUp.cpp",
"ewol/widget/ProgressBar.cpp",
"ewol/widget/Scroll.cpp",
"ewol/widget/Select.cpp",
"ewol/widget/Sizer.cpp",
"ewol/widget/Slider.cpp",
"ewol/widget/Spacer.cpp",
"ewol/widget/Widget.cpp",
"ewol/widget/WidgetScrolled.cpp",
"ewol/widget/Windows.cpp",
"ewol/widget/WSlider.cpp",
"ewol/widget/Spin.cpp",
"ewol/widget/TreeView.cpp",
"ewol/tools/message.cpp"
],
"header": [
"ewol/debug.hpp",
"ewol/ewol.hpp",
"ewol/Padding.hpp",
"ewol/DrawProperty.hpp",
"ewol/gravity.hpp",
"ewol/compositing/Text.hpp",
"ewol/compositing/Drawing.hpp",
"ewol/compositing/Sprite.hpp",
"ewol/compositing/Area.hpp",
"ewol/compositing/Shaper.hpp",
"ewol/compositing/TextDF.hpp",
"ewol/compositing/TextBase.hpp",
"ewol/compositing/Compositing.hpp",
"ewol/compositing/Image.hpp",
"ewol/context/ConfigFont.hpp",
"ewol/context/Context.hpp",
"ewol/context/Application.hpp",
"ewol/context/InputManager.hpp",
"ewol/event/Time.hpp",
"ewol/event/Input.hpp",
"ewol/event/Entry.hpp",
"ewol/object/Worker.hpp",
"ewol/object/Manager.hpp",
"ewol/object/Object.hpp",
"ewol/resource/FontFreeType.hpp",
"ewol/resource/TexturedFont.hpp",
"ewol/resource/ColorFile.hpp",
"ewol/resource/font/FontBase.hpp",
"ewol/resource/font/Kerning.hpp",
"ewol/resource/font/GlyphProperty.hpp",
"ewol/resource/DistanceFieldFont.hpp",
"ewol/resource/ImageDF.hpp",
"ewol/resource/Colored3DObject.hpp",
"ewol/resource/ConfigFile.hpp",
"ewol/resource/Texture.hpp",
"ewol/resource/TextureFile.hpp",
"ewol/widget/Menu.hpp",
"ewol/widget/Slider.hpp",
"ewol/widget/WidgetScrolled.hpp",
"ewol/widget/ListFileSystem.hpp",
"ewol/widget/Panned.hpp",
"ewol/widget/WSlider.hpp",
"ewol/widget/Container2.hpp",
"ewol/widget/Windows.hpp",
"ewol/widget/CheckBox.hpp",
"ewol/widget/Container.hpp",
"ewol/widget/PopUp.hpp",
"ewol/widget/Label.hpp",
"ewol/widget/Composer.hpp",
"ewol/widget/Sizer.hpp",
"ewol/widget/Scroll.hpp",
"ewol/widget/ContainerN.hpp",
"ewol/widget/Spacer.hpp",
"ewol/widget/Button.hpp",
"ewol/widget/Manager.hpp",
"ewol/widget/Entry.hpp",
"ewol/widget/ContextMenu.hpp",
"ewol/widget/Gird.hpp",
"ewol/widget/ProgressBar.hpp",
"ewol/widget/ColorBar.hpp",
"ewol/widget/ButtonColor.hpp",
"ewol/widget/Layer.hpp",
"ewol/widget/Joystick.hpp",
"ewol/widget/Widget.hpp",
"ewol/widget/meta/StdPopUp.hpp",
"ewol/widget/meta/SpinBase.hpp",
"ewol/widget/meta/ParameterList.hpp",
"ewol/widget/meta/ColorChooser.hpp",
"ewol/widget/meta/Parameter.hpp",
"ewol/widget/meta/FileChooser.hpp",
"ewol/widget/Image.hpp",
"ewol/widget/List.hpp",
"ewol/widget/Select.hpp",
"ewol/widget/Spin.hpp",
"ewol/widget/TreeView.hpp",
"ewol/tools/message.hpp"
],
"path":[
"."
],
"compilation-version": {
"c++": 2017
},
"dependency": [
"elog",
"etk",
"esignal",
"eproperty",
"ememory",
"gale",
"freetype",
"exml",
"ejson",
"egami",
"edtaa3",
"etranslate",
"ewol-data",
"fluorine"
],
"flag": {
"c++": "-DEWOL_VERSION=\"{{{quote2}}}{{{project.version}}}{{{quote2}}}\""
}
}

View File

@ -1,46 +0,0 @@
#!/usr/bin/python
import realog.debug as debug
import lutin.tools as tools
def get_type():
return "LIBRARY"
def get_desc():
return "ewol is a widget management library"
def get_licence():
return "MPL-2"
def get_compagny_type():
return "com"
def get_compagny_name():
return "atria-soft"
def get_maintainer():
return "authors.txt"
def get_version():
return "version.txt"
def configure(target, my_module):
my_module.copy_path('data/theme/shape/square/*','theme/shape/square')
my_module.copy_path('data/theme/default/*','theme/shape/square/')
my_module.copy_path('data/theme/shape/round/*','theme/shape/round')
my_module.copy_path('data/theme/color/black/*','theme/color/black')
my_module.copy_path('data/theme/color/white/*','theme/color/white')
my_module.copy_path('data/textured.*','')
my_module.copy_path('data/texturedNoMaterial.*','')
my_module.copy_path('data/text.*','')
my_module.copy_path('data/simple3D.*','')
my_module.copy_path('data/color.*','')
my_module.copy_path('data/color3.*','')
my_module.copy_path('data/textured3D2.*','')
my_module.copy_path('data/textured3D.*','')
my_module.copy_path('data/texturedDF.*','')
my_module.copy_path('data/fontDistanceField/*','fontDistanceField')
my_module.copy_path('data/translate/*','translate/ewol')
my_module.copy_path('data/ewol-gui-*.xml')
return True

View File

@ -1,38 +0,0 @@
#!/usr/bin/python
import realog.debug as debug
import lutin.tools as tools
def get_type():
return "BINARY"
def get_sub_type():
return "TEST"
def get_desc():
return "ewol test software"
def get_licence():
return "MPL-2"
def get_compagny_type():
return "com"
def get_compagny_name():
return "atria-soft"
def get_maintainer():
return "authors.txt"
def configure(target, my_module):
my_module.add_src_file([
'test/main.cpp',
'test/testApplication.cpp',
'test/testWindows.cpp'
])
my_module.add_depend([
'ewol',
'etest',
'test-debug'
])
return True

View File

@ -1,251 +0,0 @@
#!/usr/bin/python
import realog.debug as debug
import lutin.tools as tools
def get_type():
return "LIBRARY"
def get_desc():
return "ewol is a widget management library"
def get_licence():
return "MPL-2"
def get_compagny_type():
return "com"
def get_compagny_name():
return "atria-soft"
def get_maintainer():
return "authors.txt"
def get_version():
return "version.txt"
def configure(target, my_module):
# add extra compilation flags:
my_module.add_extra_flags()
# add the file to compile:
my_module.add_src_file([
'ewol/ewol.cpp',
'ewol/debug.cpp',
'ewol/Padding.cpp',
'ewol/DrawProperty.cpp',
'ewol/gravity.cpp'
])
my_module.add_header_file([
'ewol/debug.hpp', # TODO : Remove this ...
'ewol/ewol.hpp',
'ewol/Padding.hpp',
'ewol/DrawProperty.hpp',
'ewol/gravity.hpp'
])
# compositing:
my_module.add_src_file([
'ewol/compositing/Compositing.cpp',
'ewol/compositing/TextBase.cpp',
'ewol/compositing/Text.cpp',
'ewol/compositing/TextDF.cpp',
'ewol/compositing/Drawing.cpp',
'ewol/compositing/Image.cpp',
'ewol/compositing/Sprite.cpp',
'ewol/compositing/Shaper.cpp',
'ewol/compositing/Area.cpp'
])
my_module.add_header_file([
'ewol/compositing/Text.hpp',
'ewol/compositing/Drawing.hpp',
'ewol/compositing/Sprite.hpp',
'ewol/compositing/Area.hpp',
'ewol/compositing/Shaper.hpp',
'ewol/compositing/TextDF.hpp',
'ewol/compositing/TextBase.hpp',
'ewol/compositing/Compositing.hpp',
'ewol/compositing/Image.hpp'
])
# context:
my_module.add_src_file([
'ewol/context/ConfigFont.cpp',
'ewol/context/Context.cpp',
'ewol/context/Application.cpp',
'ewol/context/InputManager.cpp'
])
my_module.add_header_file([
'ewol/context/ConfigFont.hpp',
'ewol/context/Context.hpp',
'ewol/context/Application.hpp',
'ewol/context/InputManager.hpp'
])
# event properties:
my_module.add_src_file([
'ewol/event/Entry.cpp',
'ewol/event/Time.cpp',
'ewol/event/Input.cpp'
])
my_module.add_header_file([
'ewol/event/Time.hpp',
'ewol/event/Input.hpp',
'ewol/event/Entry.hpp'
])
# object:
my_module.add_src_file([
'ewol/object/Manager.cpp',
'ewol/object/Object.cpp',
'ewol/object/Worker.cpp'
])
my_module.add_header_file([
'ewol/object/Worker.hpp',
'ewol/object/Manager.hpp',
'ewol/object/Object.hpp'
])
# resources:
my_module.add_src_file([
'ewol/resource/Colored3DObject.cpp',
'ewol/resource/ColorFile.cpp',
'ewol/resource/ConfigFile.cpp',
'ewol/resource/FontFreeType.cpp',
'ewol/resource/TextureFile.cpp',
'ewol/resource/ImageDF.cpp',
'ewol/resource/Texture.cpp',
'ewol/resource/TexturedFont.cpp',
'ewol/resource/DistanceFieldFont.cpp'
])
my_module.add_header_file([
'ewol/resource/FontFreeType.hpp',
'ewol/resource/TexturedFont.hpp',
'ewol/resource/ColorFile.hpp',
'ewol/resource/font/FontBase.hpp',
'ewol/resource/font/Kerning.hpp',
'ewol/resource/font/GlyphProperty.hpp',
'ewol/resource/DistanceFieldFont.hpp',
'ewol/resource/ImageDF.hpp',
'ewol/resource/Colored3DObject.hpp',
'ewol/resource/ConfigFile.hpp',
'ewol/resource/Texture.hpp',
'ewol/resource/TextureFile.hpp'
])
# widget:
my_module.add_src_file([
'ewol/widget/ButtonColor.cpp',
'ewol/widget/Button.cpp',
'ewol/widget/CheckBox.cpp',
'ewol/widget/ColorBar.cpp',
'ewol/widget/Composer.cpp',
'ewol/widget/Container.cpp',
'ewol/widget/Container2.cpp',
'ewol/widget/ContainerN.cpp',
'ewol/widget/ContextMenu.cpp',
'ewol/widget/Entry.cpp',
'ewol/widget/Gird.cpp',
'ewol/widget/Image.cpp',
'ewol/widget/Joystick.cpp',
'ewol/widget/Label.cpp',
'ewol/widget/Layer.cpp',
'ewol/widget/List.cpp',
'ewol/widget/ListFileSystem.cpp',
'ewol/widget/Manager.cpp',
'ewol/widget/Menu.cpp',
'ewol/widget/meta/ColorChooser.cpp',
'ewol/widget/meta/FileChooser.cpp',
'ewol/widget/meta/Parameter.cpp',
'ewol/widget/meta/ParameterList.cpp',
'ewol/widget/meta/StdPopUp.cpp',
'ewol/widget/meta/SpinBase.cpp',
'ewol/widget/PopUp.cpp',
'ewol/widget/ProgressBar.cpp',
'ewol/widget/Scroll.cpp',
'ewol/widget/Select.cpp',
'ewol/widget/Sizer.cpp',
'ewol/widget/Slider.cpp',
'ewol/widget/Spacer.cpp',
'ewol/widget/Widget.cpp',
'ewol/widget/WidgetScrolled.cpp',
'ewol/widget/Windows.cpp',
'ewol/widget/WSlider.cpp',
'ewol/widget/Spin.cpp',
'ewol/widget/TreeView.cpp',
])
my_module.add_header_file([
'ewol/widget/Menu.hpp',
'ewol/widget/Slider.hpp',
'ewol/widget/WidgetScrolled.hpp',
'ewol/widget/ListFileSystem.hpp',
'ewol/widget/Panned.hpp',
'ewol/widget/WSlider.hpp',
'ewol/widget/Container2.hpp',
'ewol/widget/Windows.hpp',
'ewol/widget/CheckBox.hpp',
'ewol/widget/Container.hpp',
'ewol/widget/PopUp.hpp',
'ewol/widget/Label.hpp',
'ewol/widget/Composer.hpp',
'ewol/widget/Sizer.hpp',
'ewol/widget/Scroll.hpp',
'ewol/widget/ContainerN.hpp',
'ewol/widget/Spacer.hpp',
'ewol/widget/Button.hpp',
'ewol/widget/Manager.hpp',
'ewol/widget/Entry.hpp',
'ewol/widget/ContextMenu.hpp',
'ewol/widget/Gird.hpp',
'ewol/widget/ProgressBar.hpp',
'ewol/widget/ColorBar.hpp',
'ewol/widget/ButtonColor.hpp',
'ewol/widget/Layer.hpp',
'ewol/widget/Joystick.hpp',
'ewol/widget/Widget.hpp',
'ewol/widget/meta/StdPopUp.hpp',
'ewol/widget/meta/SpinBase.hpp',
'ewol/widget/meta/ParameterList.hpp',
'ewol/widget/meta/ColorChooser.hpp',
'ewol/widget/meta/Parameter.hpp',
'ewol/widget/meta/FileChooser.hpp',
'ewol/widget/Image.hpp',
'ewol/widget/List.hpp',
'ewol/widget/Select.hpp',
'ewol/widget/Spin.hpp',
'ewol/widget/TreeView.hpp',
])
# tools:
my_module.add_src_file([
'ewol/tools/message.cpp'
])
my_module.add_header_file([
'ewol/tools/message.hpp'
])
# name of the dependency
my_module.add_depend([
'elog',
'etk',
'esignal',
'eproperty',
'ememory',
'gale',
'freetype',
'exml',
'ejson',
'egami',
'edtaa3',
'etranslate',
'ewol-data',
'fluorine',
])
my_module.add_path(".")
my_module.add_flag('c++', [
"-DEWOL_VERSION=\"\\\"" + tools.version_to_string(my_module.get_pkg("VERSION")) + "\\\"\""
])
return True

View File

@ -0,0 +1,34 @@
{
"type":"BINARY",
"sub-type":"SAMPLE",
"group-id":"com.atria-soft",
"description":"Tutorial 0XX : Create costum Widget",
"license":"MPL-2",
"license-file":"file://../../LICENSE",
"maintainer":"file://../../authors.txt",
"author":"file://../../authors.txt",
"version":"file://../../version.txt",
"code-quality":"MEDIUM",
"source": [
"appl/Main.cpp",
"appl/debug.cpp",
"appl/Windows.cpp",
"appl/widget/VectorDisplay.cpp"
],
"compilation-version": {
"c++": 2017
},
"dependency": [
"ewol"
],
"path": [
"."
],
"flag": {
"c++": [
"-DPROJECT_NAME=\"\\\"{{{project.name}}}\\\"\"",
"-DAPPL_VERSION=\"\\\"{{{project.version}}}\\\"\""
]
}
}

View File

@ -1,48 +0,0 @@
#!/usr/bin/python
import realog.debug as debug
import lutin.tools as tools
def get_type():
return "BINARY"
def get_sub_type():
return "SAMPLE"
def get_desc():
return "Tutorial 0XX : Create costum Widget"
def get_licence():
return "MPL-2"
def get_compagny_type():
return "com"
def get_compagny_name():
return "atria-soft"
def get_maintainer():
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
def get_version():
return [0,1]
def configure(target, my_module):
my_module.add_src_file([
'appl/Main.cpp',
'appl/debug.cpp',
'appl/Windows.cpp',
'appl/widget/VectorDisplay.cpp',
])
my_module.add_depend([
'ewol'
])
my_module.add_flag('c++', [
"-DPROJECT_NAME=\"\\\""+my_module.get_name()+"\\\"\"",
"-DAPPL_VERSION=\"\\\"" + tools.version_to_string(get_version()) + "\\\"\""
])
my_module.add_path(".")
return True

View File

@ -0,0 +1,33 @@
{
"type":"BINARY",
"sub-type":"SAMPLE",
"group-id":"com.atria-soft",
"description":"Tutorial 001 : Hello Word",
"license":"MPL-2",
"license-file":"file://../../LICENSE",
"maintainer":"file://../../authors.txt",
"author":"file://../../authors.txt",
"version":"file://../../version.txt",
"code-quality":"MEDIUM",
"source": [
"appl/Main.cpp",
"appl/debug.cpp",
"appl/Windows.cpp"
],
"compilation-version": {
"c++": 2017
},
"dependency": [
"ewol"
],
"path": [
"."
],
"flag": {
"c++": [
"-DPROJECT_NAME=\"\\\"{{{project.name}}}\\\"\"",
"-DAPPL_VERSION=\"\\\"{{{project.version}}}\\\"\""
]
}
}

View File

@ -1,44 +0,0 @@
#!/usr/bin/python
import realog.debug as debug
import lutin.tools as tools
def get_type():
return "BINARY"
def get_sub_type():
return "SAMPLE"
def get_desc():
return "Tutorial 001 : Hello Word"
def get_licence():
return "MPL-2"
def get_compagny_type():
return "com"
def get_compagny_name():
return "atria-soft"
def get_maintainer():
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
def get_version():
return [0,1]
def configure(target, my_module):
my_module.add_src_file([
'appl/Main.cpp',
'appl/debug.cpp',
'appl/Windows.cpp',
])
my_module.add_depend([
'ewol'
])
my_module.add_flag('c++', [
"-DPROJECT_NAME=\"\\\""+my_module.get_name()+"\\\"\"",
"-DAPPL_VERSION=\"\\\"" + tools.version_to_string(get_version()) + "\\\"\""
])
my_module.add_path(".")
return True

View File

@ -0,0 +1,35 @@
{
"type":"BINARY",
"sub-type":"SAMPLE",
"group-id":"com.atria-soft",
"description":"Tutorial 0XX : bsic tree example",
"license":"MPL-2",
"license-file":"file://../../LICENSE",
"maintainer":"file://../../authors.txt",
"author":"file://../../authors.txt",
"version":"file://../../version.txt",
"code-quality":"MEDIUM",
"source": [
"appl/Main.cpp",
"appl/debug.cpp",
"appl/Windows.cpp",
"appl/widget/BasicTree.cpp"
],
"compilation-version": {
"c++": 2017
},
"dependency": [
"ewol",
"test-debug"
],
"path": [
"."
],
"flag": {
"c++": [
"-DPROJECT_NAME=\"\\\"{{{project.name}}}\\\"\"",
"-DAPPL_VERSION=\"\\\"{{{project.version}}}\\\"\""
]
}
}

View File

@ -1,49 +0,0 @@
#!/usr/bin/python
import realog.debug as debug
import lutin.tools as tools
def get_type():
return "BINARY"
def get_sub_type():
return "SAMPLE"
def get_desc():
return "Tutorial 0XX : bsic tree example"
def get_licence():
return "MPL-2"
def get_compagny_type():
return "com"
def get_compagny_name():
return "atria-soft"
def get_maintainer():
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
def get_version():
return [0,1]
def configure(target, my_module):
my_module.add_src_file([
'appl/Main.cpp',
'appl/debug.cpp',
'appl/Windows.cpp',
'appl/widget/BasicTree.cpp',
])
my_module.add_depend([
'ewol',
'test-debug',
])
my_module.add_flag('c++', [
"-DPROJECT_NAME=\"\\\""+my_module.get_name()+"\\\"\"",
"-DAPPL_VERSION=\"\\\"" + tools.version_to_string(get_version()) + "\\\"\""
])
my_module.add_path(".")
return True

View File

@ -0,0 +1,65 @@
{
"type":"BINARY",
"sub-type":"SAMPLE",
"group-id":"com.atria-soft",
"description":"ewol Wallpaper sample",
"license":"MPL-2",
"license-file":"file://../../LICENSE",
"maintainer":"file://../../authors.txt",
"author":"file://../../authors.txt",
"version":"file://../../version.txt",
"code-quality":"MEDIUM",
"source": [
"appl/Main.cpp",
"appl/debug.cpp",
"appl/WidgetDisplay.cpp",
"appl/Windows.cpp"
],
"compilation-version": {
"c++": 2017
},
"dependency": [
"ewol"
],
"flag": {
"c++": [
"-DPROJECT_NAME=\"\\\"{{{project.name}}}\\\"\"",
"-DAPPL_VERSION=\"\\\"{{{project.version}}}\\\"\""
]
},
"copy": [
"data/SnowFlake.svg"
],
"path": [
"."
],
"package":{
"SECTION": "example",
"ICON": "../data/icon.png",
"PRIORITY": "extra",
"ANDROID_APPL_TYPE": "WALLPAPER",
"ANDROID_WALLPAPER_PROPERTIES": [
[
"list",
"testpattern",
"Select test pattern",
"Choose which test pattern to display",
[
["key","value display"],
["key2","value display 2"]
]
], [
"bool",
"movement",
"Motion",
"Apply movement to test pattern",
[
"Moving test pattern",
"Still test pattern"
]
]
]
}
}

View File

@ -1,68 +0,0 @@
#!/usr/bin/python
import realog.debug as debug
import lutin.tools as tools
def get_type():
return "BINARY"
def get_name():
return "ewol Wallpaper sample"
def get_sub_type():
return "SAMPLE"
def get_desc():
return "Tutorial xxx example wallpaper"
def get_licence():
return "MPL-2"
def get_compagny_type():
return "com"
def get_compagny_name():
return "atria-soft"
def get_maintainer():
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
def get_version():
return [0,1]
def configure(target, my_module):
my_module.add_src_file([
'appl/Main.cpp',
'appl/debug.cpp',
'appl/WidgetDisplay.cpp',
'appl/Windows.cpp',
])
my_module.add_depend(['ewol'])
my_module.add_flag('c++', [
"-DPROJECT_NAME=\"\\\""+my_module.get_name()+"\\\"\"",
"-DAPPL_VERSION=\"\\\"" + tools.version_to_string(get_version()) + "\\\"\""
])
my_module.copy_path('data/SnowFlake.svg','')
my_module.add_path(".")
# set the package properties :
my_module.set_pkg("ICON", "../data/icon.png")
my_module.set_pkg("SECTION", "example")
my_module.set_pkg("PRIORITY", "extra")
my_module.set_pkg("ANDROID_APPL_TYPE", "WALLPAPER")
#for the exemple :
my_module.add_pkg("ANDROID_WALLPAPER_PROPERTIES", ["list", "testpattern", "Select test pattern", "Choose which test pattern to display", \
[ ["key","value display"],\
["key2","value display 2"]\
] \
])
my_module.add_pkg("ANDROID_WALLPAPER_PROPERTIES", ["bool", "movement", "Motion", "Apply movement to test pattern", ["Moving test pattern", "Still test pattern"]])
# add the currrent module at the
return True

View File

@ -0,0 +1,56 @@
{
"type":"BINARY",
"sub-type":"TOOL",
"group-id":"com.atria-soft",
"description":"ewol tools software (visual)",
"license":"MPL-2",
"license-file":"file://../../LICENSE",
"maintainer":"file://../../authors.txt",
"author":"file://../../authors.txt",
"version":"file://../../version.txt",
"code-quality":"MEDIUM",
"source": [
"appl/debug.cpp",
"appl/init.cpp",
"appl/MainWindows.cpp",
"appl/TestDistanceField.cpp",
"appl/widget/SizerColor.cpp"
],
"compilation-version": {
"c++": 2017
},
"dependency": [
"ewol"
],
"flag": {
"c++": [
"-DPROJECT_NAME=\"{{{project.name}}}\"",
"-DAPPL_VERSION=\"{{{project.version}}}\""
]
},
"path": [
"."
],
"copy": [
{
"path": "data/icon.png",
"to": ""
},{
"path": "data/icon.*"
},{
"path": "data/cube.*"
},{
"path": "data/grass.*"
},{
"path": "data/stone*"
},{
"path": "data/sphere.*"
},{
"path": "data/gui.xml"
},{
"path": "data/FreeSerif*",
"to": "fonts/"
}
]
}

View File

@ -1,73 +0,0 @@
#!/usr/bin/python
import realog.debug as debug
import lutin.tools as tools
import os
def get_type():
return "BINARY"
def get_sub_type():
return "TOOL"
def get_desc():
return "ewol tools software (visual)"
def get_licence():
return "MPL-2"
def get_compagny_type():
return "com"
def get_compagny_name():
return "atria-soft"
def get_maintainer():
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
def configure(target, my_module):
# add the file to compile:
my_module.add_src_file([
'appl/debug.cpp',
'appl/init.cpp',
'appl/MainWindows.cpp',
'appl/TestDistanceField.cpp',
'appl/widget/SizerColor.cpp'
])
my_module.add_depend(['ewol'])
my_module.copy_file('data/icon.png','icon.png')
my_module.copy_path('data/icon.*','')
my_module.copy_path('data/cube.*','')
my_module.copy_path('data/grass.*','')
my_module.copy_path('data/stone*','')
my_module.copy_path('data/sphere.png','')
my_module.copy_path('data/sphere.obj','')
my_module.copy_path('data/gui.xml','')
my_module.add_path(".")
my_module.copy_path("data/FreeSerif*","fonts/")
"""
# set the package properties :
my_module.pkg_set("VERSION", versionID)
my_module.pkg_set("COMPAGNY_TYPE", "org")
my_module.pkg_set("COMPAGNY_NAME", "Edouard DUPIN")
my_module.pkg_set("MAINTAINER", ["Mr DUPIN Edouard <yui.heero@gmail.com>"])
my_module.pkg_set("ICON", tools.get_current_path(__file__) + "/../data/icon.png")
my_module.pkg_set("SECTION", ["Development"])
my_module.pkg_set("PRIORITY", "optional")
my_module.pkg_set("DESCRIPTION", "ewol test software")
my_module.pkg_set("NAME", "test software")
my_module.pkg_add("RIGHT", "SET_ORIENTATION")
my_module.pkg_add("RIGHT", "VIBRATE")
"""
return True

View File

@ -0,0 +1,56 @@
{
"type":"BINARY",
"sub-type":"TOOL",
"group-id":"com.atria-soft",
"description":"ewol tools software platform test (visual)",
"license":"MPL-2",
"license-file":"file://../../LICENSE",
"maintainer":"file://../../authors.txt",
"author":"file://../../authors.txt",
"version":"file://../../version.txt",
"code-quality":"MEDIUM",
"source": [
"appl/debug.cpp",
"appl/init.cpp",
"appl/MainWindows.cpp",
"appl/TestDistanceField.cpp",
"appl/widget/SizerColor.cpp"
],
"compilation-version": {
"c++": 2017
},
"dependency": [
"ewol"
],
"flag": {
"c++": [
"-DPROJECT_NAME=\"{{{project.name}}}\"",
"-DAPPL_VERSION=\"{{{project.version}}}\""
]
},
"path": [
"."
],
"copy": [
{
"path": "data/icon.png",
"to": ""
},{
"path": "data/icon.*"
},{
"path": "data/cube.*"
},{
"path": "data/grass.*"
},{
"path": "data/stone*"
},{
"path": "data/sphere.*"
},{
"path": "data/gui.xml"
},{
"path": "data/FreeSerif*",
"to": "fonts/"
}
]
}

View File

@ -1,73 +0,0 @@
#!/usr/bin/python
import realog.debug as debug
import lutin.tools as tools
import os
def get_type():
return "BINARY"
def get_sub_type():
return "TOOL"
def get_desc():
return "ewol tools software (visual)"
def get_licence():
return "MPL-2"
def get_compagny_type():
return "com"
def get_compagny_name():
return "atria-soft"
def get_maintainer():
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
def configure(target, my_module):
# add the file to compile:
my_module.add_src_file([
'appl/debug.cpp',
'appl/init.cpp',
'appl/MainWindows.cpp',
'appl/TestDistanceField.cpp',
'appl/widget/SizerColor.cpp'
])
my_module.add_depend(['ewol'])
my_module.copy_file('data/icon.png','icon.png')
my_module.copy_path('data/icon.*','')
my_module.copy_path('data/cube.*','')
my_module.copy_path('data/grass.*','')
my_module.copy_path('data/stone*','')
my_module.copy_path('data/sphere.png','')
my_module.copy_path('data/sphere.obj','')
my_module.copy_path('data/gui.xml','')
my_module.add_path(".")
my_module.copy_path("data/FreeSerif*","fonts/")
"""
# set the package properties :
my_module.pkg_set("VERSION", versionID)
my_module.pkg_set("COMPAGNY_TYPE", "org")
my_module.pkg_set("COMPAGNY_NAME", "Edouard DUPIN")
my_module.pkg_set("MAINTAINER", ["Mr DUPIN Edouard <yui.heero@gmail.com>"])
my_module.pkg_set("ICON", tools.get_current_path(__file__) + "/../data/icon.png")
my_module.pkg_set("SECTION", ["Development"])
my_module.pkg_set("PRIORITY", "optional")
my_module.pkg_set("DESCRIPTION", "ewol test software")
my_module.pkg_set("NAME", "test software")
my_module.pkg_add("RIGHT", "SET_ORIENTATION")
my_module.pkg_add("RIGHT", "VIBRATE")
"""
return True

View File

@ -1 +1 @@
1.0.0
1.0.0-dev