slight cleanup of list.hpp

This commit is contained in:
Rebekah 2022-04-12 14:59:47 -04:00
parent 31aba367f2
commit bb1490b163
Signed by: oneechanhax
GPG Key ID: 183EB7902964DAE5

View File

@ -17,8 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef LIST_HPP_
#define LIST_HPP_
#pragma once
#include <var.hpp>
@ -35,8 +34,8 @@ public:
List();
void Fill(ui::BaseVar*);
void Fill(const std::string vec);
void Fill(const std::vector<ui::BaseVar*>& vec);
void Fill(const std::string);
void Fill(const std::vector<ui::BaseVar*>&);
List* ForceGetSublist(std::string_view);
List* FindSublist(std::string_view);
@ -45,7 +44,7 @@ public:
void OpenSublist(List* sublist, int dy);
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;
inline virtual void SortByZIndex() override {};
@ -71,5 +70,3 @@ private:
}
} // namespace menu::ncc
#endif /* LIST_HPP_ */