slight cleanup of list.hpp
This commit is contained in:
parent
31aba367f2
commit
bb1490b163
@ -17,8 +17,7 @@
|
|||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LIST_HPP_
|
#pragma once
|
||||||
#define LIST_HPP_
|
|
||||||
|
|
||||||
#include <var.hpp>
|
#include <var.hpp>
|
||||||
|
|
||||||
@ -35,8 +34,8 @@ public:
|
|||||||
List();
|
List();
|
||||||
|
|
||||||
void Fill(ui::BaseVar*);
|
void Fill(ui::BaseVar*);
|
||||||
void Fill(const std::string vec);
|
void Fill(const std::string);
|
||||||
void Fill(const std::vector<ui::BaseVar*>& vec);
|
void Fill(const std::vector<ui::BaseVar*>&);
|
||||||
|
|
||||||
List* ForceGetSublist(std::string_view);
|
List* ForceGetSublist(std::string_view);
|
||||||
List* FindSublist(std::string_view);
|
List* FindSublist(std::string_view);
|
||||||
@ -45,7 +44,7 @@ public:
|
|||||||
void OpenSublist(List* sublist, int dy);
|
void OpenSublist(List* sublist, int dy);
|
||||||
bool ShouldClose();
|
bool ShouldClose();
|
||||||
|
|
||||||
static List* FromString(const std::string& string);
|
[[deprecated]] static List* FromString(const std::string& string);
|
||||||
|
|
||||||
// virtual IWidget* ChildByPoint(int x, int y) override;
|
// virtual IWidget* ChildByPoint(int x, int y) override;
|
||||||
inline virtual void SortByZIndex() override {};
|
inline virtual void SortByZIndex() override {};
|
||||||
@ -71,5 +70,3 @@ private:
|
|||||||
|
|
||||||
}
|
}
|
||||||
} // namespace menu::ncc
|
} // namespace menu::ncc
|
||||||
|
|
||||||
#endif /* LIST_HPP_ */
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user