From 4dee6004c3963edc1e5cac4237587673dee980ad Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Sat, 18 Aug 2018 08:47:49 +0200 Subject: [PATCH] [DEV] remove get title in the list ==> never used --- ewol/widget/List.hpp | 5 ----- ewol/widget/ListFileSystem.cpp | 5 ----- ewol/widget/ListFileSystem.hpp | 1 - 3 files changed, 11 deletions(-) diff --git a/ewol/widget/List.hpp b/ewol/widget/List.hpp index df8b5860..4d2b8988 100644 --- a/ewol/widget/List.hpp +++ b/ewol/widget/List.hpp @@ -63,10 +63,6 @@ namespace ewol { return etk::Color<>(0xFF, 0xFF, 0xFF, 0xFF); } - virtual bool getTitle(int32_t _colomn, etk::String& _myTitle, etk::Color<> &_fg, etk::Color<> &_bg) { - _myTitle = ""; - return false; - }; /** * @brief Get the number of colomn and row availlable in the list * @return Number of colomn and row @@ -102,7 +98,6 @@ namespace ewol { * @return The estimate size of the element. */ virtual void drawElement(const ivec2& _pos, const vec2& _start, const vec2& _size); - /** * @brief Draw the background */ diff --git a/ewol/widget/ListFileSystem.cpp b/ewol/widget/ListFileSystem.cpp index 336d20a1..158452d0 100644 --- a/ewol/widget/ListFileSystem.cpp +++ b/ewol/widget/ListFileSystem.cpp @@ -124,11 +124,6 @@ ivec2 ewol::widget::ListFileSystem::getMatrixSize() const { return ivec2(1, m_list.size() + offset); } -bool ewol::widget::ListFileSystem::getTitle(int32_t _colomn, etk::String &_myTitle, etk::Color<>& _fg, etk::Color<>& _bg) { - _myTitle = "title"; - return true; -} - fluorine::Variant ewol::widget::ListFileSystem::getData(int32_t _role, const ivec2& _pos) { switch (_role) { case ListRole::Text: diff --git a/ewol/widget/ListFileSystem.hpp b/ewol/widget/ListFileSystem.hpp index 26054e23..51ce1cb2 100644 --- a/ewol/widget/ListFileSystem.hpp +++ b/ewol/widget/ListFileSystem.hpp @@ -44,7 +44,6 @@ namespace ewol { int32_t m_colorIdBackgroundSelected; //!< Color of line selected. protected: etk::Color<> getBasicBG() override; - bool getTitle(int32_t _colomn, etk::String& _myTitle, etk::Color<>& _fg, etk::Color<>& _bg) override; ivec2 getMatrixSize() const override; fluorine::Variant getData(int32_t _role, const ivec2& _pos) override; bool onItemEvent(int32_t _IdInput, enum gale::key::status _typeEvent, const ivec2& _pos, const vec2& _mousePosition) override;