diff --git a/Sources/libetk/etk/os/FSNode.cpp b/Sources/libetk/etk/os/FSNode.cpp index d7481963..5203f58b 100644 --- a/Sources/libetk/etk/os/FSNode.cpp +++ b/Sources/libetk/etk/os/FSNode.cpp @@ -352,11 +352,9 @@ static etk::UString SimplifyPathAbstractPath(etk::UString input) } -static void SortElementList(etk::Vector &list) +void etk::FSNode::SortElementList(etk::Vector &list) { - // TODO : ... - /* - etk::Vector tmpList = list; + etk::Vector tmpList = list; list.Clear(); for(int32_t iii=0; iii &list) for(int32_t jjj=0; jjjm_name > list[jjj]->m_name) { + if (tmpList[iii]->GetNameFile() > list[jjj]->GetNameFile()) { findPos = jjj+1; } } @@ -373,7 +371,6 @@ static void SortElementList(etk::Vector &list) list.Insert(findPos, tmpList[iii]); } } - */ } diff --git a/Sources/libetk/etk/os/FSNode.h b/Sources/libetk/etk/os/FSNode.h index 3bcd1070..98484084 100644 --- a/Sources/libetk/etk/os/FSNode.h +++ b/Sources/libetk/etk/os/FSNode.h @@ -217,7 +217,8 @@ namespace etk int32_t FileRead(void * data, int32_t blockSize, int32_t nbBlock); int32_t FileWrite(void * data, int32_t blockSize, int32_t nbBlock); bool FileSeek(long int offset, int origin); - + private: + void SortElementList(etk::Vector &list); }; etk::CCout& operator <<(etk::CCout &os, const etk::FSNode &obj); diff --git a/Sources/libewol/ewol/widget/Button.h b/Sources/libewol/ewol/widget/Button.h index f8f67240..b3c37323 100644 --- a/Sources/libewol/ewol/widget/Button.h +++ b/Sources/libewol/ewol/widget/Button.h @@ -82,17 +82,17 @@ namespace ewol { private: #ifdef __VIDEO__OPENGL_ES_2 // External theme config: - ewol::SimpleConfigFile* m_config; - int32_t m_confIdPaddingX; - int32_t m_confIdPaddingY; - int32_t m_confIdChangeTime; + ewol::SimpleConfigFile* m_config; + int32_t m_confIdPaddingX; + int32_t m_confIdPaddingY; + int32_t m_confIdChangeTime; // OpenGL shaders programs: - ewol::Program* m_GLprogram; - int32_t m_GLPosition; - int32_t m_GLMatrix; + ewol::Program* m_GLprogram; + int32_t m_GLPosition; + int32_t m_GLMatrix; // widget property - ewol::GLWidgetPosProperty m_GLwidgetProperty; // id of the uniform - ewol::WidgetPosProperty m_widgetProperty; // structure of this uniform + ewol::GLWidgetPosProperty m_GLwidgetProperty; // id of the uniform + ewol::WidgetPosProperty m_widgetProperty; // structure of this uniform // state property ewol::GLWidgetStateProperty m_GLstatus; ewol::WidgetStateProperty m_status;