2011-10-17 18:05:15 +02:00
|
|
|
/**
|
|
|
|
*******************************************************************************
|
|
|
|
* @file ewol.h
|
|
|
|
* @brief Main include of ewol (header)
|
|
|
|
* @author Edouard DUPIN
|
|
|
|
* @date 17/10/2011
|
|
|
|
* @par Project
|
|
|
|
* ewol
|
|
|
|
*
|
|
|
|
* @par Copyright
|
|
|
|
* Copyright 2011 Edouard DUPIN, all right reserved
|
|
|
|
*
|
|
|
|
* This software is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
* ANY WARRANTY.
|
|
|
|
*
|
|
|
|
* Licence summary :
|
|
|
|
* You can modify and redistribute the sources code and binaries.
|
|
|
|
* You can send me the bug-fix
|
|
|
|
*
|
|
|
|
* Term of the licence in in the file licence.txt.
|
|
|
|
*
|
|
|
|
*******************************************************************************
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __EWOL_H__
|
|
|
|
#define __EWOL_H__
|
|
|
|
|
2011-10-20 10:17:00 +02:00
|
|
|
#include <etkTypes.h>
|
2011-10-21 15:07:56 +02:00
|
|
|
#include <etkString.h>
|
2011-10-20 18:24:43 +02:00
|
|
|
#include <ewolWidget.h>
|
2011-10-21 15:07:56 +02:00
|
|
|
#include <ewolWindows.h>
|
2011-10-20 10:17:00 +02:00
|
|
|
|
2011-10-17 18:05:15 +02:00
|
|
|
namespace ewol {
|
2011-10-20 10:17:00 +02:00
|
|
|
void Init(int32_t argc, char *argv[]);
|
2011-10-17 18:05:15 +02:00
|
|
|
void Run(void);
|
2011-10-21 15:07:56 +02:00
|
|
|
void Stop(void);
|
2011-10-17 18:05:15 +02:00
|
|
|
void UnInit(void);
|
2011-10-21 15:07:56 +02:00
|
|
|
void DisplayWindows(ewol::Windows * windows);
|
2011-11-01 15:47:17 +01:00
|
|
|
void ChangeSize(int32_t w, int32_t h);
|
|
|
|
void ChangePos(int32_t x, int32_t y);
|
|
|
|
void GetAbsPos(int32_t & x, int32_t & y);
|
|
|
|
void StartResizeSystem(void);
|
|
|
|
void StartMoveSystem(void);
|
|
|
|
bool IsPressedInput(int32_t inputID);
|
2011-10-17 18:05:15 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|