[DEV/API] change .h in .hpp

This commit is contained in:
Edouard DUPIN 2016-10-02 16:10:25 +02:00
parent 57419a3026
commit 0036665646
66 changed files with 251 additions and 272 deletions

View File

@ -25,10 +25,10 @@ def create(target, module_name):
'*operator<<*',
])
my_module.add_exclude_file([
'debug.h',
'debug.hpp',
])
my_module.add_file_patterns([
'*.h',
'*.hp',
'*.md',
])

View File

@ -4,9 +4,9 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/types.h>
#include <gale/Application.h>
#include <gale/context/Context.h>
#include <etk/types.hpp>
#include <gale/Application.hpp>
#include <gale/context/Context.hpp>
gale::Application::Application() :

View File

@ -5,15 +5,15 @@
*/
#pragma once
#include <ememory/memory.h>
#include <etk/types.h>
#include <etk/math/Vector2D.h>
#include <gale/orientation.h>
#include <gale/key/status.h>
#include <gale/key/type.h>
#include <gale/key/Special.h>
#include <gale/context/cursor.h>
#include <gale/context/clipBoard.h>
#include <ememory/memory.hpp>
#include <etk/types.hpp>
#include <etk/math/Vector2D.hpp>
#include <gale/orientation.hpp>
#include <gale/key/status.hpp>
#include <gale/key/type.hpp>
#include <gale/key/Special.hpp>
#include <gale/context/cursor.hpp>
#include <gale/context/clipBoard.hpp>
namespace gale {
class Context;

View File

@ -4,8 +4,8 @@
* @license APACHE v2.0 (see license file)
*/
#include <gale/Dimension.h>
#include <gale/debug.h>
#include <gale/Dimension.hpp>
#include <gale/debug.hpp>
// TODO : set this in a super class acced in a statin fuction...
// ratio in milimeter :

View File

@ -5,9 +5,8 @@
*/
#pragma once
#include <etk/types.h>
#include <etk/types.h>
#include <etk/math/Vector2D.h>
#include <etk/types.hpp>
#include <etk/math/Vector2D.hpp>
namespace gale {
enum class distance {

View File

@ -3,10 +3,10 @@
* @copyright 2011, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file)
*/
#include <gale/Thread.h>
#include <gale/debug.h>
#include <gale/Thread.hpp>
#include <gale/debug.hpp>
#include <unistd.h>
#include <gale/context/Context.h>
#include <gale/context/Context.hpp>
#if defined(__TARGET_OS__Android)
void* gale::Thread::threadCallback(void* _userData) {

View File

@ -5,9 +5,9 @@
*/
#pragma once
#include <etk/types.h>
#include <ethread/tools.h>
#include <gale/context/Context.h>
#include <etk/types.hpp>
#include <ethread/tools.hpp>
#include <gale/context/Context.hpp>
#if defined(__TARGET_OS__Android)
#include <pthread.h>

View File

@ -10,12 +10,12 @@
#include <stdint.h>
#include <pthread.h>
#include <mutex>
#include <gale/debug.h>
#include <gale/context/Context.h>
#include <gale/Dimension.h>
#include <gale/debug.hpp>
#include <gale/context/Context.hpp>
#include <gale/Dimension.hpp>
/* include auto generated file */
#include <org_gale_GaleConstants.h>
#include <jvm-basics/jvm-basics.h>
#include <jvm-basics/jvm-basics.hpp>
int64_t gale::getTime() {

View File

@ -6,21 +6,21 @@
#include <unistd.h>
#include <etk/types.h>
#include <etk/etk.h>
#include <etk/types.hpp>
#include <etk/etk.hpp>
#include <etk/tool.h>
#include <etk/os/FSNode.h>
#include <ethread/tools.h>
#include <etk/tool.hpp>
#include <etk/os/FSNode.hpp>
#include <ethread/tools.hpp>
#include <mutex>
#include <gale/gale.h>
#include <gale/Dimension.h>
#include <gale/debug.h>
#include <gale/gale.hpp>
#include <gale/Dimension.hpp>
#include <gale/debug.hpp>
#include <gale/renderer/openGL/openGL.h>
#include <gale/context/Context.h>
#include <gale/resource/Manager.h>
#include <gale/renderer/openGL/openGL.hpp>
#include <gale/context/Context.hpp>
#include <gale/resource/Manager.hpp>
#include <map>

View File

@ -5,21 +5,21 @@
*/
#pragma once
#include <etk/os/Fifo.h>
#include <etk/os/FSNode.h>
#include <gale/debug.h>
#include <gale/gale.h>
#include <gale/key/key.h>
#include <gale/resource/Manager.h>
#include <gale/Application.h>
#include <gale/context/clipBoard.h>
#include <gale/context/commandLine.h>
// TODO : #include <gale/context/InputManager.h>
#include <gale/context/Fps.h>
#include <ememory/memory.h>
#include <gale/orientation.h>
#include <gale/context/clipBoard.h>
#include <ethread/tools.h>
#include <etk/os/Fifo.hpp>
#include <etk/os/FSNode.hpp>
#include <gale/debug.hpp>
#include <gale/gale.hpp>
#include <gale/key/key.hpp>
#include <gale/resource/Manager.hpp>
#include <gale/Application.hpp>
#include <gale/context/clipBoard.hpp>
#include <gale/context/commandLine.hpp>
// TODO : #include <gale/context/InputManager.hpp>
#include <gale/context/Fps.hpp>
#include <ememory/memory.hpp>
#include <gale/orientation.hpp>
#include <gale/context/clipBoard.hpp>
#include <ethread/tools.hpp>
#define MAX_MANAGE_INPUT (15)

View File

@ -5,18 +5,18 @@
*/
#include <gale/debug.h>
#include <gale/gale.h>
#include <gale/key/key.h>
#include <gale/context/commandLine.h>
#include <etk/types.h>
#include <etk/os/FSNode.h>
#include <gale/debug.hpp>
#include <gale/gale.hpp>
#include <gale/key/key.hpp>
#include <gale/context/commandLine.hpp>
#include <etk/types.hpp>
#include <etk/os/FSNode.hpp>
#include <gale/resource/Manager.h>
#include <gale/context/Context.h>
#include <gale/resource/Manager.hpp>
#include <gale/context/Context.hpp>
#include <gale/context/IOs/Interface.h>
#include <gale/context/IOs/Context.h>
#include <gale/context/IOs/Context.hpp>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>

View File

@ -5,7 +5,7 @@
*/
#pragma once
#include <gale/key/key.h>
#include <gale/key/key.hpp>
namespace IOs {
// Create and relaese gale::Context interface:

View File

@ -4,16 +4,12 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/types.h>
#include <etk/types.h>
#include <gale/debug.h>
#include <gale/gale.h>
#include <gale/context/Context.h>
#include <gale/context/InputManager.h>
#include <gale/Application.h>
#include <etk/types.hpp>
#include <gale/debug.hpp>
#include <gale/gale.hpp>
#include <gale/context/Context.hpp>
#include <gale/context/InputManager.hpp>
#include <gale/Application.hpp>

View File

@ -5,7 +5,7 @@
*/
#pragma once
#include <gale/Application.h>
#include <gale/Application.hpp>
namespace gale {

View File

@ -5,7 +5,7 @@
*/
#pragma once
#include <gale/key/key.h>
#include <gale/key/key.hpp>
namespace MacOs {
// return true if a flush is needed

View File

@ -3,24 +3,24 @@
* @copyright 2011, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file)
*/
#include <gale/debug.h>
#include <gale/gale.h>
#include <etk/types.h>
#include <etk/os/FSNode.h>
#include <gale/debug.hpp>
#include <gale/gale.hpp>
#include <etk/types.hpp>
#include <etk/os/FSNode.hpp>
#include <etk/math/Vector2D.h>
#include <etk/math/Vector3D.h>
#include <etk/math/Vector2D.hpp>
#include <etk/math/Vector3D.hpp>
#include <gale/key/key.h>
#include <gale/resource/Texture.h>
#include <gale/context/Context.h>
#include <gale/renderer/openGL/openGL.h>
#include <gale/renderer/openGL/openGL-include.h>
#include <gale/key/key.hpp>
#include <gale/resource/Texture.hpp>
#include <gale/context/Context.hpp>
#include <gale/renderer/openGL/openGL.hpp>
#include <gale/renderer/openGL/openGL-include.hpp>
#include <sys/time.h>
#include <windows.h>
#include <windowsx.h>
#include <etk/etk.h>
#include <etk/etk.hpp>
int64_t gale::getTime() {
struct timeval now;

View File

@ -9,17 +9,17 @@
#include <stdio.h>
#include <string.h>
#include <etk/types.h>
#include <etk/os/FSNode.h>
#include <etk/types.hpp>
#include <etk/os/FSNode.hpp>
#include <gale/debug.h>
#include <gale/gale.h>
#include <gale/key/key.h>
#include <gale/context/commandLine.h>
#include <gale/resource/Manager.h>
#include <gale/context/Context.h>
#include <gale/Dimension.h>
#include <etk/etk.h>
#include <gale/debug.hpp>
#include <gale/gale.hpp>
#include <gale/key/key.hpp>
#include <gale/context/commandLine.hpp>
#include <gale/resource/Manager.hpp>
#include <gale/context/Context.hpp>
#include <gale/Dimension.hpp>
#include <etk/etk.hpp>
#if defined(__TARGET_OS__Linux)

View File

@ -4,11 +4,11 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/types.h>
#include <etk/types.hpp>
#include <gale/debug.h>
#include <gale/context/clipBoard.h>
#include <gale/context/Context.h>
#include <gale/debug.hpp>
#include <gale/context/clipBoard.hpp>
#include <gale/context/Context.hpp>
/*
note: copy id data :

View File

@ -5,7 +5,7 @@
*/
#pragma once
#include <gale/debug.h>
#include <gale/debug.hpp>
// TODO : Remove this ... ==> set it in the context ....
namespace gale {

View File

@ -4,8 +4,8 @@
* @license APACHE v2.0 (see license file)
*/
#include <gale/debug.h>
#include <gale/context/commandLine.h>
#include <gale/debug.hpp>
#include <gale/context/commandLine.hpp>
#include <vector>
void gale::context::CommandLine::parse(int32_t _argc, const char* _argv[]) {

View File

@ -5,7 +5,7 @@
*/
#pragma once
#include <gale/debug.h>
#include <gale/debug.hpp>
namespace gale {
namespace context {

View File

@ -4,7 +4,7 @@
* @license APACHE v2.0 (see license file)
*/
#include <gale/context/cursor.h>
#include <gale/context/cursor.hpp>
static const char* cursorDescriptionString[] = {
"cursor::arrow",

View File

@ -5,7 +5,7 @@
*/
#pragma once
#include <gale/debug.h>
#include <gale/debug.hpp>
namespace gale {
namespace context {

View File

@ -23,18 +23,18 @@
force-windowed
*/
#include <gale/debug.h>
#include <gale/gale.h>
#include <gale/key.h>
#include <gale/config.h>
#include <gale/commandLine.h>
#include <etk/types.h>
#include <etk/unicode.h>
#include <gale/widget/Manager.h>
#include <gale/debug.hpp>
#include <gale/gale.hpp>
#include <gale/key.hpp>
#include <gale/config.hpp>
#include <gale/commandLine.hpp>
#include <etk/types.hpp>
#include <etk/unicode.hpp>
#include <gale/widget/Manager.hpp>
#include <gale/renderer/ResourceManager.h>
#include <gale/renderer/eSystem.h>
#include <gale/openGL/openGL.h>
#include <gale/renderer/ResourceManager.hpp>
#include <gale/renderer/eSystem.hpp>
#include <gale/openGL/openGL.hpp>
#include <unistd.h>
#include <stdlib.h>

View File

@ -4,7 +4,7 @@
* @license APACHE v2.0 (see license file)
*/
#include <gale/debug.h>
#include <gale/debug.hpp>
int32_t gale::getLogId() {
static int32_t g_val = elog::registerInstance("gale");

View File

@ -5,7 +5,7 @@
*/
#pragma once
#include <elog/log.h>
#include <elog/log.hpp>
namespace gale {
int32_t getLogId();

View File

@ -4,12 +4,12 @@
* @license APACHE v2.0 (see license file)
*/
#include <gale/gale.h>
#include <gale/context/Context.h>
#include <gale/gale.hpp>
#include <gale/context/Context.hpp>
#include <gale/context/commandLine.h>
#include <etk/os/FSNode.h>
#include <gale/Dimension.h>
#include <gale/context/commandLine.hpp>
#include <etk/os/FSNode.hpp>
#include <gale/Dimension.hpp>
#ifndef GALE_VERSION
#define GALE_VERSION "0.0.0"

View File

@ -5,8 +5,8 @@
*/
#pragma once
#include <etk/types.h>
#include <gale/Application.h>
#include <etk/types.hpp>
#include <gale/Application.hpp>
namespace gale {
/**

View File

@ -4,8 +4,8 @@
* @license APACHE v2.0 (see license file)
*/
#include <gale/key/Special.h>
#include <etk/stdTools.h>
#include <gale/key/Special.hpp>
#include <etk/stdTools.hpp>
#define GALE_FLAG_KEY_CAPS_LOCK 0x00000001
#define GALE_FLAG_KEY_SHIFT 0x00000002

View File

@ -5,8 +5,8 @@
*/
#pragma once
#include <gale/debug.h>
#include <gale/key/keyboard.h>
#include <gale/debug.hpp>
#include <gale/key/keyboard.hpp>
namespace gale {
namespace key {

View File

@ -5,7 +5,7 @@
*/
#pragma once
#include <gale/key/keyboard.h>
#include <gale/key/Special.h>
#include <gale/key/status.h>
#include <gale/key/type.h>
#include <gale/key/keyboard.hpp>
#include <gale/key/Special.hpp>
#include <gale/key/status.hpp>
#include <gale/key/type.hpp>

View File

@ -4,8 +4,8 @@
* @license APACHE v2.0 (see license file)
*/
#include <gale/key/keyboard.h>
#include <etk/stdTools.h>
#include <gale/key/keyboard.hpp>
#include <etk/stdTools.hpp>
static const char* keyboardDescriptionString[] = {
"keyboard::unknow",

View File

@ -5,7 +5,7 @@
*/
#pragma once
#include <gale/debug.h>
#include <gale/debug.hpp>
namespace gale {
namespace key {

View File

@ -4,8 +4,8 @@
* @license APACHE v2.0 (see license file)
*/
#include <gale/key/status.h>
#include <etk/stdTools.h>
#include <gale/key/status.hpp>
#include <etk/stdTools.hpp>
static const char* statusDescriptionString[] = {
"status::unknow",

View File

@ -5,7 +5,7 @@
*/
#pragma once
#include <gale/debug.h>
#include <gale/debug.hpp>
namespace gale {
namespace key {

View File

@ -4,8 +4,8 @@
* @license APACHE v2.0 (see license file)
*/
#include <gale/key/type.h>
#include <etk/stdTools.h>
#include <gale/key/type.hpp>
#include <etk/stdTools.hpp>
static const char* typeDescriptionString[] = {

View File

@ -5,7 +5,7 @@
*/
#pragma once
#include <gale/debug.h>
#include <gale/debug.hpp>
namespace gale {
namespace key {

View File

@ -4,8 +4,8 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/types.h>
#include <gale/orientation.h>
#include <etk/types.hpp>
#include <gale/orientation.hpp>
static const char* listValues[] = {
"orientation::screenAuto",

View File

@ -5,13 +5,13 @@
*/
#include <vector>
#include <gale/debug.h>
#include <gale/renderer/openGL/openGL.h>
#include <etk/stdTools.h>
#include <gale/debug.hpp>
#include <gale/renderer/openGL/openGL.hpp>
#include <etk/stdTools.hpp>
#include <mutex>
//#define DIRECT_MODE
#include <gale/renderer/openGL/openGL-include.h>
#include <ethread/tools.h>
#include <gale/renderer/openGL/openGL-include.hpp>
#include <ethread/tools.hpp>
#define CHECK_ERROR_OPENGL
@ -784,6 +784,7 @@ static char l_bufferDisplayError[LOG_OGL_INTERNAL_BUFFER_LEN] = "";
int64_t gale::openGL::shader::create(enum gale::openGL::shader::type _type) {
GLuint shader = 0;
if (_type == gale::openGL::shader::type::vertex) {
GALE_ERROR("create shader: VERTEX");
#ifdef GALE_SIMULATION_OPENGL_AVAILLABLE
if (s_simulationMode == false) {
#endif
@ -795,6 +796,7 @@ int64_t gale::openGL::shader::create(enum gale::openGL::shader::type _type) {
}
#endif
} else if (_type == gale::openGL::shader::type::fragment) {
GALE_ERROR("create shader: FRAGMENT");
#ifdef GALE_SIMULATION_OPENGL_AVAILLABLE
if (s_simulationMode == false) {
#endif
@ -809,6 +811,7 @@ int64_t gale::openGL::shader::create(enum gale::openGL::shader::type _type) {
GALE_ERROR("create shader with wrong type ...");
return -1;
}
GALE_ERROR("create shader: ... (done)");
if (shader == 0) {
GALE_ERROR("glCreateShader return error ...");
#ifdef GALE_SIMULATION_OPENGL_AVAILLABLE

View File

@ -5,11 +5,11 @@
*/
#pragma once
#include <etk/types.h>
#include <etk/types.hpp>
#include <vector>
#include <etk/math/Matrix4.h>
#include <etk/math/Vector2D.h>
#include <etk/Color.h>
#include <etk/math/Matrix4.hpp>
#include <etk/math/Vector2D.hpp>
#include <etk/Color.hpp>
namespace gale {
namespace openGL {

View File

@ -4,12 +4,12 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/types.h>
#include <gale/debug.h>
#include <gale/resource/Manager.h>
#include <gale/gale.h>
#include <gale/renderer/openGL/openGL.h>
#include <gale/context/Context.h>
#include <etk/types.hpp>
#include <gale/debug.hpp>
#include <gale/resource/Manager.hpp>
#include <gale/gale.hpp>
#include <gale/renderer/openGL/openGL.hpp>
#include <gale/context/Context.hpp>

View File

@ -7,9 +7,9 @@
#include <list>
#include <vector>
#include <etk/types.h>
#include <gale/debug.h>
#include <gale/resource/Resource.h>
#include <etk/types.hpp>
#include <gale/debug.hpp>
#include <gale/resource/Resource.hpp>
namespace gale {
namespace resource {

View File

@ -4,13 +4,13 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/types.h>
#include <gale/debug.h>
#include <gale/resource/Program.h>
#include <gale/resource/Manager.h>
#include <etk/os/FSNode.h>
#include <gale/gale.h>
#include <gale/renderer/openGL/openGL-include.h>
#include <etk/types.hpp>
#include <gale/debug.hpp>
#include <gale/resource/Program.hpp>
#include <gale/resource/Manager.hpp>
#include <etk/os/FSNode.hpp>
#include <gale/gale.hpp>
#include <gale/renderer/openGL/openGL-include.hpp>
//#define LOCAL_DEBUG GALE_VERBOSE
#define LOCAL_DEBUG GALE_DEBUG

View File

@ -5,13 +5,13 @@
*/
#pragma once
#include <etk/types.h>
#include <etk/math/Vector4D.h>
#include <gale/renderer/openGL/openGL.h>
#include <gale/resource/Resource.h>
#include <gale/resource/Shader.h>
#include <gale/resource/VirtualBufferObject.h>
#include <etk/Color.h>
#include <etk/types.hpp>
#include <etk/math/Vector4D.hpp>
#include <gale/renderer/openGL/openGL.hpp>
#include <gale/resource/Resource.hpp>
#include <gale/resource/Shader.hpp>
#include <gale/resource/VirtualBufferObject.hpp>
#include <etk/Color.hpp>
namespace gale {
namespace resource {

View File

@ -4,12 +4,12 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/types.h>
#include <gale/debug.h>
#include <gale/resource/Resource.h>
#include <gale/resource/Manager.h>
#include <gale/gale.h>
#include <gale/context/Context.h>
#include <etk/types.hpp>
#include <gale/debug.hpp>
#include <gale/resource/Resource.hpp>
#include <gale/resource/Manager.hpp>
#include <gale/gale.hpp>
#include <gale/context/Context.hpp>
gale::Resource::Resource() :

View File

@ -6,9 +6,9 @@
#pragma once
#include <mutex>
#include <ememory/memory.h>
#include <etk/types.h>
#include <gale/debug.h>
#include <ememory/memory.hpp>
#include <etk/types.hpp>
#include <gale/debug.hpp>
#define MAX_RESOURCE_LEVEL (5)
@ -207,5 +207,5 @@ namespace gale {
};
}
#include <gale/resource/Manager.h>
#include <gale/resource/Manager.hpp>

View File

@ -4,13 +4,13 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/types.h>
#include <etk/os/FSNode.h>
#include <gale/debug.h>
#include <gale/resource/Shader.h>
#include <gale/resource/Manager.h>
#include <etk/types.hpp>
#include <etk/os/FSNode.hpp>
#include <gale/debug.hpp>
#include <gale/resource/Shader.hpp>
#include <gale/resource/Manager.hpp>
#include <gale/renderer/openGL/openGL-include.h>
#include <gale/renderer/openGL/openGL-include.hpp>
gale::resource::Shader::Shader() :
gale::Resource(),
@ -25,7 +25,7 @@ gale::resource::Shader::Shader() :
void gale::resource::Shader::init(const std::string& _filename) {
std::unique_lock<std::recursive_mutex> lock(m_mutex);
gale::Resource::init(_filename);
GALE_DEBUG("OGL : load SHADER \"" << _filename << "\"");
GALE_DEBUG("OGL : load SHADER '" << _filename << "'");
// load data from file "all the time ..."
if (etk::end_with(m_name, ".frag") == true) {

View File

@ -5,10 +5,10 @@
*/
#pragma once
#include <etk/types.h>
#include <gale/debug.h>
#include <gale/renderer/openGL/openGL.h>
#include <gale/resource/Resource.h>
#include <etk/types.hpp>
#include <gale/debug.hpp>
#include <gale/renderer/openGL/openGL.hpp>
#include <gale/resource/Resource.hpp>
namespace gale {
namespace resource {

View File

@ -4,12 +4,12 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/types.h>
#include <gale/gale.h>
#include <gale/renderer/openGL/openGL.h>
#include <gale/resource/Manager.h>
#include <gale/resource/Texture.h>
#include <gale/renderer/openGL/openGL-include.h>
#include <etk/types.hpp>
#include <gale/gale.hpp>
#include <gale/renderer/openGL/openGL.hpp>
#include <gale/resource/Manager.hpp>
#include <gale/resource/Texture.hpp>
#include <gale/renderer/openGL/openGL-include.hpp>
/**
* @brief get the next power 2 if the input

View File

@ -5,10 +5,10 @@
*/
#pragma once
#include <etk/types.h>
#include <gale/debug.h>
#include <gale/renderer/openGL/openGL.h>
#include <gale/resource/Resource.h>
#include <etk/types.hpp>
#include <gale/debug.hpp>
#include <gale/renderer/openGL/openGL.hpp>
#include <gale/resource/Resource.hpp>
namespace gale {
namespace resource {

View File

@ -4,11 +4,11 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/types.h>
#include <gale/debug.h>
#include <gale/resource/Manager.h>
#include <gale/resource/VirtualBufferObject.h>
#include <gale/renderer/openGL/openGL-include.h>
#include <etk/types.hpp>
#include <gale/debug.hpp>
#include <gale/resource/Manager.hpp>
#include <gale/resource/VirtualBufferObject.hpp>
#include <gale/renderer/openGL/openGL-include.hpp>
void gale::resource::VirtualBufferObject::init(int32_t _number) {
gale::Resource::init();

View File

@ -5,12 +5,12 @@
*/
#pragma once
#include <etk/types.h>
#include <etk/math/Vector2D.h>
#include <gale/debug.h>
#include <gale/resource/Resource.h>
#include <gale/renderer/openGL/openGL.h>
#include <etk/Color.h>
#include <etk/types.hpp>
#include <etk/math/Vector2D.hpp>
#include <gale/debug.hpp>
#include <gale/resource/Resource.hpp>
#include <gale/renderer/openGL/openGL.hpp>
#include <etk/Color.hpp>
namespace gale {
namespace resource {

View File

@ -40,12 +40,12 @@ def create(target, module_name):
'gale/Thread.cpp',
])
my_module.add_header_file([
'gale/debug.h',
'gale/gale.h',
'gale/Dimension.h',
'gale/orientation.h',
'gale/Application.h',
'gale/Thread.h',
'gale/debug.hpp',
'gale/gale.hpp',
'gale/Dimension.hpp',
'gale/orientation.hpp',
'gale/Application.hpp',
'gale/Thread.hpp',
])
# context:
my_module.add_src_file([
@ -55,11 +55,11 @@ def create(target, module_name):
'gale/context/cursor.cpp',
])
my_module.add_header_file([
'gale/context/clipBoard.h',
'gale/context/commandLine.h',
'gale/context/Context.h',
'gale/context/cursor.h',
'gale/context/Fps.h'
'gale/context/clipBoard.hpp',
'gale/context/commandLine.hpp',
'gale/context/Context.hpp',
'gale/context/cursor.hpp',
'gale/context/Fps.hpp'
])
if "Linux" in target.get_type():
my_module.add_src_file('gale/context/X11/Context.cpp')
@ -106,19 +106,19 @@ def create(target, module_name):
'gale/key/type.cpp'
])
my_module.add_header_file([
'gale/key/keyboard.h',
'gale/key/Special.h',
'gale/key/status.h',
'gale/key/type.h',
'gale/key/key.h'
'gale/key/keyboard.hpp',
'gale/key/Special.hpp',
'gale/key/status.hpp',
'gale/key/type.hpp',
'gale/key/key.hpp'
])
# OpenGL interface:
my_module.add_src_file([
'gale/renderer/openGL/openGL.cpp'
])
my_module.add_header_file([
'gale/renderer/openGL/openGL.h',
'gale/renderer/openGL/openGL-include.h'
'gale/renderer/openGL/openGL.hpp',
'gale/renderer/openGL/openGL-include.hpp'
])
# resources:
my_module.add_src_file([
@ -130,12 +130,12 @@ def create(target, module_name):
'gale/resource/VirtualBufferObject.cpp'
])
my_module.add_header_file([
'gale/resource/Manager.h',
'gale/resource/Program.h',
'gale/resource/Resource.h',
'gale/resource/Shader.h',
'gale/resource/Texture.h',
'gale/resource/VirtualBufferObject.h'
'gale/resource/Manager.hpp',
'gale/resource/Program.hpp',
'gale/resource/Resource.hpp',
'gale/resource/Shader.hpp',
'gale/resource/Texture.hpp',
'gale/resource/VirtualBufferObject.hpp'
])
my_module.add_depend([
'etk',

View File

@ -1,19 +0,0 @@
#!/usr/bin/python
import monkModule
import monkTools as tools
import os
def get_desc():
return "graphyc Abstraction layer for EWOL"
def create():
# module name is 'ewol' and type binary.
myModule = monkModule.Module(__file__, 'gale', 'LIBRARY')
# enable doculentation :
myModule.set_website("http://atria-soft.github.io/gale/")
myModule.set_website_sources("http://github.com/atria-soft/gale/")
myModule.set_path(os.path.join(tools.get_current_path(__file__), "gale"))
myModule.set_path_general_doc(os.path.join(tools.get_current_path(__file__), "doc"))
# add the currrent module at the
return myModule

View File

@ -6,14 +6,14 @@
//! [gale_sample_all]
#include <etk/types.h>
#include <gale/gale.h>
#include <gale/context/commandLine.h>
#include <test-debug/debug.h>
#include <etk/types.hpp>
#include <gale/gale.hpp>
#include <gale/context/commandLine.hpp>
#include <test-debug/debug.hpp>
#include <gale/Application.h>
#include <gale/context/Context.h>
#include <gale/resource/Program.h>
#include <gale/Application.hpp>
#include <gale/context/Context.hpp>
#include <gale/resource/Program.hpp>
class MainApplication : public gale::Application {