diff --git a/Sources/libetk/etk/Debug.cpp b/Sources/libetk/etk/Debug.cpp index a1379faa..6e815cd5 100644 --- a/Sources/libetk/etk/Debug.cpp +++ b/Sources/libetk/etk/Debug.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/Debug.h - * @brief Ewol Tool Kit : log implementation * @author Edouard DUPIN - * @date 08/06/2010 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libetk/etk/Debug.h b/Sources/libetk/etk/Debug.h index 995a9fcc..6df6fdb9 100644 --- a/Sources/libetk/etk/Debug.h +++ b/Sources/libetk/etk/Debug.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/Debug.h - * @brief Ewol Tool Kit : log implementation * @author Edouard DUPIN - * @date 08/06/2010 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libetk/etk/DebugInternal.cpp b/Sources/libetk/etk/DebugInternal.cpp index b7894836..fc83830e 100644 --- a/Sources/libetk/etk/DebugInternal.cpp +++ b/Sources/libetk/etk/DebugInternal.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/DebugInternal.cpp - * @brief Ewol Tool Kit : log wrapper (sources) * @author Edouard DUPIN - * @date 19/10/2011 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ const char * etkLibName = "Etk "; diff --git a/Sources/libetk/etk/DebugInternal.h b/Sources/libetk/etk/DebugInternal.h index 38a54165..d94fad15 100644 --- a/Sources/libetk/etk/DebugInternal.h +++ b/Sources/libetk/etk/DebugInternal.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/DebugInternal.h - * @brief Ewol Tool Kit : log wrapper (header) * @author Edouard DUPIN - * @date 19/10/2011 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include "etk/Debug.h" diff --git a/Sources/libetk/etk/MessageFifo.h b/Sources/libetk/etk/MessageFifo.h index ea1d1433..b7ec2a13 100644 --- a/Sources/libetk/etk/MessageFifo.h +++ b/Sources/libetk/etk/MessageFifo.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/os/Mutex.h - * @brief Ewol Tool Kit : basic mutex system (header) * @author Edouard DUPIN - * @date 15/08/2012 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __ETK_MESSAGE_FIFO_H__ diff --git a/Sources/libetk/etk/RegExp.cpp b/Sources/libetk/etk/RegExp.cpp index d33c0b02..60319c3a 100644 --- a/Sources/libetk/etk/RegExp.cpp +++ b/Sources/libetk/etk/RegExp.cpp @@ -1,27 +1,12 @@ /** - ******************************************************************************* - * @file etk/RegExp.cpp - * @brief Ewol Tool Kit : Regular expression annalyser (sources) * @author Edouard DUPIN - * @date 04/04/2011 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ + #include @@ -80,14 +65,6 @@ const etk::convertionTable_ts etk::constConvertionTable[] = { const int32_t etk::constConvertionTableSize = sizeof(etk::constConvertionTable) / sizeof(etk::convertionTable_ts) ; -/** - * @brief Display the internal data of a node - * - * @param[in] data element do display in the console - * - * @return --- - * - */ void etk::DisplayData(etk::Vector &data) { int32_t i; @@ -96,16 +73,6 @@ void etk::DisplayData(etk::Vector &data) } } -/** - * @brief Display of a part of the Regexp element - * - * @param[in] data Vector where data is constain - * @param[in] start Position where the display might start - * @param[in] stop Position where the display might stop - * - * @return --- - * - */ void etk::DisplayElem(etk::Vector &data, int32_t start, int32_t stop) { int32_t i; @@ -168,14 +135,6 @@ char * etk::levelSpace(int32_t level) } -/** - * @brief - * - * @param[in,out] --- - * - * @return --- - * - */ int32_t etk::GetLenOfPTheseElem(etk::Vector &data, int32_t startPos) { int32_t pos = startPos; @@ -217,14 +176,6 @@ int32_t etk::GetLenOfPTheseElem(etk::Vector &data, int32_t startPos) return pos - startPos; } -/** - * @brief - * - * @param[in,out] --- - * - * @return --- - * - */ int32_t etk::GetLenOfPThese(etk::Vector &data, int32_t startPos) { int32_t pos = startPos; @@ -270,14 +221,6 @@ int32_t etk::GetLenOfPThese(etk::Vector &data, int32_t startPos) } -/** - * @brief - * - * @param[in,out] --- - * - * @return --- - * - */ int32_t etk::GetLenOfBracket(etk::Vector &data, int32_t startPos) { int32_t pos = startPos; @@ -314,14 +257,6 @@ int32_t etk::GetLenOfBracket(etk::Vector &data, int32_t startPos) } -/** - * @brief - * - * @param[in,out] --- - * - * @return --- - * - */ int32_t etk::GetLenOfBrace(etk::Vector &data, int32_t startPos) { int32_t pos = startPos; @@ -358,14 +293,6 @@ int32_t etk::GetLenOfBrace(etk::Vector &data, int32_t startPos) } -/** - * @brief - * - * @param[in,out] --- - * - * @return --- - * - */ int32_t etk::GetLenOfNormal(etk::Vector &data, int32_t startPos) { int32_t pos = startPos; @@ -415,14 +342,6 @@ int32_t etk::GetLenOfNormal(etk::Vector &data, int32_t startPos) } -/** - * @brief - * - * @param[in,out] --- - * - * @return --- - * - */ bool etk::ParseBrace(etk::Vector &data, int32_t &min, int32_t &max) { //TK_INFO("parse {...} in "; DisplayElem(data); ); diff --git a/Sources/libetk/etk/RegExp.h b/Sources/libetk/etk/RegExp.h index caadd9f1..9b0bcaf8 100644 --- a/Sources/libetk/etk/RegExp.h +++ b/Sources/libetk/etk/RegExp.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/RegExp.h - * @brief Ewol Tool Kit : Regular expression annalyser (header) * @author Edouard DUPIN - * @date 04/04/2011 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __TK_REG_EXP_H__ diff --git a/Sources/libetk/etk/Stream.cpp b/Sources/libetk/etk/Stream.cpp index cb723cda..78a226c2 100644 --- a/Sources/libetk/etk/Stream.cpp +++ b/Sources/libetk/etk/Stream.cpp @@ -1,28 +1,11 @@ /** - ******************************************************************************* - * @file etk/Stream.cpp - * @brief Ewol Tool Kit : Basic etk::Stream for Log system ... (Sources) * @author Edouard DUPIN - * @date 02/12/2011 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - #include etk::CCout etk::cout; diff --git a/Sources/libetk/etk/Stream.h b/Sources/libetk/etk/Stream.h index 35968ff6..f48c2a02 100644 --- a/Sources/libetk/etk/Stream.h +++ b/Sources/libetk/etk/Stream.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/Stream.h - * @brief Ewol Tool Kit : Basic etk::Stream for Log system ... (header) * @author Edouard DUPIN - * @date 02/12/2011 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __ETK_STREAM_DEC_H__ diff --git a/Sources/libetk/etk/Types.h b/Sources/libetk/etk/Types.h index 7b9f6456..585fca5b 100644 --- a/Sources/libetk/etk/Types.h +++ b/Sources/libetk/etk/Types.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/Types.h - * @brief Ewol Tool Kit : generique define type * @author Edouard DUPIN - * @date 08/06/2010 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __ETK_TYPES_H__ diff --git a/Sources/libetk/etk/UString.cpp b/Sources/libetk/etk/UString.cpp index 5c68aeb3..fb3422bd 100644 --- a/Sources/libetk/etk/UString.cpp +++ b/Sources/libetk/etk/UString.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/UString.cpp - * @brief Ewol Tool Kit : normal Unicode string management... (sources) * @author Edouard DUPIN - * @date 14/02/2012 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include @@ -54,14 +38,6 @@ etk::CCout& etk::operator <<(etk::CCout &os, const etk::UString &obj) return os; } -/** - * @brief - * - * @param[in,out] - * - * @return - * - */ etk::UString::~UString(void) { //m_data.Clear(); @@ -69,14 +45,6 @@ etk::UString::~UString(void) } -/** - * @brief - * - * @param[in,out] - * - * @return - * - */ etk::UString::UString(void) { //TK_INFO("new etk::UString()"); @@ -85,14 +53,6 @@ etk::UString::UString(void) } -/** - * @brief - * - * @param[in,out] - * - * @return - * - */ etk::UString::UString(const char* inputData, int32_t len) { m_data.Clear(); @@ -101,14 +61,6 @@ etk::UString::UString(const char* inputData, int32_t len) } -/** - * @brief - * - * @param[in,out] - * - * @return - * - */ etk::UString::UString(const uniChar_t* inputData, int32_t len) { m_data.Clear(); @@ -170,14 +122,8 @@ void etk::UString::Set(const uniChar_t * inputData, int32_t len) m_data.PushBack('\0'); } } -/** - * @brief - * - * @param[in,out] - * - * @return - * - */ + + etk::UString::UString(char inputData) { char tmpVal[2]; @@ -202,14 +148,6 @@ etk::UString::UString(int inputData) } -/** - * @brief - * - * @param[in,out] - * - * @return - * - */ etk::UString::UString(unsigned int inputData) { char tmpVal[256]; @@ -250,14 +188,6 @@ etk::UString::UString(const etk::UString &etkS) } -/** - * @brief - * - * @param[in,out] - * - * @return - * - */ const etk::UString& etk::UString::operator= (const etk::UString &etkS ) { //TK_INFO("OPERATOR de recopie"); @@ -268,14 +198,6 @@ const etk::UString& etk::UString::operator= (const etk::UString &etkS ) } -/** - * @brief - * - * @param[in,out] - * - * @return - * - */ const etk::UString& etk::UString::operator= (etk::Vector inputData) { etk::Vector output_Unicode; @@ -284,14 +206,6 @@ const etk::UString& etk::UString::operator= (etk::Vector inputData) return *this; } -/** - * @brief - * - * @param[in,out] - * - * @return - * - */ const etk::UString& etk::UString::operator= (etk::Vector inputData) { etk::Vector output_Unicode; @@ -301,14 +215,6 @@ const etk::UString& etk::UString::operator= (etk::Vector inputData) } -/** - * @brief - * - * @param[in,out] - * - * @return - * - */ const etk::UString& etk::UString::operator= (etk::Vector inputData) { m_data = inputData; @@ -422,14 +328,6 @@ bool etk::UString::operator<= (const etk::UString& etkS) const } -/** - * @brief - * - * @param[in,out] - * - * @return - * - */ bool etk::UString::operator== (const etk::UString& etkS) const { if( this != &etkS ) { @@ -449,29 +347,12 @@ bool etk::UString::operator== (const etk::UString& etkS) const } - -/** - * @brief - * - * @param[in,out] - * - * @return - * - */ bool etk::UString::operator!= (const etk::UString& etkS) const { return !(*this == etkS); } -/** - * @brief - * - * @param[in,out] - * - * @return - * - */ const etk::UString& etk::UString::operator+= (const etk::UString &etkS) { if (0 < etkS.Size()) { @@ -489,14 +370,6 @@ const etk::UString& etk::UString::operator+= (const etk::UString &etkS) } -/** - * @brief - * - * @param[in,out] - * - * @return - * - */ etk::UString etk::UString::operator+ (const etk::UString &etkS) { etk::UString temp; @@ -508,18 +381,6 @@ etk::UString etk::UString::operator+ (const etk::UString &etkS) } - - - - -/** - * @brief - * - * @param[in,out] - * - * @return - * - */ bool etk::UString::IsEmpty(void) const { if(1 >= m_data.Size() ) { @@ -530,14 +391,6 @@ bool etk::UString::IsEmpty(void) const } -/** - * @brief - * - * @param[in,out] - * - * @return - * - */ int32_t etk::UString::Size(void) const { if (m_data.Size() == 0) { @@ -548,28 +401,13 @@ int32_t etk::UString::Size(void) const } -/** - * @brief - * - * @param[in,out] - * - * @return - * - */ void etk::UString::Add(int32_t currentID, const char* inputData) { etk::UString tmpString(inputData); Add(currentID, tmpString.pointer() ); } -/** - * @brief - * - * @param[in,out] - * - * @return - * - */ + void etk::UString::Add(int32_t currentID, const uniChar_t* inputData) { // get the input lenght @@ -588,14 +426,7 @@ void etk::UString::Add(int32_t currentID, const uniChar_t* inputData) m_data.Insert(currentID, inputData, len); } -/** - * @brief - * - * @param[in,out] - * - * @return - * - */ + void etk::UString::Add(int32_t currentID, const uniChar_t inputData) { uniChar_t data[2]; @@ -605,14 +436,6 @@ void etk::UString::Add(int32_t currentID, const uniChar_t inputData) } -/** - * @brief - * - * @param[in,out] - * - * @return - * - */ void etk::UString::Remove(int32_t currentID, int32_t len) { if (0 >= len) { @@ -624,14 +447,6 @@ void etk::UString::Remove(int32_t currentID, int32_t len) } -/** - * @brief Remove all element in the UString - * - * @param --- - * - * @return --- - * - */ void etk::UString::Clear(void) { m_data.Clear(); @@ -639,20 +454,12 @@ void etk::UString::Clear(void) } - -/** - * @brief find the first accurence after the position indicated - * - * @param[in] element Element that might be find in the UString - * @param[in] startPos Stert position to begin the search - * - * @return the position of the first occurence or -1 if not find... - * - */ int32_t etk::UString::FindForward(const char element, int32_t startPos) const { return FindForward((uniChar_t)element, startPos); } + + int32_t etk::UString::FindForward(const uniChar_t element, int32_t startPos) const { if (startPos < 0) { @@ -669,19 +476,12 @@ int32_t etk::UString::FindForward(const uniChar_t element, int32_t startPos) con } -/** - * @brief find the first accurence before the position indicated. - * - * @param[in] element Element that might be find in the UString - * @param[in] startPos Stert position to begin the search - * - * @return the position of the first occurence begining by the end or -1 if not find... - * - */ int32_t etk::UString::FindBack(const char element, int32_t startPos) const { return FindBack((uniChar_t)element, startPos); } + + int32_t etk::UString::FindBack(const uniChar_t element, int32_t startPos) const { if (startPos < 0) { @@ -698,15 +498,6 @@ int32_t etk::UString::FindBack(const uniChar_t element, int32_t startPos) const } -/** - * @brief Extract data from the data between two position - * - * @param[in] posStart Start position where to extract data - * @param[in] posEnd End position where to extract data - * - * @return the extracted UString - * - */ etk::UString etk::UString::Extract(int32_t posStart, int32_t posEnd) const { etk::UString out; @@ -726,14 +517,6 @@ etk::UString etk::UString::Extract(int32_t posStart, int32_t posEnd) const } -/** - * @brief Get a basic vector in int8 data with no \0 at the end of the UString - * - * @param --- - * - * @return The desired vector with data - * - */ etk::Vector etk::UString::GetVector(void) { etk::Vector out = m_data; @@ -742,8 +525,6 @@ etk::Vector etk::UString::GetVector(void) } -// Start With ... - bool etk::UString::StartWith(const etk::UString& data) { if (data.Size() == 0) { diff --git a/Sources/libetk/etk/UString.h b/Sources/libetk/etk/UString.h index 06e92bb6..22ff8e18 100644 --- a/Sources/libetk/etk/UString.h +++ b/Sources/libetk/etk/UString.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/String.h - * @brief Ewol Tool Kit : normal sting management... (header) * @author Edouard DUPIN - * @date 26/01/2011 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __ETK_USTRING_H__ diff --git a/Sources/libetk/etk/Vector.h b/Sources/libetk/etk/Vector.h index f2ea429e..0d059c8f 100644 --- a/Sources/libetk/etk/Vector.h +++ b/Sources/libetk/etk/Vector.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/Vector.h - * @brief Ewol Tool Kit : Basic etk::Vector (template) * @author Edouard DUPIN - * @date 07/04/2011 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __ETK_VECTOR_H__ diff --git a/Sources/libetk/etk/math/Matrix.h b/Sources/libetk/etk/math/Matrix.h index 4ab5aaaf..f956c820 100644 --- a/Sources/libetk/etk/math/Matrix.h +++ b/Sources/libetk/etk/math/Matrix.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/math/Matix.h - * @brief Ewol Tool Kit : generique Matrix type (header) * @author Edouard DUPIN - * @date 29/08/2012 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __ETK_TYPES_MATRIX_H__ diff --git a/Sources/libetk/etk/math/Matrix4.cpp b/Sources/libetk/etk/math/Matrix4.cpp index e69ac2a9..f248b6e2 100644 --- a/Sources/libetk/etk/math/Matrix4.cpp +++ b/Sources/libetk/etk/math/Matrix4.cpp @@ -1,29 +1,11 @@ /** - ******************************************************************************* - * @file etk/math/Matix4.cpp - * @brief Ewol Tool Kit : generique Matrix4 type (Sources) * @author Edouard DUPIN - * @date 29/08/2012 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - - #include #include #include diff --git a/Sources/libetk/etk/math/Matrix4.h b/Sources/libetk/etk/math/Matrix4.h index 53db0603..7b1dfd75 100644 --- a/Sources/libetk/etk/math/Matrix4.h +++ b/Sources/libetk/etk/math/Matrix4.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/math/Matix4.h - * @brief Ewol Tool Kit : generique Matrix4 type (header) * @author Edouard DUPIN - * @date 29/08/2012 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __ETK_TYPES_MATRIX4_H__ diff --git a/Sources/libetk/etk/math/Plane.h b/Sources/libetk/etk/math/Plane.h index 99504a89..7ba8579b 100644 --- a/Sources/libetk/etk/math/Plane.h +++ b/Sources/libetk/etk/math/Plane.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/math/Plane.h - * @brief Ewol Tool Kit : generique plane type (header) * @author Edouard DUPIN - * @date 29/10/2012 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __ETK_TYPES_PLANE_H__ diff --git a/Sources/libetk/etk/math/Vector2D.h b/Sources/libetk/etk/math/Vector2D.h index 583a09e1..bee117d0 100644 --- a/Sources/libetk/etk/math/Vector2D.h +++ b/Sources/libetk/etk/math/Vector2D.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/math/Vector2D.h - * @brief Ewol Tool Kit : Vector 2 dimention (x,y) * @author Edouard DUPIN - * @date 26/10/2012 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __ETK_MATH_VECTOR2D_H__ diff --git a/Sources/libetk/etk/math/Vector3D.h b/Sources/libetk/etk/math/Vector3D.h index 2568f451..e173ab91 100644 --- a/Sources/libetk/etk/math/Vector3D.h +++ b/Sources/libetk/etk/math/Vector3D.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/math/Vector3D.h - * @brief Ewol Tool Kit : Vector 3 dimention (x, y, z) * @author Edouard DUPIN - * @date 26/10/2012 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __ETK_MATH_VECTOR3D_H__ diff --git a/Sources/libetk/etk/math/Vector4D.h b/Sources/libetk/etk/math/Vector4D.h index c098c495..ab39c5bc 100644 --- a/Sources/libetk/etk/math/Vector4D.h +++ b/Sources/libetk/etk/math/Vector4D.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/math/Vector4D.h - * @brief Ewol Tool Kit : Vector 4 dimention (x, y, z, w) or (x, y, width, height) * @author Edouard DUPIN - * @date 26/10/2012 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __ETK_MATH_VECTOR4D_H__ diff --git a/Sources/libetk/etk/math/math.h b/Sources/libetk/etk/math/math.h index 74426cfd..1d0bbdde 100644 --- a/Sources/libetk/etk/math/math.h +++ b/Sources/libetk/etk/math/math.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/math/math.h - * @brief Ewol Tool Kit : Include all mathematic system of etk (header) * @author Edouard DUPIN - * @date 29/10/2012 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef EPSILON diff --git a/Sources/libetk/etk/os/FSNode.cpp b/Sources/libetk/etk/os/FSNode.cpp index 5203f58b..289ffeff 100644 --- a/Sources/libetk/etk/os/FSNode.cpp +++ b/Sources/libetk/etk/os/FSNode.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/os/FSNode.cpp - * @brief Ewol Tool Kit : File System node access abstraction (Sources) * @author Edouard DUPIN - * @date 31/10/2012 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ diff --git a/Sources/libetk/etk/os/FSNode.h b/Sources/libetk/etk/os/FSNode.h index bb349c8c..accc3b72 100644 --- a/Sources/libetk/etk/os/FSNode.h +++ b/Sources/libetk/etk/os/FSNode.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/os/FSNode.h - * @brief Ewol Tool Kit : File System node access abstraction (header) * @author Edouard DUPIN - * @date 31/10/2012 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __ETK_FILE_SYSTEM_NODE_H__ diff --git a/Sources/libetk/etk/os/FSNodeRight.cpp b/Sources/libetk/etk/os/FSNodeRight.cpp index 8f8078a8..69403df5 100644 --- a/Sources/libetk/etk/os/FSNodeRight.cpp +++ b/Sources/libetk/etk/os/FSNodeRight.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/os/FSNodeRight.cpp - * @brief Ewol Tool Kit : File System node access abstraction (Sources) * @author Edouard DUPIN - * @date 2/11/2012 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ diff --git a/Sources/libetk/etk/os/FSNodeRight.h b/Sources/libetk/etk/os/FSNodeRight.h index 0573f82e..8f66cc8f 100644 --- a/Sources/libetk/etk/os/FSNodeRight.h +++ b/Sources/libetk/etk/os/FSNodeRight.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/os/FSNodeRight.h - * @brief Ewol Tool Kit : File System node access abstraction (header) * @author Edouard DUPIN - * @date 2/11/2012 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __ETK_FILE_SYSTEM_NODE_RIGHT_H__ diff --git a/Sources/libetk/etk/os/Memory.cpp b/Sources/libetk/etk/os/Memory.cpp index 1cd0211f..4c4f4a9a 100644 --- a/Sources/libetk/etk/os/Memory.cpp +++ b/Sources/libetk/etk/os/Memory.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/Memory.cpp - * @brief Ewol Tool Kit : Memory implementation (Sources) * @author Edouard DUPIN - * @date 19/10/2011 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libetk/etk/os/Memory.h b/Sources/libetk/etk/os/Memory.h index 4476f078..6206aaa1 100644 --- a/Sources/libetk/etk/os/Memory.h +++ b/Sources/libetk/etk/os/Memory.h @@ -1,27 +1,11 @@ /** - ******************************************************************************* - * @file etk/os/Memory.h - * @brief Ewol Tool Kit : Memory implementation (headers) * @author Edouard DUPIN - * @date 12/01/2011 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - + #ifndef __ETK_TOOLS_MEMORY_H__ #define __ETK_TOOLS_MEMORY_H__ diff --git a/Sources/libetk/etk/os/Mutex.Generic.cpp b/Sources/libetk/etk/os/Mutex.Generic.cpp index ba695782..771accf1 100644 --- a/Sources/libetk/etk/os/Mutex.Generic.cpp +++ b/Sources/libetk/etk/os/Mutex.Generic.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/Mutex.Generic.cpp - * @brief Ewol Tool Kit : basic mutex system (Sources) ==> Pthread implementation * @author Edouard DUPIN - * @date 15/08/2012 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libetk/etk/os/Mutex.Windows.cpp b/Sources/libetk/etk/os/Mutex.Windows.cpp index 998984e8..56300f35 100644 --- a/Sources/libetk/etk/os/Mutex.Windows.cpp +++ b/Sources/libetk/etk/os/Mutex.Windows.cpp @@ -1,27 +1,12 @@ /** - ******************************************************************************* - * @file etk/Mutex.Windows.cpp - * @brief Ewol Tool Kit : basic mutex system (Sources) ==> windows implementation * @author Edouard DUPIN - * @date 15/08/2012 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ + #include etk::Mutex::Mutex(void) diff --git a/Sources/libetk/etk/os/Mutex.h b/Sources/libetk/etk/os/Mutex.h index 1cc851a2..e436153a 100644 --- a/Sources/libetk/etk/os/Mutex.h +++ b/Sources/libetk/etk/os/Mutex.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/os/Mutex.h - * @brief Ewol Tool Kit : basic mutex system (header) * @author Edouard DUPIN - * @date 15/08/2012 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libetk/etk/os/Semaphore.Generic.cpp b/Sources/libetk/etk/os/Semaphore.Generic.cpp index 38f0aac2..0b4357fd 100644 --- a/Sources/libetk/etk/os/Semaphore.Generic.cpp +++ b/Sources/libetk/etk/os/Semaphore.Generic.cpp @@ -1,27 +1,12 @@ /** - ******************************************************************************* - * @file etk/Semaphore.Generic.cpp - * @brief Ewol Tool Kit : basic semaphore system (Sources) ==> Pthread implementation * @author Edouard DUPIN - * @date 15/08/2012 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ + #include #include #include diff --git a/Sources/libetk/etk/os/Semaphore.Windows.cpp b/Sources/libetk/etk/os/Semaphore.Windows.cpp index 34f214bb..0c135299 100644 --- a/Sources/libetk/etk/os/Semaphore.Windows.cpp +++ b/Sources/libetk/etk/os/Semaphore.Windows.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/Semaphore.Generic.cpp - * @brief Ewol Tool Kit : basic semaphore system (Sources) ==> Pthread implementation * @author Edouard DUPIN - * @date 15/08/2012 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libetk/etk/os/Semaphore.h b/Sources/libetk/etk/os/Semaphore.h index ded5f8fe..a147119e 100644 --- a/Sources/libetk/etk/os/Semaphore.h +++ b/Sources/libetk/etk/os/Semaphore.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/os/Semaphore.h - * @brief Ewol Tool Kit : basic semaphore system (header) * @author Edouard DUPIN - * @date 15/08/2012 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __ETK_SEMAPHORE_H__ diff --git a/Sources/libetk/etk/tool.cpp b/Sources/libetk/etk/tool.cpp index 267370b3..7bd7bda1 100644 --- a/Sources/libetk/etk/tool.cpp +++ b/Sources/libetk/etk/tool.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/tool.cpp - * @brief Ewol Tool Kit : generique tools (Sources) * @author Edouard DUPIN - * @date 26/06/2012 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libetk/etk/tool.h b/Sources/libetk/etk/tool.h index daac969e..0d7e13e4 100644 --- a/Sources/libetk/etk/tool.h +++ b/Sources/libetk/etk/tool.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file etk/tool.h - * @brief Ewol Tool Kit : generique tools (header) * @author Edouard DUPIN - * @date 26/06/2012 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __ETK_TOOL_H__ diff --git a/Sources/libetk/etk/unicode.cpp b/Sources/libetk/etk/unicode.cpp index 64f20870..6e0b82d5 100644 --- a/Sources/libetk/etk/unicode.cpp +++ b/Sources/libetk/etk/unicode.cpp @@ -1,28 +1,12 @@ /** - ******************************************************************************* - * @file unicode.cpp - * @brief Editeur De N'ours : Abstraction Charset layer (Sources) * @author Edouard DUPIN - * @date 18/01/2012 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ -// cf : http://unicode.org/fr/charts/symbols.html#CombiningDiacriticalMarks +// see : http://unicode.org/fr/charts/symbols.html#CombiningDiacriticalMarks #include #include @@ -31,7 +15,6 @@ -// transform ISO <==> Unicode void unicode::convertIsoToUnicode(charset_te inputCharset, char input_ISO, uniChar_t & output_Unicode) { switch(inputCharset) @@ -51,11 +34,6 @@ void unicode::convertIsoToUnicode(charset_te inputCharset, char input_ISO, uniCh case EDN_CHARSET_ISO_8859_14: output_Unicode = TableIso8859_14[(uint32_t)input_ISO&0xFF]; break; case EDN_CHARSET_ISO_8859_15: output_Unicode = TableIso8859_15[(uint32_t)input_ISO&0xFF]; - #if 0 - if ((uint32_t)input_ISO&0xFF == 0xb0) { - printf("Change Element : 0x%02x ==> 0x%08x \n", (uint32_t)input_ISO&0xFF, output_Unicode); - } - #endif break; default : TK_WARNING("Unknow charset ... " << inputCharset); @@ -200,7 +178,6 @@ static uint32_t unicodeToUtf8(uniChar_t value) } -// Transform UTF-8 <==> Unicode void unicode::convertUnicodeToUtf8(uniChar_t input_Unicode, char * output_UTF8) { uint32_t value = unicodeToUtf8(input_Unicode); @@ -479,16 +456,6 @@ int32_t unicode::convertUtf8ToIso(charset_te inputCharset, etk::Vector& in return 0; } -/** - * @brief Get the number of element of the curent UTF8 char (in the curent Buffer) - * - * @param[in] data pointer on the curent CHAR string (pointer on the allocated buffer) - * @param[out] size Nb of char use in this UTF8 [0..4] - * @param[out] baseValid true : the ase format of the UTF8 is CORRECT - * - * @return --- - * - */ void unicode::Utf8_SizeElement(const char * data, int32_t lenMax , uint8_t &size, bool &baseValid) { TK_ASSERT(0 <= lenMax, "size can not be < 0 ..."); diff --git a/Sources/libetk/etk/unicode.h b/Sources/libetk/etk/unicode.h index 482c28d8..079eb9e1 100644 --- a/Sources/libetk/etk/unicode.h +++ b/Sources/libetk/etk/unicode.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file unicode.h - * @brief Editeur De N'ours : Abstraction Charset layer (header) * @author Edouard DUPIN - * @date 18/01/2012 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __UNICODE_H__ diff --git a/Sources/libetk/etk/unicodeTable.cpp b/Sources/libetk/etk/unicodeTable.cpp index b315e1f9..be2d5a7e 100644 --- a/Sources/libetk/etk/unicodeTable.cpp +++ b/Sources/libetk/etk/unicodeTable.cpp @@ -1,28 +1,11 @@ /** - ******************************************************************************* - * @file unicodeTable.cpp - * @brief Editeur De N'ours : Table of all charset convertions (Sources) * @author Edouard DUPIN - * @date 18/01/2012 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - #include #include #include diff --git a/Sources/libetk/etk/unicodeTable.h b/Sources/libetk/etk/unicodeTable.h index edc2d45e..b18485ca 100644 --- a/Sources/libetk/etk/unicodeTable.h +++ b/Sources/libetk/etk/unicodeTable.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file unicodeTable.h - * @brief ETK : Table of all charset convertions (Header) * @author Edouard DUPIN - * @date 18/01/2012 - * @par Project - * Ewol TK - * - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __UNICODE_TABLE_H__ diff --git a/Sources/libewol/ewol/ClipBoard.cpp b/Sources/libewol/ewol/ClipBoard.cpp index cdaeb32d..84970eb6 100644 --- a/Sources/libewol/ewol/ClipBoard.cpp +++ b/Sources/libewol/ewol/ClipBoard.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ClipBoard.cpp - * @brief ewol : copy / past main system (sources) * @author Edouard DUPIN - * @date 04/04/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include @@ -41,11 +25,6 @@ note: la copy dans le : static etk::UString mesCopy[ewol::clipBoard::TOTAL_OF_CLICKBOARD]; -/** - * @brief Initialize the clipboard system (done by ewol) - * @param --- - * @return --- - */ void ewol::clipBoard::Init(void) { EWOL_INFO("Initialyse ClipBoards"); @@ -55,11 +34,6 @@ void ewol::clipBoard::Init(void) } -/** - * @brief Un-Initialize the clipboard system (done by ewol) - * @param --- - * @return --- - */ void ewol::clipBoard::UnInit(void) { EWOL_INFO("Initialyse ClipBoards"); @@ -69,12 +43,6 @@ void ewol::clipBoard::UnInit(void) } -/** - * @brief Set the string data on a specific clipboard. The Gui system is notify that the clipboard "SELECTION" and "COPY" are change - * @param[in] clipboardID Select the specific ID of the clipboard - * @param[in] data The string that might be send to the clipboard - * @return --- - */ void ewol::clipBoard::Set(ewol::clipBoard::clipboardListe_te clipboardID, etk::UString &data) { // check if ID is correct @@ -97,14 +65,6 @@ void ewol::clipBoard::Set(ewol::clipBoard::clipboardListe_te clipboardID, etk::U } -/** - * @brief Call system to request the current clipboard. - * @note Due to some system that manage the clipboard request asynchronous (like X11) and ewol managing the system with only one thread, - * we need the call the system to send us the buffer, this is really ambigous, but the widget (who has focus) receive the - * notification of the arrival of this buffer id - * @param[in] clipboardID the needed clipboard ID - * @return --- - */ void ewol::clipBoard::Request(ewol::clipBoard::clipboardListe_te clipboardID) { if(clipboardID >= ewol::clipBoard::TOTAL_OF_CLICKBOARD) { @@ -122,13 +82,6 @@ void ewol::clipBoard::Request(ewol::clipBoard::clipboardListe_te clipboardID) } -/** - * @brief Set the ewol internal buffer (no notification at the GUI). This fuction might be use by the - * Gui abstraction to set the buffer we receive. The end user must not use it. - * @param[in] clipboardID selected clipboard ID - * @param[in] data new buffer data - * @return --- - */ void ewol::clipBoard::SetSystem(ewol::clipBoard::clipboardListe_te clipboardID, etk::UString &data) { if(clipboardID >= ewol::clipBoard::TOTAL_OF_CLICKBOARD) { @@ -140,13 +93,6 @@ void ewol::clipBoard::SetSystem(ewol::clipBoard::clipboardListe_te clipboardID, } -/** - * @brief Get the ewol internal buffer of the curent clipboard. The end user can use it when he receive the event in - * the widget : @ref OnEventClipboard ==> we can nothe this function is the only one which permit it. - * @note if we call this fuction withoutcallin @ref ewol::clipBoard::Request, we only get the previous clipboard - * @param[in] clipboardID selected clipboard ID - * @return the requested buffer - */ etk::UString ewol::clipBoard::Get(ewol::clipBoard::clipboardListe_te clipboardID) { if(clipboardID >= ewol::clipBoard::TOTAL_OF_CLICKBOARD) { diff --git a/Sources/libewol/ewol/ClipBoard.h b/Sources/libewol/ewol/ClipBoard.h index 60df0e08..527468d0 100644 --- a/Sources/libewol/ewol/ClipBoard.h +++ b/Sources/libewol/ewol/ClipBoard.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ClipBoard.h - * @brief ewol : copy / past main system (header) * @author Edouard DUPIN - * @date 04/04/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_CLIPBOARD_H__ diff --git a/Sources/libewol/ewol/Debug.cpp b/Sources/libewol/ewol/Debug.cpp index 7225a70a..212f87bc 100644 --- a/Sources/libewol/ewol/Debug.cpp +++ b/Sources/libewol/ewol/Debug.cpp @@ -1,28 +1,11 @@ /** - ******************************************************************************* - * @file ewol/Debug.h - * @brief Ewol : log wrapper (Sources) * @author Edouard DUPIN - * @date 19/10/2010 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - #include const char * ewolLibName = "ewol "; diff --git a/Sources/libewol/ewol/Debug.h b/Sources/libewol/ewol/Debug.h index 55526564..2ceeac1f 100644 --- a/Sources/libewol/ewol/Debug.h +++ b/Sources/libewol/ewol/Debug.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/Debug.h - * @brief Ewol : log wrapper (header) * @author Edouard DUPIN - * @date 19/10/2010 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_DEBUG_H__ diff --git a/Sources/libewol/ewol/Mesh/Mesh.cpp b/Sources/libewol/ewol/Mesh/Mesh.cpp index 6f16cc25..dd516acb 100644 --- a/Sources/libewol/ewol/Mesh/Mesh.cpp +++ b/Sources/libewol/ewol/Mesh/Mesh.cpp @@ -1,28 +1,11 @@ /** - ******************************************************************************* - * @file ewol/Mesh/Mesh.cpp - * @brief ewol Mesh system (sources) * @author Edouard DUPIN - * @date 30/10/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - #include #include #include diff --git a/Sources/libewol/ewol/Mesh/Mesh.h b/Sources/libewol/ewol/Mesh/Mesh.h index 042e2ed2..447ff0d7 100644 --- a/Sources/libewol/ewol/Mesh/Mesh.h +++ b/Sources/libewol/ewol/Mesh/Mesh.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/Mesh/Mesh.h - * @brief ewol Mesh system (header) * @author Edouard DUPIN - * @date 30/10/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __MESH_H__ diff --git a/Sources/libewol/ewol/Mesh/MeshObj.cpp b/Sources/libewol/ewol/Mesh/MeshObj.cpp index 9b9a8d65..72e67525 100644 --- a/Sources/libewol/ewol/Mesh/MeshObj.cpp +++ b/Sources/libewol/ewol/Mesh/MeshObj.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/Mesh/MeshObj.cpp - * @brief ewol Mesh ;obj loader system (sources) * @author Edouard DUPIN - * @date 30/10/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libewol/ewol/Mesh/MeshObj.h b/Sources/libewol/ewol/Mesh/MeshObj.h index 6a1106b6..3e9ee9ce 100644 --- a/Sources/libewol/ewol/Mesh/MeshObj.h +++ b/Sources/libewol/ewol/Mesh/MeshObj.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/Mesh/MeshObj.h - * @brief ewol Mesh ;obj loader system (header) * @author Edouard DUPIN - * @date 30/10/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __MESH_OBJ_H__ diff --git a/Sources/libewol/ewol/Resource.h b/Sources/libewol/ewol/Resource.h index 1fd41bed..9b144fdf 100644 --- a/Sources/libewol/ewol/Resource.h +++ b/Sources/libewol/ewol/Resource.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/Resources.h - * @brief ewol resources template (header) * @author Edouard DUPIN - * @date 24/08/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libewol/ewol/ResourceManager.cpp b/Sources/libewol/ewol/ResourceManager.cpp index ee99980a..495c58c7 100644 --- a/Sources/libewol/ewol/ResourceManager.cpp +++ b/Sources/libewol/ewol/ResourceManager.cpp @@ -1,28 +1,11 @@ /** - ******************************************************************************* - * @file ewol/ResourcesManager.h - * @brief ewol resources manager template (header) * @author Edouard DUPIN - * @date 24/08/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - #include #include #include @@ -81,12 +64,6 @@ void ewol::resource::Display(void) EWOL_INFO("Resources ---"); } -/** - * @brief Reloade file resources - * @note : Does not reload all resources !!! - * @param --- - * @return --- - */ void ewol::resource::ReLoadResources(void) { EWOL_INFO("------------- Resources re-loaded -------------"); diff --git a/Sources/libewol/ewol/ResourceManager.h b/Sources/libewol/ewol/ResourceManager.h index ce572064..de618dc8 100644 --- a/Sources/libewol/ewol/ResourceManager.h +++ b/Sources/libewol/ewol/ResourceManager.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/ResourcesManager.h - * @brief ewol resources manager template (header) * @author Edouard DUPIN - * @date 24/08/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __RESOURCES_MANAGER_H__ diff --git a/Sources/libewol/ewol/ShortCutManager.cpp b/Sources/libewol/ewol/ShortCutManager.cpp index 064cef44..59ddfeec 100644 --- a/Sources/libewol/ewol/ShortCutManager.cpp +++ b/Sources/libewol/ewol/ShortCutManager.cpp @@ -1,28 +1,11 @@ /** - ******************************************************************************* - * @file ewol/ShortCutManager.cpp - * @brief ewol shortCut manager (Sources) * @author Edouard DUPIN - * @date 22/02/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - #include #include #include @@ -108,6 +91,7 @@ void ewol::shortCut::Add(const char * descriptiveString, const char * generateEv if(NULL != tmp) { meta = true; } + // TOTDO : Generate a simple Table ... if(NULL != strstr(descriptiveString, "F12") ) { ewol::shortCut::Add(shift, control, alt, meta, 0, ewol::EVENT_KB_MOVE_TYPE_F12, generateEventId, data); } else if(NULL != strstr(descriptiveString, "F11") ) { diff --git a/Sources/libewol/ewol/ShortCutManager.h b/Sources/libewol/ewol/ShortCutManager.h index b37461f5..e51eabd5 100644 --- a/Sources/libewol/ewol/ShortCutManager.h +++ b/Sources/libewol/ewol/ShortCutManager.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/ShortCutManager.h - * @brief ewol shortCut manager (Header) * @author Edouard DUPIN - * @date 22/02/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_SHORT_CUT_MANAGER_H__ diff --git a/Sources/libewol/ewol/SimpleConfigFile.cpp b/Sources/libewol/ewol/SimpleConfigFile.cpp index 7a6ada1c..79975cbf 100644 --- a/Sources/libewol/ewol/SimpleConfigFile.cpp +++ b/Sources/libewol/ewol/SimpleConfigFile.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/impleConfigFile.cpp - * @brief ewol basic file configuration system (Sources) * @author Edouard DUPIN - * @date 06/11/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libewol/ewol/SimpleConfigFile.h b/Sources/libewol/ewol/SimpleConfigFile.h index be25b962..34eb7e35 100644 --- a/Sources/libewol/ewol/SimpleConfigFile.h +++ b/Sources/libewol/ewol/SimpleConfigFile.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/impleConfigFile.h - * @brief ewol basic file configuration system (header) * @author Edouard DUPIN - * @date 06/11/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __SIMPLE_CONFIG_FILE_H__ diff --git a/Sources/libewol/ewol/audio/audio.cpp b/Sources/libewol/ewol/audio/audio.cpp index 08323401..7bcc426b 100644 --- a/Sources/libewol/ewol/audio/audio.cpp +++ b/Sources/libewol/ewol/audio/audio.cpp @@ -1,27 +1,12 @@ /** - ******************************************************************************* - * @file ewol/audio/audio.c - * @brief basic ewol Audio interface (Sources) * @author Edouard DUPIN - * @date 02/05/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ + #include #include #include diff --git a/Sources/libewol/ewol/audio/audio.h b/Sources/libewol/ewol/audio/audio.h index 5c55e516..b4d74a37 100644 --- a/Sources/libewol/ewol/audio/audio.h +++ b/Sources/libewol/ewol/audio/audio.h @@ -1,27 +1,12 @@ /** - ******************************************************************************* - * @file ewol/audio/audio.h - * @brief basic ewol Audio interface (header) * @author Edouard DUPIN - * @date 02/05/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ + #ifndef __EWOL_AUDIO_H__ #define __EWOL_AUDIO_H__ diff --git a/Sources/libewol/ewol/audio/decWav.cpp b/Sources/libewol/ewol/audio/decWav.cpp index 2a9c4e5e..ab0587a8 100644 --- a/Sources/libewol/ewol/audio/decWav.cpp +++ b/Sources/libewol/ewol/audio/decWav.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/audio/decWav.cpp - * @brief basic ewol Wav decoder (sources) * @author Edouard DUPIN - * @date 28/06/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libewol/ewol/audio/decWav.h b/Sources/libewol/ewol/audio/decWav.h index 1157c6ba..c9187bb7 100644 --- a/Sources/libewol/ewol/audio/decWav.h +++ b/Sources/libewol/ewol/audio/decWav.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/audio/decWav.h - * @brief basic ewol Wav decoder (header) * @author Edouard DUPIN - * @date 28/06/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_AUDIO_DEC_WAV_H__ diff --git a/Sources/libewol/ewol/audio/interfacePortAudio.cpp b/Sources/libewol/ewol/audio/interfacePortAudio.cpp index d1eab9d5..03c082e7 100644 --- a/Sources/libewol/ewol/audio/interfacePortAudio.cpp +++ b/Sources/libewol/ewol/audio/interfacePortAudio.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/audio/intefacePortAudio.cpp - * @brief poratudio ewol Audio interface (Sources) * @author Edouard DUPIN - * @date 28/06/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libewol/ewol/audio/interfacePortAudio.h b/Sources/libewol/ewol/audio/interfacePortAudio.h index e011b502..cd0865e2 100644 --- a/Sources/libewol/ewol/audio/interfacePortAudio.h +++ b/Sources/libewol/ewol/audio/interfacePortAudio.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/audio/intefacePortAudio.h - * @brief poratudio ewol Audio interface (header) * @author Edouard DUPIN - * @date 28/06/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_PORT_AUDIO_H__ diff --git a/Sources/libewol/ewol/eObject/EObject.cpp b/Sources/libewol/ewol/eObject/EObject.cpp index fb8b0a3a..ce7c338f 100644 --- a/Sources/libewol/ewol/eObject/EObject.cpp +++ b/Sources/libewol/ewol/eObject/EObject.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/EObject.cpp - * @brief basic ewol object (Sources) * @author Edouard DUPIN - * @date 24/02/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include @@ -118,9 +102,6 @@ void ewol::EObjectMessageMultiCast::AnonymousSend(const char* const messageId, e -/** - * @brief Constructor - */ ewol::EObject::EObject(void) { static int32_t ss_globalUniqueId = 0; @@ -130,9 +111,6 @@ ewol::EObject::EObject(void) ewol::EObjectManager::Add(this); } -/** - * @brief Destructor - */ ewol::EObject::~EObject(void) { EWOL_DEBUG("delete EObject : [" << m_uniqueId << "]"); @@ -150,33 +128,18 @@ ewol::EObject::~EObject(void) } -/** - * @brief Auto-destroy the object - * @param --- - * @return --- - */ void ewol::EObject::AutoDestroy(void) { ewol::EObjectManager::AutoRemove(this); } -/** - * @brief Get the UniqueId of the EObject - * @param --- - * @return the requested ID - */ int32_t ewol::EObject::GetId(void) { return m_uniqueId; }; -/** - * @brief Add a specific event Id in the list to prevent wrong link on a EObject - * @param[in] generateEventId event Id to add - * @return --- - */ void ewol::EObject::AddEventId(const char * generateEventId) { if (NULL != generateEventId) { @@ -185,12 +148,6 @@ void ewol::EObject::AddEventId(const char * generateEventId) } -/** - * @brief Generate event on all registered EObject - * @param[in] generateEventId event Id that is curetly generated - * @param[in] data data associated with the event - * @return --- - */ void ewol::EObject::GenerateEventId(const char * generateEventId, const etk::UString data) { // for every element registered ... @@ -206,34 +163,19 @@ void ewol::EObject::GenerateEventId(const char * generateEventId, const etk::USt } } -/** - * @brief Generate Multicast event on all EObject requested the event - * @param[in] messageId Event Id that is generated - * @param[in] data String that is send at all the destinations - * @return --- - */ + void ewol::EObject::SendMultiCast(const char* const messageId, etk::UString data) { MultiCastSend(this, messageId, data); } -/** - * @brief Register of the arrival of a Multicast message - * @param[in] messageId Event Id waiting for... - * @return --- - */ + void ewol::EObject::RegisterMultiCast(const char* const messageId) { MultiCastAdd(this, messageId); } -/** - * @brief Register an EObject over an other to get event on the second... - * @param[in] destinationObject pointer on the object that might be call when an event is generated - * @param[in] eventId Event generate inside the object - * @param[in] eventIdgenerated event generated when call the distant EObject.OnReceiveMessage(...) - * @return true if register corectly done - */ + void ewol::EObject::RegisterOnEvent(ewol::EObject * destinationObject, const char * eventId, const char * eventIdgenerated) { if (NULL == destinationObject) { @@ -282,11 +224,6 @@ void ewol::EObject::RegisterOnEvent(ewol::EObject * destinationObject, const cha } -/** - * @brief Inform object that an other object is removed ... - * @param[in] removeObject Pointer on the EObject remeved ==> the user must remove all reference on this EObject - * @return --- - */ void ewol::EObject::OnObjectRemove(ewol::EObject * removeObject) { for(int32_t iii=m_externEvent.Size()-1; iii>=0; iii--) { diff --git a/Sources/libewol/ewol/eObject/EObject.h b/Sources/libewol/ewol/eObject/EObject.h index f6e31a8b..39025c13 100644 --- a/Sources/libewol/ewol/eObject/EObject.h +++ b/Sources/libewol/ewol/eObject/EObject.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/eObject/EObject.h - * @brief basic ewol object (header) * @author Edouard DUPIN - * @date 24/02/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_E_OBJECT_H__ diff --git a/Sources/libewol/ewol/eObject/EObjectManager.cpp b/Sources/libewol/ewol/eObject/EObjectManager.cpp index dd7030e4..908c232a 100644 --- a/Sources/libewol/ewol/eObject/EObjectManager.cpp +++ b/Sources/libewol/ewol/eObject/EObjectManager.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/eObject/EObjectManager.cpp - * @brief basic ewol Object Manager (Sources) * @author Edouard DUPIN - * @date 27/02/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libewol/ewol/eObject/EObjectManager.h b/Sources/libewol/ewol/eObject/EObjectManager.h index e193c4ca..4c51dfe3 100644 --- a/Sources/libewol/ewol/eObject/EObjectManager.h +++ b/Sources/libewol/ewol/eObject/EObjectManager.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/eObject/EObjectManager.h - * @brief basic ewol Object Manager (Header) * @author Edouard DUPIN - * @date 27/02/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_E_OBJECT_MANAGER_H__ diff --git a/Sources/libewol/ewol/ewol.cpp b/Sources/libewol/ewol/ewol.cpp index d3653986..a081d431 100644 --- a/Sources/libewol/ewol/ewol.cpp +++ b/Sources/libewol/ewol/ewol.cpp @@ -1,28 +1,11 @@ /** - ******************************************************************************* - * @file ewol/ewol.cpp - * @brief Main code of ewol (sources) * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - #include #include #include @@ -158,12 +141,6 @@ void ewol::SetTitle(etk::UString title) } -/** - * @brief This is to transfert the event from one widget to another one - * @param source the widget where the event came from - * @param destination the widget where the event mitgh be generated now - * @return --- - */ void ewol::InputEventTransfertWidget(ewol::Widget* source, ewol::Widget* destination) { eSystem::InputEventTransfertWidget(source, destination); diff --git a/Sources/libewol/ewol/ewol.h b/Sources/libewol/ewol/ewol.h index 8863b06a..6d7786e4 100644 --- a/Sources/libewol/ewol/ewol.h +++ b/Sources/libewol/ewol/ewol.h @@ -1,28 +1,11 @@ /** - ******************************************************************************* - * @file ewol/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - #ifndef __EWOL_H__ #define __EWOL_H__ diff --git a/Sources/libewol/ewol/font/DistantFieldFont.cpp b/Sources/libewol/ewol/font/DistantFieldFont.cpp index e6d571ba..faabedc7 100644 --- a/Sources/libewol/ewol/font/DistantFieldFont.cpp +++ b/Sources/libewol/ewol/font/DistantFieldFont.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/font/DistanceFieldFont.cpp - * @brief ewol Textured distant field Font system (Sources) * @author Edouard DUPIN - * @date 22/08/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libewol/ewol/font/DistantFieldFont.h b/Sources/libewol/ewol/font/DistantFieldFont.h index 4023b9f8..dd6e9c6c 100644 --- a/Sources/libewol/ewol/font/DistantFieldFont.h +++ b/Sources/libewol/ewol/font/DistantFieldFont.h @@ -1,29 +1,11 @@ /** - ******************************************************************************* - * @file ewol/font/TexturedFont.h - * @brief ewol Textured Font system (header) * @author Edouard DUPIN - * @date 22/08/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - - #ifndef __EWOL_DISTANT_FIELD_FONT_H__ #define __EWOL_DISTANT_FIELD_FONT_H__ diff --git a/Sources/libewol/ewol/font/Font.h b/Sources/libewol/ewol/font/Font.h index 1b5b9801..f1ab5eba 100644 --- a/Sources/libewol/ewol/font/Font.h +++ b/Sources/libewol/ewol/font/Font.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/font/Font.h - * @brief ewol Font system (header) * @author Edouard DUPIN - * @date 29/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_FONT_H__ diff --git a/Sources/libewol/ewol/font/FontFreeType.cpp b/Sources/libewol/ewol/font/FontFreeType.cpp index e47e239d..c4c69ec0 100644 --- a/Sources/libewol/ewol/font/FontFreeType.cpp +++ b/Sources/libewol/ewol/font/FontFreeType.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/font/FontFreeType.cpp - * @brief ewol Font system wrapper on freetype(sources) * @author Edouard DUPIN - * @date 05/11/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libewol/ewol/font/FontFreeType.h b/Sources/libewol/ewol/font/FontFreeType.h index 1b447714..083adae5 100644 --- a/Sources/libewol/ewol/font/FontFreeType.h +++ b/Sources/libewol/ewol/font/FontFreeType.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/font/FontFreeType.h - * @brief ewol Font freeType system (header) * @author Edouard DUPIN - * @date 22/08/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_FONT_FREE_TYPE_H__ diff --git a/Sources/libewol/ewol/font/FontManager.cpp b/Sources/libewol/ewol/font/FontManager.cpp index 0df1cf1a..1eb97bcb 100644 --- a/Sources/libewol/ewol/font/FontManager.cpp +++ b/Sources/libewol/ewol/font/FontManager.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/font/FontManager.cpp - * @brief ewol Font manager system (Sources) * @author Edouard DUPIN - * @date 22/08/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libewol/ewol/font/FontManager.h b/Sources/libewol/ewol/font/FontManager.h index a661ce04..cedcda35 100644 --- a/Sources/libewol/ewol/font/FontManager.h +++ b/Sources/libewol/ewol/font/FontManager.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/font/FontManager.h - * @brief ewol Font manager system (header) * @author Edouard DUPIN - * @date 22/08/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_FONT_MANAGER_H__ diff --git a/Sources/libewol/ewol/font/TexturedFont.cpp b/Sources/libewol/ewol/font/TexturedFont.cpp index 75a06fe2..660e2ef6 100644 --- a/Sources/libewol/ewol/font/TexturedFont.cpp +++ b/Sources/libewol/ewol/font/TexturedFont.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/font/TexturedFont.cpp - * @brief ewol Textured Font system (Sources) * @author Edouard DUPIN - * @date 22/08/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libewol/ewol/font/TexturedFont.h b/Sources/libewol/ewol/font/TexturedFont.h index 2ced5ae3..0c850cdd 100644 --- a/Sources/libewol/ewol/font/TexturedFont.h +++ b/Sources/libewol/ewol/font/TexturedFont.h @@ -1,29 +1,11 @@ /** - ******************************************************************************* - * @file ewol/font/TexturedFont.h - * @brief ewol Textured Font system (header) * @author Edouard DUPIN - * @date 22/08/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - - #ifndef __EWOL_TEXTURED_FONT_H__ #define __EWOL_TEXTURED_FONT_H__ diff --git a/Sources/libewol/ewol/game/GameElement.cpp b/Sources/libewol/ewol/game/GameElement.cpp index 332987e5..3e7852d4 100644 --- a/Sources/libewol/ewol/game/GameElement.cpp +++ b/Sources/libewol/ewol/game/GameElement.cpp @@ -1,39 +1,17 @@ /** - ******************************************************************************* - * @file ewol/game/GameElement.cpp - * @brief ewol game element system (Sources) * @author Edouard DUPIN - * @date 06/04/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - #include #undef __class__ #define __class__ "GameElement" -/** - * @brief Constructor : here are requested all the needed sprite and effect that can be used in the game - * @param --- - * @return --- - */ ewol::GameElement::GameElement(SceneElement & sceneElement, etk::UString& tmpName) : m_fileNameConfig(tmpName), m_sceneElement(sceneElement) { m_uniqueId = sceneElement.GetUniqueId(); diff --git a/Sources/libewol/ewol/game/GameElement.h b/Sources/libewol/ewol/game/GameElement.h index 36b1ef45..e1e41c18 100644 --- a/Sources/libewol/ewol/game/GameElement.h +++ b/Sources/libewol/ewol/game/GameElement.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/game/GameElement.h - * @brief ewol game element system (header) * @author Edouard DUPIN - * @date 06/04/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_GAME_ELEMENT_H__ diff --git a/Sources/libewol/ewol/game/GameElementLua.cpp b/Sources/libewol/ewol/game/GameElementLua.cpp index 487f0359..1600321d 100644 --- a/Sources/libewol/ewol/game/GameElementLua.cpp +++ b/Sources/libewol/ewol/game/GameElementLua.cpp @@ -1,28 +1,11 @@ /** - ******************************************************************************* - * @file ewol/game/GameElementLua.cpp - * @brief ewol game lua element system (Sources) * @author Edouard DUPIN - * @date 30/05/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - #include #include diff --git a/Sources/libewol/ewol/game/GameElementLua.h b/Sources/libewol/ewol/game/GameElementLua.h index f3e8ce37..337adc6a 100644 --- a/Sources/libewol/ewol/game/GameElementLua.h +++ b/Sources/libewol/ewol/game/GameElementLua.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/game/GameElementLua.h - * @brief ewol game lua element system (header) * @author Edouard DUPIN - * @date 30/05/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_GAME_ELEMENT_LUA_H__ diff --git a/Sources/libewol/ewol/game/SceneElement.cpp b/Sources/libewol/ewol/game/SceneElement.cpp index 0037654f..df348baa 100644 --- a/Sources/libewol/ewol/game/SceneElement.cpp +++ b/Sources/libewol/ewol/game/SceneElement.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/game/SceneElement.cpp - * @brief ewol Scene widget system (Sources) * @author Edouard DUPIN - * @date 17/04/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libewol/ewol/game/SceneElement.h b/Sources/libewol/ewol/game/SceneElement.h index 54f48d47..493cb6a1 100644 --- a/Sources/libewol/ewol/game/SceneElement.h +++ b/Sources/libewol/ewol/game/SceneElement.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/game/SceneElement.h - * @brief ewol Scene widget system (header) * @author Edouard DUPIN - * @date 01/04/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_SCENE_ELEMENT_H__ diff --git a/Sources/libewol/ewol/oObject/2DColored.h b/Sources/libewol/ewol/oObject/2DColored.h index a0234aeb..bc561495 100644 --- a/Sources/libewol/ewol/oObject/2DColored.h +++ b/Sources/libewol/ewol/oObject/2DColored.h @@ -1,27 +1,12 @@ /** - ******************************************************************************* - * @file ewol/oObject/2DColored.h - * @brief ewol OpenGl Object system (header) * @author Edouard DUPIN - * @date 09/11/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ + #ifndef __EWOL_O_OBJECT_2D_COLORED_H__ #define __EWOL_O_OBJECT_2D_COLORED_H__ diff --git a/Sources/libewol/ewol/oObject/2DTextColored.cpp b/Sources/libewol/ewol/oObject/2DTextColored.cpp index 0491c680..a957271a 100644 --- a/Sources/libewol/ewol/oObject/2DTextColored.cpp +++ b/Sources/libewol/ewol/oObject/2DTextColored.cpp @@ -1,27 +1,12 @@ /** - ******************************************************************************* - * @file ewol/oObject/2DTextColored.cpp - * @brief ewol OpenGl Object system (Sources) * @author Edouard DUPIN - * @date 16/01/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ + #include #include #include diff --git a/Sources/libewol/ewol/oObject/2DTextColored.h b/Sources/libewol/ewol/oObject/2DTextColored.h index 0ef1b986..227fb41e 100644 --- a/Sources/libewol/ewol/oObject/2DTextColored.h +++ b/Sources/libewol/ewol/oObject/2DTextColored.h @@ -1,27 +1,12 @@ /** - ******************************************************************************* - * @file ewol/oObject/2DTextColored.h - * @brief ewol OpenGl Object system (header) * @author Edouard DUPIN - * @date 16/01/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ + #ifndef __EWOL_O_OBJECT_2D_TEXT_COLORED_H__ #define __EWOL_O_OBJECT_2D_TEXT_COLORED_H__ diff --git a/Sources/libewol/ewol/oObject/2DTextShader.cpp b/Sources/libewol/ewol/oObject/2DTextShader.cpp index 823bfb39..5c4c2df4 100644 --- a/Sources/libewol/ewol/oObject/2DTextShader.cpp +++ b/Sources/libewol/ewol/oObject/2DTextShader.cpp @@ -1,27 +1,12 @@ /** - ******************************************************************************* - * @file ewol/oObject/2DTextColored.cpp - * @brief ewol OpenGl Object system (Sources) * @author Edouard DUPIN - * @date 16/01/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ + #include #include #include diff --git a/Sources/libewol/ewol/oObject/2DTextShader.h b/Sources/libewol/ewol/oObject/2DTextShader.h index 481ce48f..b8c1eb5d 100644 --- a/Sources/libewol/ewol/oObject/2DTextShader.h +++ b/Sources/libewol/ewol/oObject/2DTextShader.h @@ -1,27 +1,12 @@ /** - ******************************************************************************* - * @file ewol/oObject/2DTextColored.h - * @brief ewol OpenGl Object system (header) * @author Edouard DUPIN - * @date 16/01/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ + #ifndef __EWOL_O_OBJECT_2D_TEXT_SHADER_H__ #define __EWOL_O_OBJECT_2D_TEXT_SHADER_H__ diff --git a/Sources/libewol/ewol/oObject/2DTextured.cpp b/Sources/libewol/ewol/oObject/2DTextured.cpp index 65b198a0..41a0a4aa 100644 --- a/Sources/libewol/ewol/oObject/2DTextured.cpp +++ b/Sources/libewol/ewol/oObject/2DTextured.cpp @@ -1,27 +1,12 @@ /** - ******************************************************************************* - * @file ewol/oObject/2DTextured.cpp - * @brief ewol OpenGl Object system (Sources) * @author Edouard DUPIN - * @date 09/11/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ + #include #include #include diff --git a/Sources/libewol/ewol/oObject/2DTextured.h b/Sources/libewol/ewol/oObject/2DTextured.h index 045da92f..3af72863 100644 --- a/Sources/libewol/ewol/oObject/2DTextured.h +++ b/Sources/libewol/ewol/oObject/2DTextured.h @@ -1,27 +1,12 @@ /** - ******************************************************************************* - * @file ewol/oObject/2DTextured.h - * @brief ewol OpenGl Object system (header) * @author Edouard DUPIN - * @date 09/11/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ + #ifndef __EWOL_O_OBJECT_2D_TEXTURED_H__ #define __EWOL_O_OBJECT_2D_TEXTURED_H__ diff --git a/Sources/libewol/ewol/oObject/3DTextured.cpp b/Sources/libewol/ewol/oObject/3DTextured.cpp index 0c90c9b1..4055a172 100644 --- a/Sources/libewol/ewol/oObject/3DTextured.cpp +++ b/Sources/libewol/ewol/oObject/3DTextured.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/oObject/2DTextured.cpp - * @brief ewol OpenGl Object system (Sources) * @author Edouard DUPIN - * @date 09/11/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libewol/ewol/oObject/3DTextured.h b/Sources/libewol/ewol/oObject/3DTextured.h index 18e15fb7..961a903a 100644 --- a/Sources/libewol/ewol/oObject/3DTextured.h +++ b/Sources/libewol/ewol/oObject/3DTextured.h @@ -1,27 +1,12 @@ /** - ******************************************************************************* - * @file ewol/oObject/3DTextured.h - * @brief ewol OpenGl Object system (header) * @author Edouard DUPIN - * @date 29/08/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ + #ifndef __EWOL_O_OBJECT_3D_TEXTURED_H__ #define __EWOL_O_OBJECT_3D_TEXTURED_H__ diff --git a/Sources/libewol/ewol/oObject/OObject.cpp b/Sources/libewol/ewol/oObject/OObject.cpp index 2e9eb2dd..8977cac4 100644 --- a/Sources/libewol/ewol/oObject/OObject.cpp +++ b/Sources/libewol/ewol/oObject/OObject.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/oObject/OObject.cpp - * @brief ewol OpenGl Object system (Sources) * @author Edouard DUPIN - * @date 24/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libewol/ewol/oObject/OObject.h b/Sources/libewol/ewol/oObject/OObject.h index 55407115..34fad201 100644 --- a/Sources/libewol/ewol/oObject/OObject.h +++ b/Sources/libewol/ewol/oObject/OObject.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/oObject/OObject.h - * @brief ewol OpenGl Object system (header) * @author Edouard DUPIN - * @date 24/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_O_OBJECT_H__ diff --git a/Sources/libewol/ewol/oObject/Sprite.cpp b/Sources/libewol/ewol/oObject/Sprite.cpp index 84d354f1..8d55c03b 100644 --- a/Sources/libewol/ewol/oObject/Sprite.cpp +++ b/Sources/libewol/ewol/oObject/Sprite.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/oObject/Sprite.cpp - * @brief ewol OpenGl Object system (Sources) * @author Edouard DUPIN - * @date 04/04/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libewol/ewol/oObject/Sprite.h b/Sources/libewol/ewol/oObject/Sprite.h index ad712ec2..cbaba027 100644 --- a/Sources/libewol/ewol/oObject/Sprite.h +++ b/Sources/libewol/ewol/oObject/Sprite.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/oObject/Sprite.h - * @brief ewol OpenGl Object system (header) * @author Edouard DUPIN - * @date 04/04/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_O_OBJECT_SPRITE_H__ diff --git a/Sources/libewol/ewol/openGL/Program.cpp b/Sources/libewol/ewol/openGL/Program.cpp index d0ea355a..ace134c0 100644 --- a/Sources/libewol/ewol/openGL/Program.cpp +++ b/Sources/libewol/ewol/openGL/Program.cpp @@ -1,28 +1,11 @@ /** - ******************************************************************************* - * @file ewol/openGL/Program.cpp - * @brief ewol openGl Program shader system (Sources) * @author Edouard DUPIN - * @date 24/08/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - #include #include #include diff --git a/Sources/libewol/ewol/openGL/Program.h b/Sources/libewol/ewol/openGL/Program.h index 3aafaa1f..c9292dbe 100644 --- a/Sources/libewol/ewol/openGL/Program.h +++ b/Sources/libewol/ewol/openGL/Program.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/openGL/Program.h - * @brief ewol openGl Program shader system (header) * @author Edouard DUPIN - * @date 24/08/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __OPEN_GL__PROGRAM_H__ diff --git a/Sources/libewol/ewol/openGL/Shader.cpp b/Sources/libewol/ewol/openGL/Shader.cpp index ac42e77c..228e908b 100644 --- a/Sources/libewol/ewol/openGL/Shader.cpp +++ b/Sources/libewol/ewol/openGL/Shader.cpp @@ -1,28 +1,11 @@ /** - ******************************************************************************* - * @file ewol/openGL/Shader.cpp - * @brief ewol openGl Shader system (Sources) * @author Edouard DUPIN - * @date 24/08/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - #include #include #include diff --git a/Sources/libewol/ewol/openGL/Shader.h b/Sources/libewol/ewol/openGL/Shader.h index 95ebbf0c..b2e19a4e 100644 --- a/Sources/libewol/ewol/openGL/Shader.h +++ b/Sources/libewol/ewol/openGL/Shader.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/openGL/Shader.h - * @brief ewol openGl Shader system (header) * @author Edouard DUPIN - * @date 24/08/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __OPEN_GL__SHADER_H__ diff --git a/Sources/libewol/ewol/openGL/VirtualBufferObject.cpp b/Sources/libewol/ewol/openGL/VirtualBufferObject.cpp index 23546691..5c2b57d4 100644 --- a/Sources/libewol/ewol/openGL/VirtualBufferObject.cpp +++ b/Sources/libewol/ewol/openGL/VirtualBufferObject.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/openGL/VirtualBufferObject.cpp - * @brief ewol openGl virtualBufferObject system (Sources) * @author Edouard DUPIN - * @date 10/10/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libewol/ewol/openGL/VirtualBufferObject.h b/Sources/libewol/ewol/openGL/VirtualBufferObject.h index 3427cfbc..15fa0b97 100644 --- a/Sources/libewol/ewol/openGL/VirtualBufferObject.h +++ b/Sources/libewol/ewol/openGL/VirtualBufferObject.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/openGL/VirtualBufferObject.h - * @brief ewol openGl virtualBufferObject system (header) * @author Edouard DUPIN - * @date 10/10/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __OPEN_GL__VIRTUAL_BUFFER_OBJECT_H__ diff --git a/Sources/libewol/ewol/openGL/openGL.cpp b/Sources/libewol/ewol/openGL/openGL.cpp index 81bd57a1..00446c5c 100644 --- a/Sources/libewol/ewol/openGL/openGL.cpp +++ b/Sources/libewol/ewol/openGL/openGL.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/openGL/openGL.cpp - * @brief ewol openGl abstarction (sources) * @author Edouard DUPIN - * @date 19/09/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libewol/ewol/openGL/openGL.h b/Sources/libewol/ewol/openGL/openGL.h index b7105872..7de6e89b 100644 --- a/Sources/libewol/ewol/openGL/openGL.h +++ b/Sources/libewol/ewol/openGL/openGL.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/openGL/openGL.h - * @brief ewol openGl abstarction (header) * @author Edouard DUPIN - * @date 19/09/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __OPEN_GL_H__ diff --git a/Sources/libewol/ewol/os/Fps.h b/Sources/libewol/ewol/os/Fps.h index 13ee7999..06a4e01d 100644 --- a/Sources/libewol/ewol/os/Fps.h +++ b/Sources/libewol/ewol/os/Fps.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/os/Fps.h - * @brief fps counter and displayer (Header) * @author Edouard DUPIN - * @date 19/08/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_FPS_H__ diff --git a/Sources/libewol/ewol/os/eSystem.cpp b/Sources/libewol/ewol/os/eSystem.cpp index 1d42caad..d9d11b6d 100644 --- a/Sources/libewol/ewol/os/eSystem.cpp +++ b/Sources/libewol/ewol/os/eSystem.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file os/eSystem.cpp - * @brief Main Ewol thread for the abstraction of the OS problematics (Sources) * @author Edouard DUPIN - * @date 27/01/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ @@ -45,12 +29,6 @@ static ewol::eSystemInput l_managementInput; -/** - * @brief This is to transfert the event from one widget to another one - * @param source the widget where the event came from - * @param destination the widget where the event mitgh be generated now - * @return --- - */ void eSystem::InputEventTransfertWidget(ewol::Widget* source, ewol::Widget* destination) { l_managementInput.TransfertEvent(source, destination); @@ -519,44 +497,25 @@ bool eSystem::Draw(bool displayEveryTime) return true; } -/** - * @brief Inform object that an other object is removed ... - * @param[in] removeObject Pointer on the EObject remeved ==> the user must remove all reference on this EObject - * @note : Sub classes must call this class - * @return --- - */ + void eSystem::OnObjectRemove(ewol::EObject * removeObject) { l_managementInput.OnObjectRemove(removeObject); } -/** - * @brief reset event management for the IO like Input ou Mouse or keyborad - * @param --- - * @return --- - */ + void eSystem::ResetIOEvent(void) { l_managementInput.NewLayerSet(); } -/** - * @brief Inform the system that the OpenGL constext has been destroy ==> use to automaticly reload the texture and other thinks ... - * @param --- - * @return --- - */ void eSystem::OpenGlContextDestroy(void) { ewol::resource::ContextHasBeenDestroyed(); } -/** - * @brief set the current windows to display : - * @param windows windows that might be displayed - * @return --- - */ void eSystem::SetCurrentWindows(ewol::Windows * windows) { // set the new pointer as windows system @@ -566,33 +525,18 @@ void eSystem::SetCurrentWindows(ewol::Windows * windows) } -/** - * @brief Get the current windows that is displayed - * @param --- - * @return the current handle on the windows (can be null) - */ ewol::Windows* eSystem::GetCurrentWindows(void) { return windowsCurrent; } -/** - * @brief Get the current windows size - * @param --- - * @return the current size ... - */ etk::Vector2D eSystem::GetSize(void) { return windowsSize; } -/** - * @brief Redraw all the windows - * @param --- - * @return --- - */ void eSystem::ForceRedrawAll(void) { ewol::Windows* tmpWindows = eSystem::GetCurrentWindows(); @@ -602,11 +546,7 @@ void eSystem::ForceRedrawAll(void) } } -/** - * @brief Inform the system that the Application has been killed - * @param --- - * @return --- - */ + void eSystem::OnKill(void) { ewol::Windows* tmpWindows = eSystem::GetCurrentWindows(); diff --git a/Sources/libewol/ewol/os/eSystem.h b/Sources/libewol/ewol/os/eSystem.h index a04e8901..8853c6ca 100644 --- a/Sources/libewol/ewol/os/eSystem.h +++ b/Sources/libewol/ewol/os/eSystem.h @@ -1,29 +1,11 @@ /** - ******************************************************************************* - * @file os/eSystem.h - * @brief Main Ewol system of management of the input events and drawing request (Header) * @author Edouard DUPIN - * @date 27/01/2012 - * @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. - *O - * 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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - - #ifndef __EWOL_SYSTEM_H__ #define __EWOL_SYSTEM_H__ diff --git a/Sources/libewol/ewol/os/eSystemInput.cpp b/Sources/libewol/ewol/os/eSystemInput.cpp index 8924450a..c9712e06 100644 --- a/Sources/libewol/ewol/os/eSystemInput.cpp +++ b/Sources/libewol/ewol/os/eSystemInput.cpp @@ -1,28 +1,11 @@ /** - ******************************************************************************* - * @file os/eSystemInput.cpp - * @brief Input (mouse,finger) abstraction layer (Sources) * @author Edouard DUPIN - * @date 00/04/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - #include #include #include @@ -80,15 +63,6 @@ void ewol::eSystemInput::CleanElement(InputPoperty_ts *eventTable, int32_t idInp } -/** - * @brief generate the event on the destinated widger - * @param[in] type Type of the event that might be sended - * @param[in] destWidget Pointer on the requested widget that element might be sended - * @param[in] IdInput Id of the event (PC : [0..9] and touch : [1..9]) - * @param[in] typeEvent type of the eventg generated - * @param[in] pos position of the event - * @return true if event has been greped - */ bool ewol::eSystemInput::localEventInput(ewol::inputType_te type, ewol::Widget* destWidget, int32_t IdInput, ewol::eventInputType_te typeEvent, etk::Vector2D pos) { if (NULL != destWidget) { @@ -102,12 +76,6 @@ bool ewol::eSystemInput::localEventInput(ewol::inputType_te type, ewol::Widget* } -/** - * @brief This is to transfert the event from one widget to another one - * @param source the widget where the event came from - * @param destination the widget where the event mitgh be generated now - * @return --- - */ void ewol::eSystemInput::TransfertEvent(ewol::Widget* source, ewol::Widget* destination) { if( NULL == source @@ -139,12 +107,6 @@ void ewol::eSystemInput::TransfertEvent(ewol::Widget* source, ewol::Widget* dest } } -/** - * @brief Inform object that an other object is removed ... - * @param[in] removeObject Pointer on the EObject removed ==> the user must remove all reference on this EObject - * @note : Sub classes must call this class - * @return --- - */ void ewol::eSystemInput::OnObjectRemove(ewol::EObject * removeObject) { for(int32_t iii=0; iii might remove all the property of the current element ... - * @param --- - * @return --- - */ void ewol::eSystemInput::NewLayerSet(void) { for(int32_t iii=0; iii on PC, the ID does not change (IHM is not the same - * @param[in] destWidget Pointer of the widget destination - * @param[in] realInputId System Id - * @return the ewol input id - */ + int32_t ewol::eSystemInput::localGetDestinationId(ewol::inputType_te type, ewol::Widget* destWidget, int32_t realInputId) { if (type == ewol::INPUT_TYPE_FINGER) { diff --git a/Sources/libewol/ewol/os/eSystemInput.h b/Sources/libewol/ewol/os/eSystemInput.h index 262b2dd2..13086175 100644 --- a/Sources/libewol/ewol/os/eSystemInput.h +++ b/Sources/libewol/ewol/os/eSystemInput.h @@ -1,29 +1,11 @@ /** - ******************************************************************************* - * @file os/eSystemInput.h - * @brief Input (mouse,finger) abstraction layer (header) * @author Edouard DUPIN - * @date 00/04/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - - #ifndef __EWOL_SYSTEM_INPUT_H__ #define __EWOL_SYSTEM_INPUT_H__ @@ -63,7 +45,23 @@ namespace ewol InputPoperty_ts m_eventInputSaved[MAX_MANAGE_INPUT]; InputPoperty_ts m_eventMouseSaved[MAX_MANAGE_INPUT]; void CleanElement(InputPoperty_ts *eventTable, int32_t idInput); + /** + * @brief generate the event on the destinated widger + * @param[in] type Type of the event that might be sended + * @param[in] destWidget Pointer on the requested widget that element might be sended + * @param[in] IdInput Id of the event (PC : [0..9] and touch : [1..9]) + * @param[in] typeEvent type of the eventg generated + * @param[in] pos position of the event + * @return true if event has been greped + */ bool localEventInput(ewol::inputType_te type, ewol::Widget* destWidget, int32_t IdInput, ewol::eventInputType_te typeEvent, etk::Vector2D pos); + /** + * @brief Convert the system event id in the correct EWOL id depending of the system management mode + * This function find the next input id unused on the specifiic widget ==> on PC, the ID does not change (IHM is not the same + * @param[in] destWidget Pointer of the widget destination + * @param[in] realInputId System Id + * @return the ewol input id + */ int32_t localGetDestinationId(ewol::inputType_te type, ewol::Widget* destWidget, int32_t realInputId); public: eSystemInput(void); diff --git a/Sources/libewol/ewol/os/gui.Android.base.cpp b/Sources/libewol/ewol/os/gui.Android.base.cpp index fae6c600..ce4e0f2e 100644 --- a/Sources/libewol/ewol/os/gui.Android.base.cpp +++ b/Sources/libewol/ewol/os/gui.Android.base.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewolAndroidAbstraction.cpp - * @brief User abstraction for Android (Sources) * @author Edouard DUPIN - * @date 14/12/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include @@ -512,11 +496,6 @@ int64_t guiInterface::GetTime(void) } -/** - * @brief Set the new title of the windows - * @param title New desired title - * @return --- - */ void guiInterface::SetTitle(etk::UString& title) { // can not set the title in Android ... @@ -528,11 +507,6 @@ void guiInterface::SetTitle(etk::UString& title) // ------------------------------------------------------------------------- bool l_clipBoardOwnerStd = false; -/** - * @brief Inform the Gui that we want to have a copy of the clipboard - * @param ID of the clipboard (STD/SELECTION) only apear here - * @return --- - */ void guiInterface::ClipBoardGet(ewol::clipBoard::clipboardListe_te clipboardID) { // this is to force the local system to think we have the buffer @@ -560,11 +534,6 @@ void guiInterface::ClipBoardGet(ewol::clipBoard::clipboardListe_te clipboardID) } } -/** - * @brief Inform the Gui that we are the new owner of the clipboard - * @param ID of the clipboard (STD/SELECTION) only apear here - * @return --- - */ void guiInterface::ClipBoardSet(ewol::clipBoard::clipboardListe_te clipboardID) { switch (clipboardID) @@ -623,11 +592,6 @@ void guiInterface::GetAbsPos(etk::Vector2D& size) size.y = 0; } -/** - * @brief Force the screen orientation (availlable on portable elements ... - * @param orientation Selected orientation. - * @return --- - */ void guiInterface::ForceOrientation(ewol::orientation_te orientation) { SendJava_OrientationChange((int32_t)orientation); diff --git a/Sources/libewol/ewol/os/gui.Android.cpp b/Sources/libewol/ewol/os/gui.Android.cpp index 372a038c..97d6d6ec 100644 --- a/Sources/libewol/ewol/os/gui.Android.cpp +++ b/Sources/libewol/ewol/os/gui.Android.cpp @@ -1,25 +1,10 @@ /** - ******************************************************************************* - * @file ewolAndroidAbstraction.cpp - * @brief User abstraction for Android (Sources) * @author Edouard DUPIN - * @date 14/12/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ + // this include a dynamic generating file ==> this is really stupid, but it is needed for the dependency coherency -#include \ No newline at end of file +#include diff --git a/Sources/libewol/ewol/os/gui.Example.cpp b/Sources/libewol/ewol/os/gui.Example.cpp index e69de29b..4b6d4347 100644 --- a/Sources/libewol/ewol/os/gui.Example.cpp +++ b/Sources/libewol/ewol/os/gui.Example.cpp @@ -0,0 +1,7 @@ +/** + * @author Edouard DUPIN + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) + */ diff --git a/Sources/libewol/ewol/os/gui.IOs.cpp b/Sources/libewol/ewol/os/gui.IOs.cpp index a00d1b93..65799fed 100644 --- a/Sources/libewol/ewol/os/gui.IOs.cpp +++ b/Sources/libewol/ewol/os/gui.IOs.cpp @@ -1,24 +1,8 @@ /** - ******************************************************************************* - * @file os/gui.IOs.cpp - * @brief Gui abstraction layer for i-OS platform (Sources) * @author Edouard DUPIN - * @date 20/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ diff --git a/Sources/libewol/ewol/os/gui.MacOs.cpp b/Sources/libewol/ewol/os/gui.MacOs.cpp index 70c3a2c7..65799fed 100644 --- a/Sources/libewol/ewol/os/gui.MacOs.cpp +++ b/Sources/libewol/ewol/os/gui.MacOs.cpp @@ -1,23 +1,8 @@ /** - ******************************************************************************* - * @file os/gui.MacOs.cpp - * @brief Gui abstraction layer for Mac-OS platform (Sources) * @author Edouard DUPIN - * @date 20/08/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ + diff --git a/Sources/libewol/ewol/os/gui.Windows.cpp b/Sources/libewol/ewol/os/gui.Windows.cpp index 36235f69..3062cf51 100644 --- a/Sources/libewol/ewol/os/gui.Windows.cpp +++ b/Sources/libewol/ewol/os/gui.Windows.cpp @@ -1,27 +1,12 @@ /** - ******************************************************************************* - * @file os/gui.Windows.cpp - * @brief Gui abstraction layer for windows (Sources) * @author Edouard DUPIN - * @date 20/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ + #include #include @@ -50,11 +35,6 @@ bool inputIsPressed[20]; static ewol::specialKey_ts guiKeyBoardMode; -/** - * @brief Set the new title of the windows - * @param title New desired title - * @return --- - */ void guiInterface::SetTitle(etk::UString& title) { // TODO ... @@ -65,11 +45,6 @@ void guiInterface::SetTitle(etk::UString& title) bool m_run = true; -/** - * @brief Stop the current program - * @param --- - * @return --- - */ void guiInterface::Stop(void) { m_run = false; @@ -78,22 +53,12 @@ void guiInterface::Stop(void) } -/** - * @brief Display the virtal keyboard (for touch system only) - * @param --- - * @return --- - */ void guiInterface::KeyboardShow(void) { // nothing to do : No keyboard on computer ... } -/** - * @brief Hide the virtal keyboard (for touch system only) - * @param --- - * @return --- - */ void guiInterface::KeyboardHide(void) { // nothing to do : No keyboard on computer ... @@ -101,11 +66,6 @@ void guiInterface::KeyboardHide(void) -/** - * @brief Change the current Windows size - * @param size The requested size - * @return --- - */ void guiInterface::ChangeSize(etk::Vector2D size) { int border_thickness = GetSystemMetrics(SM_CXSIZEFRAME); @@ -116,21 +76,11 @@ void guiInterface::ChangeSize(etk::Vector2D size) // TODO : Later } -/** - * @brief Change the current Windows position - * @param pos The position where the winsdows might be placed. - * @return --- - */ void guiInterface::ChangePos(etk::Vector2D pos) { // TODO : Later } -/** - * @brief Get the current Windows position - * @param pos The position where the winsdows is. - * @return --- - */ void guiInterface::GetAbsPos(etk::Vector2D& size) { // TODO : Later @@ -145,11 +95,7 @@ void guiInterface::GetAbsPos(etk::Vector2D& size) // ------------------------------------------------------------------------- bool l_clipBoardOwnerStd = false; -/** - * @brief Inform the Gui that we want to have a copy of the clipboard - * @param ID of the clipboard (STD/SELECTION) only apear here - * @return --- - */ + void guiInterface::ClipBoardGet(ewol::clipBoard::clipboardListe_te clipboardID) { // this is to force the local system to think we have the buffer @@ -177,11 +123,7 @@ void guiInterface::ClipBoardGet(ewol::clipBoard::clipboardListe_te clipboardID) } } -/** - * @brief Inform the Gui that we are the new owner of the clipboard - * @param ID of the clipboard (STD/SELECTION) only apear here - * @return --- - */ + void guiInterface::ClipBoardSet(ewol::clipBoard::clipboardListe_te clipboardID) { switch (clipboardID) diff --git a/Sources/libewol/ewol/os/gui.X11.cpp b/Sources/libewol/ewol/os/gui.X11.cpp index 5d408eaf..c1865121 100644 --- a/Sources/libewol/ewol/os/gui.X11.cpp +++ b/Sources/libewol/ewol/os/gui.X11.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file os/gui.X11.cpp - * @brief Gui abstraction layer (Sources) * @author Edouard DUPIN - * @date 20/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ @@ -969,11 +953,7 @@ void X11_Run(void) // ClipBoard AREA : // ------------------------------------------------------------------------- -/** - * @brief Inform the Gui that we want to have a copy of the clipboard - * @param ID of the clipboard (STD/SELECTION) only apear here - * @return --- - */ + void guiInterface::ClipBoardGet(ewol::clipBoard::clipboardListe_te clipboardID) { switch (clipboardID) @@ -1014,11 +994,7 @@ void guiInterface::ClipBoardGet(ewol::clipBoard::clipboardListe_te clipboardID) } } -/** - * @brief Inform the Gui that we are the new owner of the clipboard - * @param ID of the clipboard (STD/SELECTION) only apear here - * @return --- - */ + void guiInterface::ClipBoardSet(ewol::clipBoard::clipboardListe_te clipboardID) { switch (clipboardID) @@ -1049,11 +1025,6 @@ void guiInterface::ClipBoardSet(ewol::clipBoard::clipboardListe_te clipboardID) #define __class__ "guiInterface" -/** - * @brief Stop the current program - * @param --- - * @return --- - */ void guiInterface::Stop(void) { #ifdef DEBUG_X11_EVENT @@ -1062,33 +1033,18 @@ void guiInterface::Stop(void) m_run = false; } -/** - * @brief Display the virtal keyboard (for touch system only) - * @param --- - * @return --- - */ void guiInterface::KeyboardShow(void) { // nothing to do : No keyboard on computer ... } -/** - * @brief Hide the virtal keyboard (for touch system only) - * @param --- - * @return --- - */ void guiInterface::KeyboardHide(void) { // nothing to do : No keyboard on computer ... } -/** - * @brief Change the current Windows size - * @param size The requested size - * @return --- - */ void guiInterface::ChangeSize(etk::Vector2D size) { #ifdef DEBUG_X11_EVENT @@ -1098,11 +1054,6 @@ void guiInterface::ChangeSize(etk::Vector2D size) } -/** - * @brief Change the current Windows position - * @param pos The position where the winsdows might be placed. - * @return --- - */ void guiInterface::ChangePos(etk::Vector2D pos) { #ifdef DEBUG_X11_EVENT @@ -1112,11 +1063,6 @@ void guiInterface::ChangePos(etk::Vector2D pos) } -/** - * @brief Get the current Windows position - * @param pos The position where the winsdows is. - * @return --- - */ void guiInterface::GetAbsPos(etk::Vector2D& pos) { #ifdef DEBUG_X11_EVENT @@ -1189,11 +1135,7 @@ int main(int argc, char *argv[]) return 0; } -/** - * @brief Force the screen orientation (availlable on portable elements ... - * @param orientation Selected orientation. - * @return --- - */ + void guiInterface::ForceOrientation(ewol::orientation_te orientation) { // nothing to do ... diff --git a/Sources/libewol/ewol/os/gui.h b/Sources/libewol/ewol/os/gui.h index f3bdf300..6c8a2730 100644 --- a/Sources/libewol/ewol/os/gui.h +++ b/Sources/libewol/ewol/os/gui.h @@ -1,28 +1,11 @@ /** - ******************************************************************************* - * @file os/gui.h - * @brief Gui abstraction layer (header) * @author Edouard DUPIN - * @date 20/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - #ifndef __GUI_INTERFACE_H__ #define __GUI_INTERFACE_H__ diff --git a/Sources/libewol/ewol/texture/Texture.cpp b/Sources/libewol/ewol/texture/Texture.cpp index 9895f38d..36a831ae 100644 --- a/Sources/libewol/ewol/texture/Texture.cpp +++ b/Sources/libewol/ewol/texture/Texture.cpp @@ -1,35 +1,16 @@ /** - ******************************************************************************* - * @file ewol/texture/Texture.cpp - * @brief ewol Texture loading system (sources) * @author Edouard DUPIN - * @date 28/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - - #include #include #include - /** * @brief get the next power 2 if the input * @param[in] value Value that we want the next power of 2 @@ -59,6 +40,7 @@ ewol::Texture::Texture(etk::UString tmpName) : m_endPointSize.y = 1.0; } + ewol::Texture::~Texture(void) { RemoveContext(); @@ -98,7 +80,7 @@ void ewol::Texture::UpdateContext(void) } } -// really remove the texture + void ewol::Texture::RemoveContext(void) { if (true == m_loaded) { @@ -109,7 +91,7 @@ void ewol::Texture::RemoveContext(void) } } -// the OpenGl context is destroy, it is too late to remo it from nothing ... special case for Android + void ewol::Texture::RemoveContextToLate(void) { m_loaded = false; diff --git a/Sources/libewol/ewol/texture/Texture.h b/Sources/libewol/ewol/texture/Texture.h index ae722cb4..1e8d284e 100644 --- a/Sources/libewol/ewol/texture/Texture.h +++ b/Sources/libewol/ewol/texture/Texture.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/texture/Texture.h - * @brief ewol Texture loading system (header) * @author Edouard DUPIN - * @date 28/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_TEXTURE_H__ diff --git a/Sources/libewol/ewol/texture/TextureBMP.cpp b/Sources/libewol/ewol/texture/TextureBMP.cpp index 459d2376..1f77bd33 100644 --- a/Sources/libewol/ewol/texture/TextureBMP.cpp +++ b/Sources/libewol/ewol/texture/TextureBMP.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/texture/TextureBMP.cpp - * @brief ewol Texture Bitmap abstraction (sources) * @author Edouard DUPIN - * @date 28/03/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libewol/ewol/texture/TextureBMP.h b/Sources/libewol/ewol/texture/TextureBMP.h index cf37a370..4793cb44 100644 --- a/Sources/libewol/ewol/texture/TextureBMP.h +++ b/Sources/libewol/ewol/texture/TextureBMP.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/Texture/TextureBMP.h - * @brief ewol Texture Bitmap abstraction (header) * @author Edouard DUPIN - * @date 28/03/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_TEXTURE_BITMAP_H__ diff --git a/Sources/libewol/ewol/texture/TextureFile.cpp b/Sources/libewol/ewol/texture/TextureFile.cpp index a9e89112..53b64fdd 100644 --- a/Sources/libewol/ewol/texture/TextureFile.cpp +++ b/Sources/libewol/ewol/texture/TextureFile.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/texture/TextureFile.cpp - * @brief ewol tecture file (sources) * @author Edouard DUPIN - * @date 22/08/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libewol/ewol/texture/TextureFile.h b/Sources/libewol/ewol/texture/TextureFile.h index 589bc186..627a71d8 100644 --- a/Sources/libewol/ewol/texture/TextureFile.h +++ b/Sources/libewol/ewol/texture/TextureFile.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/texture/TextureFile.cpp - * @brief ewol tecture file (sources) * @author Edouard DUPIN - * @date 22/08/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_TEXTURE_FILE_H__ diff --git a/Sources/libewol/ewol/texture/TexturePNG.cpp b/Sources/libewol/ewol/texture/TexturePNG.cpp index e69de29b..4b6d4347 100644 --- a/Sources/libewol/ewol/texture/TexturePNG.cpp +++ b/Sources/libewol/ewol/texture/TexturePNG.cpp @@ -0,0 +1,7 @@ +/** + * @author Edouard DUPIN + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) + */ diff --git a/Sources/libewol/ewol/texture/TexturePNG.h b/Sources/libewol/ewol/texture/TexturePNG.h index e69de29b..4b6d4347 100644 --- a/Sources/libewol/ewol/texture/TexturePNG.h +++ b/Sources/libewol/ewol/texture/TexturePNG.h @@ -0,0 +1,7 @@ +/** + * @author Edouard DUPIN + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) + */ diff --git a/Sources/libewol/ewol/texture/TextureSVG.cpp b/Sources/libewol/ewol/texture/TextureSVG.cpp index 122f2d8a..66111443 100644 --- a/Sources/libewol/ewol/texture/TextureSVG.cpp +++ b/Sources/libewol/ewol/texture/TextureSVG.cpp @@ -1,29 +1,11 @@ /** - ******************************************************************************* - * @file ewol/texture/TextureSVG.cpp - * @brief ewol Texture SVG abstraction (Sources) * @author Edouard DUPIN - * @date 28/03/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - - #include #include diff --git a/Sources/libewol/ewol/texture/TextureSVG.h b/Sources/libewol/ewol/texture/TextureSVG.h index 5723cf15..08a9c03a 100644 --- a/Sources/libewol/ewol/texture/TextureSVG.h +++ b/Sources/libewol/ewol/texture/TextureSVG.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/Texture/TextureSVG.h - * @brief ewol Texture SVG abstraction (header) * @author Edouard DUPIN - * @date 28/03/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_TEXTURE_SVG_H__ diff --git a/Sources/libewol/ewol/widget/Button.cpp b/Sources/libewol/ewol/widget/Button.cpp index 900710c2..8e66e3b0 100644 --- a/Sources/libewol/ewol/widget/Button.cpp +++ b/Sources/libewol/ewol/widget/Button.cpp @@ -1,27 +1,12 @@ /** - ******************************************************************************* - * @file ewol/widget/Button.cpp - * @brief ewol Button widget system (Sources) * @author Edouard DUPIN - * @date 07/11/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ + #include #include @@ -35,12 +20,6 @@ extern const char * const ewolEventButtonEnter = "ewol-button-enter"; extern const char * const ewolEventButtonLeave = "ewol-button-leave"; -/** - * @brief Initilise the basic widget property ==> due to the android system - * @note all widget that have template might have this initializer ... - * @param --- - * @return --- - */ void ewol::WIDGET_ButtonInit(void) { @@ -301,15 +280,7 @@ void ewol::Button::OnRegenerateDisplay(void) } } -/** - * @brief Event on an input of this Widget - * @param[in] type Type of the input (ewol::INPUT_TYPE_MOUSE/ewol::INPUT_TYPE_FINGER ...) - * @param[in] IdInput Id of the current Input (PC : left=1, right=2, middle=3, none=0 / Tactil : first finger=1 , second=2 (only on this widget, no knowledge at ouside finger)) - * @param[in] typeEvent ewol type of event like EVENT_INPUT_TYPE_DOWN/EVENT_INPUT_TYPE_MOVE/EVENT_INPUT_TYPE_UP/EVENT_INPUT_TYPE_SINGLE/EVENT_INPUT_TYPE_DOUBLE/... - * @param[in] pos Absolute position of the event - * @return true the event is used - * @return false the event is not used - */ + bool ewol::Button::OnEventInput(ewol::inputType_te type, int32_t IdInput, eventInputType_te typeEvent, etk::Vector2D pos) { //EWOL_DEBUG("Event on BT ..."); @@ -359,11 +330,8 @@ void ewol::Button::ChangeStatusIn(int32_t newStatusId) PeriodicCallSet(true); MarkToRedraw(); } -/** - * @brief Periodic call of this widget - * @param localTime curent system time - * @return --- - */ + + void ewol::Button::PeriodicCall(int64_t localTime) { // start : diff --git a/Sources/libewol/ewol/widget/Button.h b/Sources/libewol/ewol/widget/Button.h index 94be599f..fb6bb4aa 100644 --- a/Sources/libewol/ewol/widget/Button.h +++ b/Sources/libewol/ewol/widget/Button.h @@ -1,27 +1,12 @@ /** - ******************************************************************************* - * @file ewol/widget/Button.h - * @brief ewol Button widget system (header) * @author Edouard DUPIN - * @date 07/11/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ + #ifndef __EWOL_BUTTON_H__ #define __EWOL_BUTTON_H__ diff --git a/Sources/libewol/ewol/widget/ButtonColor.cpp b/Sources/libewol/ewol/widget/ButtonColor.cpp index 6266c7c6..c6bdb86a 100644 --- a/Sources/libewol/ewol/widget/ButtonColor.cpp +++ b/Sources/libewol/ewol/widget/ButtonColor.cpp @@ -1,27 +1,12 @@ /** - ******************************************************************************* - * @file ewol/widget/ButtonColor.cpp - * @brief ewol Button select color widget system (Sources) * @author Edouard DUPIN - * @date 04/03/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ + #include #include @@ -33,12 +18,6 @@ extern const char * const ewolEventButtonColorChange = "ewol-Button-Color-Change"; -/** - * @brief Initilise the basic widget property ==> due to the android system - * @note all widget that have template might have this initializer ... - * @param --- - * @return --- - */ void ewol::WIDGET_ButtonColorInit(void) { @@ -186,15 +165,7 @@ void ewol::ButtonColor::OnRegenerateDisplay(void) } } -/** - * @brief Event on an input of this Widget - * @param[in] type Type of the input (ewol::INPUT_TYPE_MOUSE/ewol::INPUT_TYPE_FINGER ...) - * @param[in] IdInput Id of the current Input (PC : left=1, right=2, middle=3, none=0 / Tactil : first finger=1 , second=2 (only on this widget, no knowledge at ouside finger)) - * @param[in] typeEvent ewol type of event like EVENT_INPUT_TYPE_DOWN/EVENT_INPUT_TYPE_MOVE/EVENT_INPUT_TYPE_UP/EVENT_INPUT_TYPE_SINGLE/EVENT_INPUT_TYPE_DOUBLE/... - * @param[in] pos Absolute position of the event - * @return true the event is used - * @return false the event is not used - */ + bool ewol::ButtonColor::OnEventInput(ewol::inputType_te type, int32_t IdInput, eventInputType_te typeEvent, etk::Vector2D pos) { //EWOL_DEBUG("Event on BT ..."); @@ -244,13 +215,7 @@ void ewol::ButtonColor::SetCurrentColor(draw::Color color) SetLabel(colorText); } -/** - * @brief Receive a message from an other EObject with a specific eventId and data - * @param[in] CallerObject Pointer on the EObject that information came from - * @param[in] eventId Message registered by this class - * @param[in] data Data registered by this class - * @return --- - */ + void ewol::ButtonColor::OnReceiveMessage(ewol::EObject * CallerObject, const char * eventId, etk::UString data) { if (eventId == ewolEventColorChooserChange) { diff --git a/Sources/libewol/ewol/widget/ButtonColor.h b/Sources/libewol/ewol/widget/ButtonColor.h index 9112f436..ed6754da 100644 --- a/Sources/libewol/ewol/widget/ButtonColor.h +++ b/Sources/libewol/ewol/widget/ButtonColor.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/ButtonColor.h - * @brief ewol Button select color widget system (header) * @author Edouard DUPIN - * @date 04/03/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_BUTTON_COLOR_H__ diff --git a/Sources/libewol/ewol/widget/ButtonImage.cpp b/Sources/libewol/ewol/widget/ButtonImage.cpp index 68a33172..48b70474 100644 --- a/Sources/libewol/ewol/widget/ButtonImage.cpp +++ b/Sources/libewol/ewol/widget/ButtonImage.cpp @@ -1,38 +1,17 @@ /** - ******************************************************************************* - * @file ewol/widget/ButtonImage.cpp - * @brief ewol Button Image widget system (Sources) * @author Edouard DUPIN - * @date 06/06/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ + #include #include #include -/** - * @brief Initilise the basic widget property ==> due to the android system - * @note all widget that have template might have this initializer ... - * @param --- - * @return --- - */ void ewol::WIDGET_ButtonImageInit(void) { @@ -203,15 +182,7 @@ void ewol::ButtonImage::OnRegenerateDisplay(void) } } -/** - * @brief Event on an input of this Widget - * @param[in] type Type of the input (ewol::INPUT_TYPE_MOUSE/ewol::INPUT_TYPE_FINGER ...) - * @param[in] IdInput Id of the current Input (PC : left=1, right=2, middle=3, none=0 / Tactil : first finger=1 , second=2 (only on this widget, no knowledge at ouside finger)) - * @param[in] typeEvent ewol type of event like EVENT_INPUT_TYPE_DOWN/EVENT_INPUT_TYPE_MOVE/EVENT_INPUT_TYPE_UP/EVENT_INPUT_TYPE_SINGLE/EVENT_INPUT_TYPE_DOUBLE/... - * @param[in] pos Absolute position of the event - * @return true the event is used - * @return false the event is not used - */ + bool ewol::ButtonImage::OnEventInput(ewol::inputType_te type, int32_t IdInput, eventInputType_te typeEvent, etk::Vector2D pos) { //EWOL_DEBUG("Event on BT ..."); diff --git a/Sources/libewol/ewol/widget/ButtonImage.h b/Sources/libewol/ewol/widget/ButtonImage.h index a30f6305..bcb60a36 100644 --- a/Sources/libewol/ewol/widget/ButtonImage.h +++ b/Sources/libewol/ewol/widget/ButtonImage.h @@ -1,27 +1,12 @@ /** - ******************************************************************************* - * @file ewol/widget/ButtonImage.h - * @brief ewol Button Image widget system (header) * @author Edouard DUPIN - * @date 06/06/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ + #ifndef __EWOL_BUTTON_IMAGE_H__ #define __EWOL_BUTTON_IMAGE_H__ diff --git a/Sources/libewol/ewol/widget/CheckBox.cpp b/Sources/libewol/ewol/widget/CheckBox.cpp index 25f3db9b..80613c8b 100644 --- a/Sources/libewol/ewol/widget/CheckBox.cpp +++ b/Sources/libewol/ewol/widget/CheckBox.cpp @@ -1,28 +1,11 @@ /** - ******************************************************************************* - * @file ewol/widget/CheckBox.cpp - * @brief ewol check-box widget system (Sources) * @author Edouard DUPIN - * @date 07/11/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - #include #include @@ -141,15 +124,6 @@ void ewol::CheckBox::OnRegenerateDisplay(void) } } -/** - * @brief Event on an input of this Widget - * @param[in] type Type of the input (ewol::INPUT_TYPE_MOUSE/ewol::INPUT_TYPE_FINGER ...) - * @param[in] IdInput Id of the current Input (PC : left=1, right=2, middle=3, none=0 / Tactil : first finger=1 , second=2 (only on this widget, no knowledge at ouside finger)) - * @param[in] typeEvent ewol type of event like EVENT_INPUT_TYPE_DOWN/EVENT_INPUT_TYPE_MOVE/EVENT_INPUT_TYPE_UP/EVENT_INPUT_TYPE_SINGLE/EVENT_INPUT_TYPE_DOUBLE/... - * @param[in] pos Absolute position of the event - * @return true the event is used - * @return false the event is not used - */ bool ewol::CheckBox::OnEventInput(ewol::inputType_te type, int32_t IdInput, eventInputType_te typeEvent, etk::Vector2D pos) { //EWOL_DEBUG("Event on checkbox ..."); diff --git a/Sources/libewol/ewol/widget/CheckBox.h b/Sources/libewol/ewol/widget/CheckBox.h index 52d1252a..46e5d2a2 100644 --- a/Sources/libewol/ewol/widget/CheckBox.h +++ b/Sources/libewol/ewol/widget/CheckBox.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/CheckBox.h - * @brief ewol check-box widget system (header) * @author Edouard DUPIN - * @date 07/11/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_CHECK_BOX_H__ diff --git a/Sources/libewol/ewol/widget/ColorBar.cpp b/Sources/libewol/ewol/widget/ColorBar.cpp index ace67196..0f27cec5 100644 --- a/Sources/libewol/ewol/widget/ColorBar.cpp +++ b/Sources/libewol/ewol/widget/ColorBar.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/ColorBar.cpp - * @brief ewol ColorBar widget system (Sources) * @author Edouard DUPIN - * @date 05/03/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include @@ -206,15 +190,7 @@ void ewol::ColorBar::OnRegenerateDisplay(void) } } -/** - * @brief Event on an input of this Widget - * @param[in] type Type of the input (ewol::INPUT_TYPE_MOUSE/ewol::INPUT_TYPE_FINGER ...) - * @param[in] IdInput Id of the current Input (PC : left=1, right=2, middle=3, none=0 / Tactil : first finger=1 , second=2 (only on this widget, no knowledge at ouside finger)) - * @param[in] typeEvent ewol type of event like EVENT_INPUT_TYPE_DOWN/EVENT_INPUT_TYPE_MOVE/EVENT_INPUT_TYPE_UP/EVENT_INPUT_TYPE_SINGLE/EVENT_INPUT_TYPE_DOUBLE/... - * @param[in] pos Absolute position of the event - * @return true the event is used - * @return false the event is not used - */ + bool ewol::ColorBar::OnEventInput(ewol::inputType_te type, int32_t IdInput, eventInputType_te typeEvent, etk::Vector2D pos) { etk::Vector2D relativePos = RelativePosition(pos); @@ -290,3 +266,4 @@ bool ewol::ColorBar::OnEventInput(ewol::inputType_te type, int32_t IdInput, even } return false; } + diff --git a/Sources/libewol/ewol/widget/ColorBar.h b/Sources/libewol/ewol/widget/ColorBar.h index 2314b01f..97fe2981 100644 --- a/Sources/libewol/ewol/widget/ColorBar.h +++ b/Sources/libewol/ewol/widget/ColorBar.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/ColorBar.h - * @brief ewol ColorBar widget system (header) * @author Edouard DUPIN - * @date 05/03/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_COLORBAR_H__ diff --git a/Sources/libewol/ewol/widget/ContextMenu.cpp b/Sources/libewol/ewol/widget/ContextMenu.cpp index 376e6948..cb5abf04 100644 --- a/Sources/libewol/ewol/widget/ContextMenu.cpp +++ b/Sources/libewol/ewol/widget/ContextMenu.cpp @@ -1,29 +1,11 @@ /** - ******************************************************************************* - * @file ewol/widget/ContextMenu.cpp - * @brief ewol Contextual Menu widget system (Sources) * @author Edouard DUPIN - * @date 16/02/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - - #include #include #include @@ -251,12 +233,6 @@ void ewol::ContextMenu::OnRegenerateDisplay(void) } -/** - * @brief Get the widget at the specific windows absolute position - * @param[in] pos gAbsolute position of the requested widget knowledge - * @return NULL No widget found - * @return pointer on the widget found - */ ewol::Widget * ewol::ContextMenu::GetWidgetAtPos(etk::Vector2D pos) { // calculate relative position @@ -274,15 +250,7 @@ ewol::Widget * ewol::ContextMenu::GetWidgetAtPos(etk::Vector2D pos) return this; } -/** - * @brief Event on an input of this Widget - * @param[in] type Type of the input (ewol::INPUT_TYPE_MOUSE/ewol::INPUT_TYPE_FINGER ...) - * @param[in] IdInput Id of the current Input (PC : left=1, right=2, middle=3, none=0 / Tactil : first finger=1 , second=2 (only on this widget, no knowledge at ouside finger)) - * @param[in] typeEvent ewol type of event like EVENT_INPUT_TYPE_DOWN/EVENT_INPUT_TYPE_MOVE/EVENT_INPUT_TYPE_UP/EVENT_INPUT_TYPE_SINGLE/EVENT_INPUT_TYPE_DOUBLE/... - * @param[in] pos Absolute position of the event - * @return true the event is used - * @return false the event is not used - */ + bool ewol::ContextMenu::OnEventInput(ewol::inputType_te type, int32_t IdInput, eventInputType_te typeEvent, etk::Vector2D pos) { //EWOL_INFO("Event ouside the context menu"); diff --git a/Sources/libewol/ewol/widget/ContextMenu.h b/Sources/libewol/ewol/widget/ContextMenu.h index a3e60c86..f78882e5 100644 --- a/Sources/libewol/ewol/widget/ContextMenu.h +++ b/Sources/libewol/ewol/widget/ContextMenu.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/ContextMenu.h - * @brief ewol contextual Menu widget system (header) * @author Edouard DUPIN - * @date 16/02/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_CONTEXT_MENU_H__ diff --git a/Sources/libewol/ewol/widget/Drawable.cpp b/Sources/libewol/ewol/widget/Drawable.cpp index 05c9b407..c9141b1a 100644 --- a/Sources/libewol/ewol/widget/Drawable.cpp +++ b/Sources/libewol/ewol/widget/Drawable.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/Drawable.cpp - * @brief basic ewol drawable widget (Sources) * @author Edouard DUPIN - * @date 18/02/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libewol/ewol/widget/Drawable.h b/Sources/libewol/ewol/widget/Drawable.h index 59a68c0a..0e301200 100644 --- a/Sources/libewol/ewol/widget/Drawable.h +++ b/Sources/libewol/ewol/widget/Drawable.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/Drawable.h - * @brief basic ewol drawable widget (header) * @author Edouard DUPIN - * @date 18/02/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_WIDGET_DRAWABLE_H__ diff --git a/Sources/libewol/ewol/widget/Entry.cpp b/Sources/libewol/ewol/widget/Entry.cpp index 217eb33d..fe53ddd1 100644 --- a/Sources/libewol/ewol/widget/Entry.cpp +++ b/Sources/libewol/ewol/widget/Entry.cpp @@ -1,28 +1,11 @@ /** - ******************************************************************************* - * @file ewol/widget/Entry.cpp - * @brief ewol entry widget system (Sources) * @author Edouard DUPIN - * @date 07/11/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - #include #include #include @@ -161,11 +144,7 @@ void ewol::Entry::Rectangle(float x, float y, float w, float h) SetPoint(dxA, dyD); } -/** - * @brief Common widget drawing function (called by the drawing thread [Android, X11, ...]) - * @param[in] displayProp properties of the current display - * @return --- - */ + void ewol::Entry::OnDraw(DrawProperty& displayProp) { if (m_GLprogram==NULL) { @@ -193,11 +172,6 @@ void ewol::Entry::OnDraw(DrawProperty& displayProp) } -/** - * @brief Event generated when a redraw is needed - * @param --- - * @return --- - */ void ewol::Entry::OnRegenerateDisplay(void) { if (true == NeedRedraw()) { @@ -278,12 +252,7 @@ void ewol::Entry::OnRegenerateDisplay(void) } } -/** - * @brief Change the cursor position with the curent position requested on the display - * @param[in] pos Absolute position of the event - * @note The display is automaticly requested when change apear. - * @return --- - */ + void ewol::Entry::UpdateCursorPosition(etk::Vector2D& pos, bool selection) { etk::Vector2D relPos = RelativePosition(pos); @@ -319,11 +288,7 @@ void ewol::Entry::UpdateCursorPosition(etk::Vector2D& pos, bool selection UpdateTextPosition(); } -/** - * @brief Remove the selected area - * @note This request a regeneration of the display - * @return --- - */ + void ewol::Entry::RemoveSelected(void) { if (m_displayCursorPosSelection==m_displayCursorPos) { @@ -343,11 +308,7 @@ void ewol::Entry::RemoveSelected(void) MarkToRedraw(); } -/** - * @brief Copy the selected data on the specify clipboard - * @param[in] clipboardID Selected clipboard - * @return --- - */ + void ewol::Entry::CopySelectionToClipBoard(ewol::clipBoard::clipboardListe_te clipboardID) { if (m_displayCursorPosSelection==m_displayCursorPos) { @@ -366,15 +327,6 @@ void ewol::Entry::CopySelectionToClipBoard(ewol::clipBoard::clipboardListe_te cl } -/** - * @brief Event on an input of this Widget - * @param[in] type Type of the input (ewol::INPUT_TYPE_MOUSE/ewol::INPUT_TYPE_FINGER ...) - * @param[in] IdInput Id of the current Input (PC : left=1, right=2, middle=3, none=0 / Tactil : first finger=1 , second=2 (only on this widget, no knowledge at ouside finger)) - * @param[in] typeEvent ewol type of event like EVENT_INPUT_TYPE_DOWN/EVENT_INPUT_TYPE_MOVE/EVENT_INPUT_TYPE_UP/EVENT_INPUT_TYPE_SINGLE/EVENT_INPUT_TYPE_DOUBLE/... - * @param[in] pos Absolute position of the event - * @return true the event is used - * @return false the event is not used - */ bool ewol::Entry::OnEventInput(ewol::inputType_te type, int32_t IdInput, eventInputType_te typeEvent, etk::Vector2D pos) { //EWOL_DEBUG("Event on Entry ... type=" << (int32_t)type << " id=" << IdInput); @@ -469,13 +421,6 @@ bool ewol::Entry::OnEventInput(ewol::inputType_te type, int32_t IdInput, eventIn } -/** - * @brief Event on the keybord (if no shortcut has been detected before). - * @param[in] type of the event (ewol::EVENT_KB_TYPE_DOWN or ewol::EVENT_KB_TYPE_UP) - * @param[in] unicodeValue key pressed by the user - * @return true if the event has been used - * @return false if the event has not been used - */ bool ewol::Entry::OnEventKb(eventKbType_te typeEvent, uniChar_t unicodeData) { if( typeEvent == ewol::EVENT_KB_TYPE_DOWN) { @@ -515,11 +460,6 @@ bool ewol::Entry::OnEventKb(eventKbType_te typeEvent, uniChar_t unicodeData) } -/** - * @brief Event on the keyboard that is not a printable key (if no shortcut has been detected before). - * @return true if the event has been used - * @return false if the event has not been used - */ bool ewol::Entry::OnEventKbMove(eventKbType_te typeEvent, eventKbMoveType_te moveTypeEvent) { if(typeEvent == ewol::EVENT_KB_TYPE_DOWN) { @@ -548,12 +488,7 @@ bool ewol::Entry::OnEventKbMove(eventKbType_te typeEvent, eventKbMoveType_te mov return false; } -/** - * @brief Event on a past event ==> this event is asynchronous due to all system does not support direct getting datas - * @note : need to have focus ... - * @param[in] mode Mode of data requested - * @return --- - */ + void ewol::Entry::OnEventClipboard(ewol::clipBoard::clipboardListe_te clipboardID) { // remove curent selected data ... @@ -574,13 +509,7 @@ void ewol::Entry::OnEventClipboard(ewol::clipBoard::clipboardListe_te clipboardI GenerateEventId(ewolEventEntryModify, m_data); } -/** - * @brief Receive a message from an other EObject with a specific eventId and data - * @param[in] CallerObject Pointer on the EObject that information came from - * @param[in] eventId Message registered by this class - * @param[in] data Data registered by this class - * @return --- - */ + void ewol::Entry::OnReceiveMessage(ewol::EObject * CallerObject, const char * eventId, etk::UString data) { ewol::Widget::OnReceiveMessage(CallerObject, eventId, data); @@ -609,12 +538,7 @@ void ewol::Entry::OnReceiveMessage(ewol::EObject * CallerObject, const char * ev } } -/** - * @brief Update the display position start ==> depending of the position of the Cursor and the size of the Data inside - * @param --- - * @return --- - * @change m_displayStartPosition <== updated - */ + void ewol::Entry::UpdateTextPosition(void) { int32_t tmpSizeX = m_minSize.x; @@ -647,11 +571,6 @@ void ewol::Entry::UpdateTextPosition(void) } -/** - * @brief Event of the focus has been grep by the current widget - * @param --- - * @return --- - */ void ewol::Entry::OnGetFocus(void) { m_displayCursor = true; @@ -660,11 +579,6 @@ void ewol::Entry::OnGetFocus(void) } -/** - * @brief Event of the focus has been lost by the current widget - * @param --- - * @return --- - */ void ewol::Entry::OnLostFocus(void) { m_displayCursor = false; diff --git a/Sources/libewol/ewol/widget/Entry.h b/Sources/libewol/ewol/widget/Entry.h index c81ce310..a42be633 100644 --- a/Sources/libewol/ewol/widget/Entry.h +++ b/Sources/libewol/ewol/widget/Entry.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/Entry.h - * @brief ewol entry widget system (header) * @author Edouard DUPIN - * @date 07/11/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_ENTRY_H__ diff --git a/Sources/libewol/ewol/widget/Image.cpp b/Sources/libewol/ewol/widget/Image.cpp index 3baccbcd..db3ac67c 100644 --- a/Sources/libewol/ewol/widget/Image.cpp +++ b/Sources/libewol/ewol/widget/Image.cpp @@ -1,29 +1,12 @@ /** - ******************************************************************************* - * @file ewol/widget/Image.cpp - * @brief ewol Image widget system (Sources) * @author Edouard DUPIN - * @date 12/05/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include - #include #include @@ -31,12 +14,6 @@ extern const char * const ewolEventImagePressed = "ewol-image-Pressed"; -/** - * @brief Initilise the basic widget property ==> due to the android system - * @note all widget that have template might have this initializer ... - * @param --- - * @return --- - */ void ewol::WIDGET_ImageInit(void) { @@ -144,15 +121,6 @@ void ewol::Image::OnRegenerateDisplay(void) } } -/** - * @brief Event on an input of this Widget - * @param[in] type Type of the input (ewol::INPUT_TYPE_MOUSE/ewol::INPUT_TYPE_FINGER ...) - * @param[in] IdInput Id of the current Input (PC : left=1, right=2, middle=3, none=0 / Tactil : first finger=1 , second=2 (only on this widget, no knowledge at ouside finger)) - * @param[in] typeEvent ewol type of event like EVENT_INPUT_TYPE_DOWN/EVENT_INPUT_TYPE_MOVE/EVENT_INPUT_TYPE_UP/EVENT_INPUT_TYPE_SINGLE/EVENT_INPUT_TYPE_DOUBLE/... - * @param[in] pos Absolute position of the event - * @return true the event is used - * @return false the event is not used - */ bool ewol::Image::OnEventInput(ewol::inputType_te type, int32_t IdInput, eventInputType_te typeEvent, etk::Vector2D pos) { //EWOL_DEBUG("Event on BT ..."); diff --git a/Sources/libewol/ewol/widget/Image.h b/Sources/libewol/ewol/widget/Image.h index ce0bc917..ef3f72d7 100644 --- a/Sources/libewol/ewol/widget/Image.h +++ b/Sources/libewol/ewol/widget/Image.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/Image.h - * @brief ewol Image widget system (header) * @author Edouard DUPIN - * @date 12/05/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_IMAGE_H__ diff --git a/Sources/libewol/ewol/widget/Joystick.cpp b/Sources/libewol/ewol/widget/Joystick.cpp index 04df2cf7..6d5bfc80 100644 --- a/Sources/libewol/ewol/widget/Joystick.cpp +++ b/Sources/libewol/ewol/widget/Joystick.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/Joystick.cpp - * @brief ewol Joystick widget system (Sources) * @author Edouard DUPIN - * @date 30/03/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include @@ -37,12 +21,6 @@ static etk::UString l_background(""); static etk::UString l_foreground(""); static float l_ratio(1.0/7.0); -/** - * @brief Initilise the basic widget property ==> due to the android system - * @note all widget that have template might have this initializer ... - * @param --- - * @return --- - */ void ewol::WIDGET_JoystickInit(void) { l_displayBackground = true; @@ -51,11 +29,6 @@ void ewol::WIDGET_JoystickInit(void) l_ratio = 1.0/7.0; } -/** - * @brief Set the default ratio of the widget joystick - * @param[in] newRatio the new ratio that might be set - * @return --- - */ void ewol::WIDGET_JoystickDefaultRatio(float newRatio) { if (newRatio > 1) { @@ -65,11 +38,6 @@ void ewol::WIDGET_JoystickDefaultRatio(float newRatio) EWOL_INFO("Set default Joystick ratio at " << l_ratio); } -/** - * @brief Set the default Background of the widget joystick - * @param[in] imageNameInData the new rbackground that might be set - * @return --- - */ void ewol::WIDGET_JoystickDefaultBackground(etk::UString imageNameInData, bool display) { // TODO : check if it existed @@ -78,11 +46,6 @@ void ewol::WIDGET_JoystickDefaultBackground(etk::UString imageNameInData, bool d EWOL_INFO("Set default Joystick background at " << l_background << " Display it=" << l_displayBackground); } -/** - * @brief Set the default Foreground of the widget joystick - * @param[in] imageNameInData the new Foreground that might be set - * @return --- - */ void ewol::WIDGET_JoystickDefaultForeground(etk::UString imageNameInData) { // TODO : check if it existed @@ -128,13 +91,6 @@ ewol::Joystick::~Joystick(void) } -/** - * @brief Parrent set the possible diplay size of the current widget whith his own possibilities - * By default this save the widget availlable size in the widget size - * @param[in] availlableX Availlable horisantal pixel size - * @param[in] availlableY Availlable vertical pixel size - * @return --- - */ bool ewol::Joystick::CalculateSize(float availlableX, float availlableY) { float minimumSize = etk_min(availlableX, availlableY); @@ -196,16 +152,6 @@ Sine Function: sin(teta) = Opposite / Hypotenuse Cosine Function: cos(teta) = Adjacent / Hypotenuse Tangent Function: tan(teta) = Opposite / Adjacent */ - -/** - * @brief Event on an input of this Widget - * @param[in] type Type of the input (ewol::INPUT_TYPE_MOUSE/ewol::INPUT_TYPE_FINGER ...) - * @param[in] IdInput Id of the current Input (PC : left=1, right=2, middle=3, none=0 / Tactil : first finger=1 , second=2 (only on this widget, no knowledge at ouside finger)) - * @param[in] typeEvent ewol type of event like EVENT_INPUT_TYPE_DOWN/EVENT_INPUT_TYPE_MOVE/EVENT_INPUT_TYPE_UP/EVENT_INPUT_TYPE_SINGLE/EVENT_INPUT_TYPE_DOUBLE/... - * @param[in] pos Absolute position of the event - * @return true the event is used - * @return false the event is not used - */ bool ewol::Joystick::OnEventInput(ewol::inputType_te type, int32_t IdInput, eventInputType_te typeEvent, etk::Vector2D pos) { if (1 == IdInput) { @@ -264,11 +210,6 @@ bool ewol::Joystick::OnEventInput(ewol::inputType_te type, int32_t IdInput, even } -/** - * @brief Set the ratio of the widget joystick - * @param[in] newRatio the new ratio that might be set - * @return --- - */ void ewol::Joystick::Ratio(float newRatio) { if (newRatio > 1) { @@ -278,11 +219,7 @@ void ewol::Joystick::Ratio(float newRatio) EWOL_INFO("Set default Joystick ratio at " << m_ratio); } -/** - * @brief Set the Background of the widget joystick - * @param[in] imageNameInData the new rbackground that might be set - * @return --- - */ + void ewol::Joystick::Background(etk::UString imageNameInData, bool display) { // TODO : check if it existed @@ -291,11 +228,7 @@ void ewol::Joystick::Background(etk::UString imageNameInData, bool display) EWOL_INFO("Set default Joystick background at " << m_background << " Display it=" << m_displayBackground); } -/** - * @brief Set the Foreground of the widget joystick - * @param[in] imageNameInData the new Foreground that might be set - * @return --- - */ + void ewol::Joystick::Foreground(etk::UString imageNameInData) { // TODO : check if it existed @@ -304,12 +237,6 @@ void ewol::Joystick::Foreground(etk::UString imageNameInData) } -/** - * @brief Get the property of the joystick - * @param[out] distance distance to the center - * @param[out] angle angle of the joy - * @return --- - */ void ewol::Joystick::GetProperty(float& distance, float& angle) { distance = m_distance; diff --git a/Sources/libewol/ewol/widget/Joystick.h b/Sources/libewol/ewol/widget/Joystick.h index daa01de3..4b66e2be 100644 --- a/Sources/libewol/ewol/widget/Joystick.h +++ b/Sources/libewol/ewol/widget/Joystick.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/Joystick.h - * @brief ewol Joystick widget system (header) * @author Edouard DUPIN - * @date 30/03/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_JOYSTICK_H__ diff --git a/Sources/libewol/ewol/widget/Label.cpp b/Sources/libewol/ewol/widget/Label.cpp index 7396c6a4..21162632 100644 --- a/Sources/libewol/ewol/widget/Label.cpp +++ b/Sources/libewol/ewol/widget/Label.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/Label.cpp - * @brief ewol Label widget system (Sources) * @author Edouard DUPIN - * @date 22/12/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include @@ -112,15 +96,6 @@ void ewol::Label::OnRegenerateDisplay(void) } } -/** - * @brief Event on an input of this Widget - * @param[in] type Type of the input (ewol::INPUT_TYPE_MOUSE/ewol::INPUT_TYPE_FINGER ...) - * @param[in] IdInput Id of the current Input (PC : left=1, right=2, middle=3, none=0 / Tactil : first finger=1 , second=2 (only on this widget, no knowledge at ouside finger)) - * @param[in] typeEvent ewol type of event like EVENT_INPUT_TYPE_DOWN/EVENT_INPUT_TYPE_MOVE/EVENT_INPUT_TYPE_UP/EVENT_INPUT_TYPE_SINGLE/EVENT_INPUT_TYPE_DOUBLE/... - * @param[in] pos Absolute position of the event - * @return true the event is used - * @return false the event is not used - */ bool ewol::Label::OnEventInput(ewol::inputType_te type, int32_t IdInput, eventInputType_te typeEvent, etk::Vector2D pos) { //EWOL_DEBUG("Event on Label ..."); diff --git a/Sources/libewol/ewol/widget/Label.h b/Sources/libewol/ewol/widget/Label.h index 2c642f52..726f4a93 100644 --- a/Sources/libewol/ewol/widget/Label.h +++ b/Sources/libewol/ewol/widget/Label.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/Label.h - * @brief ewol Label widget system (header) * @author Edouard DUPIN - * @date 22/12/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_LABEL_H__ diff --git a/Sources/libewol/ewol/widget/Layer.cpp b/Sources/libewol/ewol/widget/Layer.cpp index 3391aac2..4a8d1ce1 100644 --- a/Sources/libewol/ewol/widget/Layer.cpp +++ b/Sources/libewol/ewol/widget/Layer.cpp @@ -1,28 +1,11 @@ /** - ******************************************************************************* - * @file ewol/widget/Layer.cpp - * @brief ewol layer widget system (Sources) * @author Edouard DUPIN - * @date 11/04/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - #include #include @@ -191,12 +174,6 @@ void ewol::Layer::OnRegenerateDisplay(void) } -/** - * @brief Get the widget at the specific windows absolute position - * @param[in] pos gAbsolute position of the requested widget knowledge - * @return NULL No widget found - * @return pointer on the widget found - */ ewol::Widget * ewol::Layer::GetWidgetAtPos(etk::Vector2D pos) { // for all element in the sizer ... @@ -219,13 +196,6 @@ ewol::Widget * ewol::Layer::GetWidgetAtPos(etk::Vector2D pos) } - -/** - * @brief Inform object that an other object is removed ... - * @param[in] removeObject Pointer on the EObject remeved ==> the user must remove all reference on this EObject - * @note : Sub classes must call this class - * @return --- - */ void ewol::Layer::OnObjectRemove(ewol::EObject * removeObject) { // First step call parrent : diff --git a/Sources/libewol/ewol/widget/Layer.h b/Sources/libewol/ewol/widget/Layer.h index ae3d8536..d76e100d 100644 --- a/Sources/libewol/ewol/widget/Layer.h +++ b/Sources/libewol/ewol/widget/Layer.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/Layer.h - * @brief ewol layer widget system (Header) * @author Edouard DUPIN - * @date 11/04/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_LAYER_H__ diff --git a/Sources/libewol/ewol/widget/List.cpp b/Sources/libewol/ewol/widget/List.cpp index e20a65cd..0b8df149 100644 --- a/Sources/libewol/ewol/widget/List.cpp +++ b/Sources/libewol/ewol/widget/List.cpp @@ -1,28 +1,11 @@ /** - ******************************************************************************* - * @file ewol/widget/List.cpp - * @brief ewol list widget system (Sources) * @author Edouard DUPIN - * @date 27/12/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - #include #include @@ -217,15 +200,6 @@ void ewol::List::OnRegenerateDisplay(void) } } -/** - * @brief Event on an input of this Widget - * @param[in] type Type of the input (ewol::INPUT_TYPE_MOUSE/ewol::INPUT_TYPE_FINGER ...) - * @param[in] IdInput Id of the current Input (PC : left=1, right=2, middle=3, none=0 / Tactil : first finger=1 , second=2 (only on this widget, no knowledge at ouside finger)) - * @param[in] typeEvent ewol type of event like EVENT_INPUT_TYPE_DOWN/EVENT_INPUT_TYPE_MOVE/EVENT_INPUT_TYPE_UP/EVENT_INPUT_TYPE_SINGLE/EVENT_INPUT_TYPE_DOUBLE/... - * @param[in] pos Absolute position of the event - * @return true the event is used - * @return false the event is not used - */ bool ewol::List::OnEventInput(ewol::inputType_te type, int32_t IdInput, eventInputType_te typeEvent, etk::Vector2D pos) { etk::Vector2D relativePos = RelativePosition(pos); diff --git a/Sources/libewol/ewol/widget/List.h b/Sources/libewol/ewol/widget/List.h index 0f605c43..c9112b0b 100644 --- a/Sources/libewol/ewol/widget/List.h +++ b/Sources/libewol/ewol/widget/List.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/List.h - * @brief ewol list widget system (header) * @author Edouard DUPIN - * @date 27/12/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_LIST_H__ diff --git a/Sources/libewol/ewol/widget/ListFileSystem.cpp b/Sources/libewol/ewol/widget/ListFileSystem.cpp index 43dba1e2..1ca2b1e9 100644 --- a/Sources/libewol/ewol/widget/ListFileSystem.cpp +++ b/Sources/libewol/ewol/widget/ListFileSystem.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/ListFile.cpp - * @brief ewol File lister widget system (Sources) * @author Edouard DUPIN - * @date 12/07/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libewol/ewol/widget/ListFileSystem.h b/Sources/libewol/ewol/widget/ListFileSystem.h index 673bcea7..0fc2b70c 100644 --- a/Sources/libewol/ewol/widget/ListFileSystem.h +++ b/Sources/libewol/ewol/widget/ListFileSystem.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/ListFile.h - * @brief ewol File lister widget system (header) * @author Edouard DUPIN - * @date 12/07/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_LIST_FILE_H__ diff --git a/Sources/libewol/ewol/widget/Menu.cpp b/Sources/libewol/ewol/widget/Menu.cpp index e1a108d1..b418e507 100644 --- a/Sources/libewol/ewol/widget/Menu.cpp +++ b/Sources/libewol/ewol/widget/Menu.cpp @@ -1,29 +1,11 @@ /** - ******************************************************************************* - * @file ewol/widget/Menu.cpp - * @brief ewol Menu widget system (Sources) * @author Edouard DUPIN - * @date 16/02/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - - #include #include #include @@ -123,13 +105,6 @@ void ewol::Menu::AddSpacer(void) } -/** - * @brief Receive a message from an other EObject with a specific eventId and data - * @param[in] CallerObject Pointer on the EObject that information came from - * @param[in] eventId Message registered by this class - * @param[in] data Data registered by this class - * @return --- - */ void ewol::Menu::OnReceiveMessage(ewol::EObject * CallerObject, const char * eventId, etk::UString data) { /* @@ -219,12 +194,7 @@ void ewol::Menu::OnReceiveMessage(ewol::EObject * CallerObject, const char * eve } } -/** - * @brief Inform object that an other object is removed ... - * @param[in] removeObject Pointer on the EObject remeved ==> the user must remove all reference on this EObject - * @note : Sub classes must call this class - * @return --- - */ + void ewol::Menu::OnObjectRemove(ewol::EObject * removeObject) { ewol::SizerHori::OnObjectRemove(removeObject); diff --git a/Sources/libewol/ewol/widget/Menu.h b/Sources/libewol/ewol/widget/Menu.h index f76a1fd4..67c9ec39 100644 --- a/Sources/libewol/ewol/widget/Menu.h +++ b/Sources/libewol/ewol/widget/Menu.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/Menu.h - * @brief ewol Menu widget system (header) * @author Edouard DUPIN - * @date 16/02/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_MENU_H__ diff --git a/Sources/libewol/ewol/widget/PopUp.cpp b/Sources/libewol/ewol/widget/PopUp.cpp index 8ead68cb..3ffc1582 100644 --- a/Sources/libewol/ewol/widget/PopUp.cpp +++ b/Sources/libewol/ewol/widget/PopUp.cpp @@ -1,29 +1,11 @@ /** - ******************************************************************************* - * @file ewol/widget/PopUp.cpp - * @brief ewol pop-up widget system (Sources) * @author Edouard DUPIN - * @date 29/12/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - - #include #include @@ -182,12 +164,6 @@ void ewol::PopUp::OnRegenerateDisplay(void) } -/** - * @brief Get the widget at the specific windows absolute position - * @param[in] pos gAbsolute position of the requested widget knowledge - * @return NULL No widget found - * @return pointer on the widget found - */ ewol::Widget * ewol::PopUp::GetWidgetAtPos(etk::Vector2D pos) { // calculate relative position @@ -216,12 +192,6 @@ void ewol::PopUp::SetDisplayRatio(float ratio) } -/** - * @brief Inform object that an other object is removed ... - * @param[in] removeObject Pointer on the EObject remeved ==> the user must remove all reference on this EObject - * @note : Sub classes must call this class - * @return --- - */ void ewol::PopUp::OnObjectRemove(ewol::EObject * removeObject) { // First step call parrent : diff --git a/Sources/libewol/ewol/widget/PopUp.h b/Sources/libewol/ewol/widget/PopUp.h index 0b6d6abb..1154246b 100644 --- a/Sources/libewol/ewol/widget/PopUp.h +++ b/Sources/libewol/ewol/widget/PopUp.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/PopUp.h - * @brief ewol pop-up widget system (header) * @author Edouard DUPIN - * @date 29/12/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_POP_UP_H__ diff --git a/Sources/libewol/ewol/widget/ProgressBar.cpp b/Sources/libewol/ewol/widget/ProgressBar.cpp index 12328981..75aff72e 100644 --- a/Sources/libewol/ewol/widget/ProgressBar.cpp +++ b/Sources/libewol/ewol/widget/ProgressBar.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/ProgressBar.cpp - * @brief ewol progress bar widget system (Sources) * @author Edouard DUPIN - * @date 14/04/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libewol/ewol/widget/ProgressBar.h b/Sources/libewol/ewol/widget/ProgressBar.h index 1def92c0..1b8c60cb 100644 --- a/Sources/libewol/ewol/widget/ProgressBar.h +++ b/Sources/libewol/ewol/widget/ProgressBar.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/ProgressBar.h - * @brief ewol Progress bar widget system (header) * @author Edouard DUPIN - * @date 14/04/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_PROGRESS_BAR_H__ diff --git a/Sources/libewol/ewol/widget/Scene.cpp b/Sources/libewol/ewol/widget/Scene.cpp index 0bb35a02..669e4b66 100644 --- a/Sources/libewol/ewol/widget/Scene.cpp +++ b/Sources/libewol/ewol/widget/Scene.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/Scene.cpp - * @brief ewol Scene widget system (Sources) * @author Edouard DUPIN - * @date 01/04/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include @@ -103,12 +87,6 @@ void ewol::Scene::OnDraw(DrawProperty& displayProp) } - -/** - * @brief Periodic call of this widget - * @param localTime curent system time - * @return --- - */ void ewol::Scene::PeriodicCall(int64_t localTime) { // First time : @@ -146,13 +124,7 @@ void ewol::Scene::PeriodicCall(int64_t localTime) MarkToRedraw(); } -/** - * @brief extern interface to request a draw ... (called by the drawing thread [Android, X11, ...]) - * This function generate a clipping with the viewport openGL system. Like this a widget draw can not draw over an other widget - * @note This function is virtual for the scrolled widget, and the more complicated OpenGl widget - * @param --- - * @return --- - */ + void ewol::Scene::GenDraw(DrawProperty displayProp) { @@ -186,11 +158,7 @@ void ewol::Scene::GenDraw(DrawProperty displayProp) ewol::openGL::Pop(); } -/** - * @brief Convert the absolute position in the local Position (Relative) - * @param[in] pos Absolute position that you request convertion - * @return the relative position - */ + etk::Vector2D ewol::Scene::RelativePosition(etk::Vector2D pos) { // Remove origin of the widget diff --git a/Sources/libewol/ewol/widget/Scene.h b/Sources/libewol/ewol/widget/Scene.h index 4a0463d6..0f91e910 100644 --- a/Sources/libewol/ewol/widget/Scene.h +++ b/Sources/libewol/ewol/widget/Scene.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/Scene.h - * @brief ewol Scene widget system (header) * @author Edouard DUPIN - * @date 01/04/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_SCENE_H__ diff --git a/Sources/libewol/ewol/widget/SizerHori.cpp b/Sources/libewol/ewol/widget/SizerHori.cpp index 8b5824f6..8612a569 100644 --- a/Sources/libewol/ewol/widget/SizerHori.cpp +++ b/Sources/libewol/ewol/widget/SizerHori.cpp @@ -1,29 +1,11 @@ /** - ******************************************************************************* - * @file ewol/widget/SizerHori.cpp - * @brief ewol horisantal sizer widget system (Sources) * @author Edouard DUPIN - * @date 07/11/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - - #include #include @@ -233,12 +215,6 @@ void ewol::SizerHori::OnRegenerateDisplay(void) } -/** - * @brief Get the widget at the specific windows absolute position - * @param[in] pos gAbsolute position of the requested widget knowledge - * @return NULL No widget found - * @return pointer on the widget found - */ ewol::Widget * ewol::SizerHori::GetWidgetAtPos(etk::Vector2D pos) { if (true == IsHide()) { @@ -267,12 +243,6 @@ ewol::Widget * ewol::SizerHori::GetWidgetAtPos(etk::Vector2D pos) } -/** - * @brief Inform object that an other object is removed ... - * @param[in] removeObject Pointer on the EObject remeved ==> the user must remove all reference on this EObject - * @note : Sub classes must call this class - * @return --- - */ void ewol::SizerHori::OnObjectRemove(ewol::EObject * removeObject) { // First step call parrent : diff --git a/Sources/libewol/ewol/widget/SizerHori.h b/Sources/libewol/ewol/widget/SizerHori.h index 008e7f42..ce662ee8 100644 --- a/Sources/libewol/ewol/widget/SizerHori.h +++ b/Sources/libewol/ewol/widget/SizerHori.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/SizerHori.h - * @brief ewol horisantal sizer widget system (header) * @author Edouard DUPIN - * @date 07/11/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_SIZER_HORI_H__ diff --git a/Sources/libewol/ewol/widget/SizerVert.cpp b/Sources/libewol/ewol/widget/SizerVert.cpp index 8b684b9e..728c622a 100644 --- a/Sources/libewol/ewol/widget/SizerVert.cpp +++ b/Sources/libewol/ewol/widget/SizerVert.cpp @@ -1,28 +1,11 @@ /** - ******************************************************************************* - * @file ewol/widget/SizerVert.cpp - * @brief ewol vertical sizer widget system (Sources) * @author Edouard DUPIN - * @date 07/11/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - #include #include @@ -233,12 +216,6 @@ void ewol::SizerVert::OnRegenerateDisplay(void) } -/** - * @brief Get the widget at the specific windows absolute position - * @param[in] pos gAbsolute position of the requested widget knowledge - * @return NULL No widget found - * @return pointer on the widget found - */ ewol::Widget * ewol::SizerVert::GetWidgetAtPos(etk::Vector2D pos) { if (true == IsHide()) { @@ -267,12 +244,6 @@ ewol::Widget * ewol::SizerVert::GetWidgetAtPos(etk::Vector2D pos) } -/** - * @brief Inform object that an other object is removed ... - * @param[in] removeObject Pointer on the EObject remeved ==> the user must remove all reference on this EObject - * @note : Sub classes must call this class - * @return --- - */ void ewol::SizerVert::OnObjectRemove(ewol::EObject * removeObject) { // First step call parrent : diff --git a/Sources/libewol/ewol/widget/SizerVert.h b/Sources/libewol/ewol/widget/SizerVert.h index 361974c8..66d11121 100644 --- a/Sources/libewol/ewol/widget/SizerVert.h +++ b/Sources/libewol/ewol/widget/SizerVert.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/SizerVert.h - * @brief ewol vertical sizer widget system (header) * @author Edouard DUPIN - * @date 07/11/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_SIZER_VERT_H__ diff --git a/Sources/libewol/ewol/widget/Slider.cpp b/Sources/libewol/ewol/widget/Slider.cpp index d7351e2b..1a39bfe3 100644 --- a/Sources/libewol/ewol/widget/Slider.cpp +++ b/Sources/libewol/ewol/widget/Slider.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/Slider.cpp - * @brief ewol Slider widget system (Sources) * @author Edouard DUPIN - * @date 06/03/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include @@ -120,15 +104,6 @@ void ewol::Slider::OnRegenerateDisplay(void) } -/** - * @brief Event on an input of this Widget - * @param[in] type Type of the input (ewol::INPUT_TYPE_MOUSE/ewol::INPUT_TYPE_FINGER ...) - * @param[in] IdInput Id of the current Input (PC : left=1, right=2, middle=3, none=0 / Tactil : first finger=1 , second=2 (only on this widget, no knowledge at ouside finger)) - * @param[in] typeEvent ewol type of event like EVENT_INPUT_TYPE_DOWN/EVENT_INPUT_TYPE_MOVE/EVENT_INPUT_TYPE_UP/EVENT_INPUT_TYPE_SINGLE/EVENT_INPUT_TYPE_DOUBLE/... - * @param[in] pos Absolute position of the event - * @return true the event is used - * @return false the event is not used - */ bool ewol::Slider::OnEventInput(ewol::inputType_te type, int32_t IdInput, eventInputType_te typeEvent, etk::Vector2D pos) { etk::Vector2D relativePos = RelativePosition(pos); diff --git a/Sources/libewol/ewol/widget/Slider.h b/Sources/libewol/ewol/widget/Slider.h index 94798364..64fe5628 100644 --- a/Sources/libewol/ewol/widget/Slider.h +++ b/Sources/libewol/ewol/widget/Slider.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/Slider.h - * @brief ewol Slider widget system (header) * @author Edouard DUPIN - * @date 06/03/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_SLIDER_H__ diff --git a/Sources/libewol/ewol/widget/Spacer.cpp b/Sources/libewol/ewol/widget/Spacer.cpp index 3f3377f4..693344e6 100644 --- a/Sources/libewol/ewol/widget/Spacer.cpp +++ b/Sources/libewol/ewol/widget/Spacer.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/Spacer.cpp - * @brief ewol Spacer widget system (Sources) * @author Edouard DUPIN - * @date 29/12/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libewol/ewol/widget/Spacer.h b/Sources/libewol/ewol/widget/Spacer.h index 93e10db8..284ca8cd 100644 --- a/Sources/libewol/ewol/widget/Spacer.h +++ b/Sources/libewol/ewol/widget/Spacer.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/Spacer.h - * @brief ewol Spacer widget system (header) * @author Edouard DUPIN - * @date 29/12/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_SPACER_H__ diff --git a/Sources/libewol/ewol/widget/WSlider.cpp b/Sources/libewol/ewol/widget/WSlider.cpp index a449fca6..47a6e1b9 100644 --- a/Sources/libewol/ewol/widget/WSlider.cpp +++ b/Sources/libewol/ewol/widget/WSlider.cpp @@ -1,28 +1,11 @@ /** - ******************************************************************************* - * @file ewol/widget/WSlider.cpp - * @brief ewol widget slider widget system (Sources) * @author Edouard DUPIN - * @date 05/06/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ - #include #include #include @@ -207,11 +190,7 @@ void ewol::WSlider::SubWidgetSelectSet(int32_t id) MarkToRedraw(); } -/** - * @brief Periodic call of this widget - * @param localTime curent system time - * @return --- - */ + void ewol::WSlider::PeriodicCall(int64_t localTime) { if (m_slidingProgress >= 1000) { @@ -260,7 +239,6 @@ void ewol::WSlider::OnDraw(DrawProperty& displayProp) } - void ewol::WSlider::OnRegenerateDisplay(void) { if (m_windowsDestination == m_windowsSources) { @@ -290,12 +268,6 @@ void ewol::WSlider::OnRegenerateDisplay(void) } -/** - * @brief Get the widget at the specific windows absolute position - * @param[in] pos gAbsolute position of the requested widget knowledge - * @return NULL No widget found - * @return pointer on the widget found - */ ewol::Widget * ewol::WSlider::GetWidgetAtPos(etk::Vector2D pos) { // TODO : Review this ... @@ -322,12 +294,6 @@ ewol::Widget * ewol::WSlider::GetWidgetAtPos(etk::Vector2D pos) } -/** - * @brief Inform object that an other object is removed ... - * @param[in] removeObject Pointer on the EObject remeved ==> the user must remove all reference on this EObject - * @note : Sub classes must call this class - * @return --- - */ void ewol::WSlider::OnObjectRemove(ewol::EObject * removeObject) { // First step call parrent : diff --git a/Sources/libewol/ewol/widget/WSlider.h b/Sources/libewol/ewol/widget/WSlider.h index 351248cf..970910d9 100644 --- a/Sources/libewol/ewol/widget/WSlider.h +++ b/Sources/libewol/ewol/widget/WSlider.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/WSlider.h - * @brief ewol widget slider widget system (Header) * @author Edouard DUPIN - * @date 05/06/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_W_SLIDER_H__ diff --git a/Sources/libewol/ewol/widget/Widget.cpp b/Sources/libewol/ewol/widget/Widget.cpp index 636d36d3..f3ebebbc 100644 --- a/Sources/libewol/ewol/widget/Widget.cpp +++ b/Sources/libewol/ewol/widget/Widget.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/Widget.cpp - * @brief basic ewol Widget (Sources) * @author Edouard DUPIN - * @date 18/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include @@ -76,11 +60,6 @@ char* ewol::GetCharTypeMoveEvent(eventKbMoveType_te type) #undef __class__ #define __class__ "Widget" -/** - * @brief Constructor of the widget classes - * @param --- - * @return (no execption generated (not managed in embended platform)) - */ ewol::Widget::Widget(void) { m_limitMouseEvent = 3; @@ -105,11 +84,6 @@ ewol::Widget::Widget(void) } -/** - * @brief Destructor of the widget classes - * @param --- - * @return (no execption generated (not managed in embended platform)) - */ ewol::Widget::~Widget(void) { // Remove his own focus... @@ -120,11 +94,6 @@ ewol::Widget::~Widget(void) } -/** - * @brief Set the widget hidden - * @param --- - * @return --- - */ void ewol::Widget::Hide(void) { m_hide = true; @@ -133,11 +102,6 @@ void ewol::Widget::Hide(void) } -/** - * @brief Set the widget visible - * @param --- - * @return --- - */ void ewol::Widget::Show(void) { m_hide = false; @@ -146,13 +110,6 @@ void ewol::Widget::Show(void) } -/** - * @brief Parrent set the possible diplay size of the current widget whith his own possibilities - * By default this save the widget availlable size in the widget size - * @param[in] availlableX Availlable horisantal pixel size - * @param[in] availlableY Availlable vertical pixel size - * @return --- - */ bool ewol::Widget::CalculateSize(float availlableX, float availlableY) { m_size.x = availlableX; @@ -162,11 +119,6 @@ bool ewol::Widget::CalculateSize(float availlableX, float availlableY) } -/** - * @brief Set focus on this widget - * @param --- - * @return return true if the widget keep the focus - */ bool ewol::Widget::SetFocus(void) { if (true == m_canFocus) { @@ -178,11 +130,6 @@ bool ewol::Widget::SetFocus(void) } -/** - * @brief Remove the focus on this widget - * @param --- - * @return return true if the widget have release his focus (if he has it) - */ bool ewol::Widget::RmFocus(void) { if (true == m_canFocus) { @@ -194,11 +141,6 @@ bool ewol::Widget::RmFocus(void) } -/** - * @brief Set the capability to have the focus - * @param[in] canFocusState new focus capability - * @return --- - */ void ewol::Widget::SetCanHaveFocus(bool canFocusState) { m_canFocus = canFocusState; @@ -207,23 +149,13 @@ void ewol::Widget::SetCanHaveFocus(bool canFocusState) } } -/** - * @brief Keep the focus on this widget ==> this remove the previous focus on all other widget - * @param --- - * @return --- - */ + void ewol::Widget::KeepFocus(void) { ewol::widgetManager::FocusKeep(this); } -/** - * @brief extern interface to request a draw ... (called by the drawing thread [Android, X11, ...]) - * This function generate a clipping with the viewport openGL system. Like this a widget draw can not draw over an other widget - * @note This function is virtual for the scrolled widget, and the more complicated OpenGl widget - * @param[in] displayProp properties of the current display - * @return --- - */ + void ewol::Widget::GenDraw(DrawProperty displayProp) { if (true==m_hide){ @@ -284,11 +216,7 @@ void ewol::Widget::GenDraw(DrawProperty displayProp) return; } -/** - * @brief Request that the current widegt have a periodic call - * @param statusToSet true if the periodic call is needed - * @return --- - */ + void ewol::Widget::PeriodicCallSet(bool statusToSet) { if (true == statusToSet) { @@ -298,11 +226,7 @@ void ewol::Widget::PeriodicCallSet(bool statusToSet) } } -/** - * @brief The widget mark itself that it need to regenerate the nest time. - * @param --- - * @return --- - */ + void ewol::Widget::MarkToRedraw(void) { m_needRegenerateDisplay = true; @@ -315,13 +239,6 @@ void ewol::Widget::MarkToRedraw(void) // -- Shortcut : management of the shortcut // ---------------------------------------------------------------------------------------------------------------- -/** - * @brief Add a specific shortcut with his description - * @param[in] descriptiveString Description string of the shortcut - * @param[in] generateEventId Event generic of the element - * @param[in] data Associate data wit the event - * @return --- - */ void ewol::Widget::ShortCutAdd(const char * descriptiveString, const char * generateEventId, etk::UString data, bool broadcast) { if( NULL==descriptiveString @@ -418,11 +335,7 @@ void ewol::Widget::ShortCutAdd(const char * descriptiveString, const char * gene m_localShortcut.PushBack(tmpElement); } -/** - * @brief Remove all curent shortCut - * @param --- - * @return --- - */ + void ewol::Widget::ShortCutClean(void) { for (int32_t iii=0; iii like this it could not generate some ununderstanding error - */ bool ewol::Widget::OnEventShortCut(ewol::specialKey_ts& special, uniChar_t unicodeValue, ewol::eventKbMoveType_te kbMove, bool isDown) { if (unicodeValue >= 'A' && unicodeValue <='Z') { @@ -477,3 +381,5 @@ bool ewol::Widget::OnEventShortCut(ewol::specialKey_ts& special, uniChar_t unico } return false; } + + diff --git a/Sources/libewol/ewol/widget/Widget.h b/Sources/libewol/ewol/widget/Widget.h index 452613c5..f33f7ddb 100644 --- a/Sources/libewol/ewol/widget/Widget.h +++ b/Sources/libewol/ewol/widget/Widget.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/Widget.h - * @brief basic ewol Widget (header) * @author Edouard DUPIN - * @date 18/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_WIDGET_H__ diff --git a/Sources/libewol/ewol/widget/WidgetManager.cpp b/Sources/libewol/ewol/widget/WidgetManager.cpp index 8d4c024a..cf8284ef 100644 --- a/Sources/libewol/ewol/widget/WidgetManager.cpp +++ b/Sources/libewol/ewol/widget/WidgetManager.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/WidgetManager.cpp - * @brief basic ewol Widget Manager (Sources) * @author Edouard DUPIN - * @date 13/11/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libewol/ewol/widget/WidgetManager.h b/Sources/libewol/ewol/widget/WidgetManager.h index 00096001..f04141f4 100644 --- a/Sources/libewol/ewol/widget/WidgetManager.h +++ b/Sources/libewol/ewol/widget/WidgetManager.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/WidgetManager.h - * @brief basic ewol Widget Manager (Header) * @author Edouard DUPIN - * @date 13/11/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_WIDGET_MANAGER_H__ diff --git a/Sources/libewol/ewol/widget/WidgetScrolled.cpp b/Sources/libewol/ewol/widget/WidgetScrolled.cpp index 934c985d..04224284 100644 --- a/Sources/libewol/ewol/widget/WidgetScrolled.cpp +++ b/Sources/libewol/ewol/widget/WidgetScrolled.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/WidgetScrolled.cpp - * @brief ewol Scrooled widget system (Sources) * @author Edouard DUPIN - * @date 06/02/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include @@ -89,15 +73,6 @@ void ewol::WidgetScrooled::OnRegenerateDisplay(void) } -/** - * @brief Event on an input of this Widget - * @param[in] type Type of the input (ewol::INPUT_TYPE_MOUSE/ewol::INPUT_TYPE_FINGER ...) - * @param[in] IdInput Id of the current Input (PC : left=1, right=2, middle=3, none=0 / Tactil : first finger=1 , second=2 (only on this widget, no knowledge at ouside finger)) - * @param[in] typeEvent ewol type of event like EVENT_INPUT_TYPE_DOWN/EVENT_INPUT_TYPE_MOVE/EVENT_INPUT_TYPE_UP/EVENT_INPUT_TYPE_SINGLE/EVENT_INPUT_TYPE_DOUBLE/... - * @param[in] pos Absolute position of the event - * @return true the event is used - * @return false the event is not used - */ bool ewol::WidgetScrooled::OnEventInput(ewol::inputType_te type, int32_t IdInput, ewol::eventInputType_te typeEvent, etk::Vector2D pos) { etk::Vector2D relativePos = RelativePosition(pos); @@ -355,13 +330,7 @@ void ewol::WidgetScrooled::OnDraw(DrawProperty& displayProp) } } -/** - * @brief extern interface to request a draw ... (called by the drawing thread [Android, X11, ...]) - * This function generate a clipping with the viewport openGL system. Like this a widget draw can not draw over an other widget - * @note This function is virtual for the scrolled widget, and the more complicated OpenGl widget - * @param --- - * @return --- - */ + void ewol::WidgetScrooled::GenDraw(DrawProperty displayProp) { ewol::openGL::Push(); @@ -400,13 +369,6 @@ void ewol::WidgetScrooled::GenDraw(DrawProperty displayProp) } -/** - * @brief Request a specific position for the scrolling of the current windows. - * @param[in] borderWidth Size of the border that requested the element might not to be - * @param[in] currentPosition Position that is requested to view - * @param[in] center True if the position might be at the center of the widget - * @return --- - */ void ewol::WidgetScrooled::SetScrollingPositionDynamic(etk::Vector2D borderWidth, etk::Vector2D currentPosition, bool center) { if (true == center) { @@ -432,12 +394,6 @@ void ewol::WidgetScrooled::SetScrollingPositionDynamic(etk::Vector2D bord } - -/** - * @brief Specify the mode of scrolling for this windows - * @param[in] newMode the selected mode for the scrolling... - * @return --- - */ void ewol::WidgetScrooled::ScroolingMode(scrollingMode_te newMode) { m_scroollingMode = newMode; diff --git a/Sources/libewol/ewol/widget/WidgetScrolled.h b/Sources/libewol/ewol/widget/WidgetScrolled.h index 01e99aa5..321afdd1 100644 --- a/Sources/libewol/ewol/widget/WidgetScrolled.h +++ b/Sources/libewol/ewol/widget/WidgetScrolled.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/WidgetScrolled.h - * @brief ewol Scrooled widget system (header) * @author Edouard DUPIN - * @date 06/02/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_SCROLLED_WIDGET_H__ diff --git a/Sources/libewol/ewol/widget/Windows.cpp b/Sources/libewol/ewol/widget/Windows.cpp index 94afb9dc..0c79d906 100644 --- a/Sources/libewol/ewol/widget/Windows.cpp +++ b/Sources/libewol/ewol/widget/Windows.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/Windows.cpp - * @brief ewol window system (sources) * @author Edouard DUPIN - * @date 20/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include @@ -90,12 +74,7 @@ bool ewol::Windows::CalculateSize(float availlableX, float availlableY) return true; } -/** - * @brief Get the widget at the specific windows absolute position - * @param[in] pos gAbsolute position of the requested widget knowledge - * @return NULL No widget found - * @return pointer on the widget found - */ + ewol::Widget * ewol::Windows::GetWidgetAtPos(etk::Vector2D pos) { // calculate relative position @@ -200,12 +179,7 @@ void ewol::Windows::PopUpWidgetPush(ewol::Widget * widget) eSystem::ResetIOEvent(); } -/** - * @brief Inform object that an other object is removed ... - * @param[in] removeObject Pointer on the EObject remeved ==> the user must remove all reference on this EObject - * @note : Sub classes must call this class - * @return --- - */ + void ewol::Windows::OnObjectRemove(ewol::EObject * removeObject) { // First step call parrent : diff --git a/Sources/libewol/ewol/widget/Windows.h b/Sources/libewol/ewol/widget/Windows.h index 9765db7c..da2092b5 100644 --- a/Sources/libewol/ewol/widget/Windows.h +++ b/Sources/libewol/ewol/widget/Windows.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/Windows.h - * @brief ewol window system (header) * @author Edouard DUPIN - * @date 20/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_WINDOWS_H__ diff --git a/Sources/libewol/ewol/widget/meta/ColorChooser.cpp b/Sources/libewol/ewol/widget/meta/ColorChooser.cpp index 16ce0011..f4853a94 100644 --- a/Sources/libewol/ewol/widget/meta/ColorChooser.cpp +++ b/Sources/libewol/ewol/widget/meta/ColorChooser.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/meta/ColorChooser.cpp - * @brief ewol Color chooser meta widget system (Sources) * @author Edouard DUPIN - * @date 05/03/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include @@ -146,13 +130,6 @@ draw::Color ewol::ColorChooser::GetColor(void) } -/** - * @brief Receive a message from an other EObject with a specific eventId and data - * @param[in] CallerObject Pointer on the EObject that information came from - * @param[in] eventId Message registered by this class - * @param[in] data Data registered by this class - * @return --- - */ void ewol::ColorChooser::OnReceiveMessage(ewol::EObject * CallerObject, const char * eventId, etk::UString data) { if (NULL == CallerObject) { @@ -204,12 +181,6 @@ void ewol::ColorChooser::OnReceiveMessage(ewol::EObject * CallerObject, const ch }; -/** - * @brief Inform object that an other object is removed ... - * @param[in] removeObject Pointer on the EObject remeved ==> the user must remove all reference on this EObject - * @note : Sub classes must call this class - * @return --- - */ void ewol::ColorChooser::OnObjectRemove(ewol::EObject * removeObject) { // First step call parrent : diff --git a/Sources/libewol/ewol/widget/meta/ColorChooser.h b/Sources/libewol/ewol/widget/meta/ColorChooser.h index b0deb84b..0a27ea93 100644 --- a/Sources/libewol/ewol/widget/meta/ColorChooser.h +++ b/Sources/libewol/ewol/widget/meta/ColorChooser.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/meta/ColorChooser.h - * @brief ewol Color chooser meta widget system (header) * @author Edouard DUPIN - * @date 05/03/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_COLOR_CHOOSER_H__ diff --git a/Sources/libewol/ewol/widget/meta/FileChooser.h b/Sources/libewol/ewol/widget/meta/FileChooser.h index b3b97931..3e8ef637 100644 --- a/Sources/libewol/ewol/widget/meta/FileChooser.h +++ b/Sources/libewol/ewol/widget/meta/FileChooser.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/meta/FileChooser.h - * @brief ewol File chooser meta widget system (header) * @author Edouard DUPIN - * @date 29/12/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_FILE_CHOOSER_H__ diff --git a/Sources/libewol/ewol/widget/meta/Parameter.cpp b/Sources/libewol/ewol/widget/meta/Parameter.cpp index 13d68680..cdd88026 100644 --- a/Sources/libewol/ewol/widget/meta/Parameter.cpp +++ b/Sources/libewol/ewol/widget/meta/Parameter.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/meta/FileChooser.cpp - * @brief ewol File chooser meta widget system (Sources) * @author Edouard DUPIN - * @date 29/12/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include @@ -184,13 +168,6 @@ void ewol::Parameter::SetTitle(etk::UString label) } -/** - * @brief Receive a message from an other EObject with a specific eventId and data - * @param[in] CallerObject Pointer on the EObject that information came from - * @param[in] eventId Message registered by this class - * @param[in] data Data registered by this class - * @return --- - */ void ewol::Parameter::OnReceiveMessage(ewol::EObject * CallerObject, const char * eventId, etk::UString data) { ewol::PopUp::OnReceiveMessage(CallerObject, eventId, data); @@ -213,12 +190,6 @@ void ewol::Parameter::OnReceiveMessage(ewol::EObject * CallerObject, const char }; -/** - * @brief Inform object that an other object is removed ... - * @param[in] removeObject Pointer on the EObject remeved ==> the user must remove all reference on this EObject - * @note : Sub classes must call this class - * @return --- - */ void ewol::Parameter::OnObjectRemove(ewol::EObject * removeObject) { // First step call parrent : diff --git a/Sources/libewol/ewol/widget/meta/Parameter.h b/Sources/libewol/ewol/widget/meta/Parameter.h index 4a2eed85..e80174f9 100644 --- a/Sources/libewol/ewol/widget/meta/Parameter.h +++ b/Sources/libewol/ewol/widget/meta/Parameter.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/meta/FileChooser.h - * @brief ewol File chooser meta widget system (header) * @author Edouard DUPIN - * @date 29/12/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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_WIDGET_PARAMETER_H__ diff --git a/Sources/libewol/ewol/widget/meta/ParameterList.cpp b/Sources/libewol/ewol/widget/meta/ParameterList.cpp index a3064964..a4198038 100644 --- a/Sources/libewol/ewol/widget/meta/ParameterList.cpp +++ b/Sources/libewol/ewol/widget/meta/ParameterList.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/ListFile.cpp - * @brief ewol File lister widget system (Sources) * @author Edouard DUPIN - * @date 12/07/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include @@ -204,15 +188,7 @@ void ewol::ParameterList::OnRegenerateDisplay(void) } } -/** - * @brief Event on an input of this Widget - * @param[in] type Type of the input (ewol::INPUT_TYPE_MOUSE/ewol::INPUT_TYPE_FINGER ...) - * @param[in] IdInput Id of the current Input (PC : left=1, right=2, middle=3, none=0 / Tactil : first finger=1 , second=2 (only on this widget, no knowledge at ouside finger)) - * @param[in] typeEvent ewol type of event like EVENT_INPUT_TYPE_DOWN/EVENT_INPUT_TYPE_MOVE/EVENT_INPUT_TYPE_UP/EVENT_INPUT_TYPE_SINGLE/EVENT_INPUT_TYPE_DOUBLE/... - * @param[in] pos Absolute position of the event - * @return true the event is used - * @return false the event is not used - */ + bool ewol::ParameterList::OnEventInput(ewol::inputType_te type, int32_t IdInput, eventInputType_te typeEvent, etk::Vector2D pos) { if (true == WidgetScrooled::OnEventInput(type, IdInput, typeEvent, pos)) { @@ -270,6 +246,8 @@ void ewol::ParameterList::MenuAdd(etk::UString& label, int32_t refId, etk::UStri MarkToRedraw(); } } + + void ewol::ParameterList::MenuAddGroup(etk::UString& label) { etk::UString image = ""; @@ -293,6 +271,7 @@ void ewol::ParameterList::MenuClear(void) m_list.Clear(); } + void ewol::ParameterList::MenuSeparator(void) { if (m_list.Size()>0) { diff --git a/Sources/libewol/ewol/widget/meta/ParameterList.h b/Sources/libewol/ewol/widget/meta/ParameterList.h index 9943a948..3bd2ae0b 100644 --- a/Sources/libewol/ewol/widget/meta/ParameterList.h +++ b/Sources/libewol/ewol/widget/meta/ParameterList.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/ListFile.h - * @brief ewol File lister widget system (header) * @author Edouard DUPIN - * @date 12/07/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_WIDGET_PARAMETER_LIST_H__ diff --git a/Sources/libewol/ewol/widget/meta/StdPopUp.cpp b/Sources/libewol/ewol/widget/meta/StdPopUp.cpp index 7279a5d8..16a26a16 100644 --- a/Sources/libewol/ewol/widget/meta/StdPopUp.cpp +++ b/Sources/libewol/ewol/widget/meta/StdPopUp.cpp @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/meta/StdPopUP.cpp - * @brief ewol standard pop-up widget system (Sources) * @author Edouard DUPIN - * @date 01/01/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #include diff --git a/Sources/libewol/ewol/widget/meta/StdPopUp.h b/Sources/libewol/ewol/widget/meta/StdPopUp.h index d5d40bde..ea0f21da 100644 --- a/Sources/libewol/ewol/widget/meta/StdPopUp.h +++ b/Sources/libewol/ewol/widget/meta/StdPopUp.h @@ -1,25 +1,9 @@ /** - ******************************************************************************* - * @file ewol/widget/meta/StdPopUP.ch - * @brief ewol standard pop-up widget system (Header) * @author Edouard DUPIN - * @date 01/01/2012 - * @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. - * - ******************************************************************************* + * + * @copyright 2011, Edouard DUPIN, all right reserved + * + * @license BSD v3 (see license file) */ #ifndef __EWOL_STD_POP_UP_H__