mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-04 19:36:43 +03:00
21 lines
502 B
C++
21 lines
502 B
C++
#pragma once
|
|
|
|
#include "ScrolledSelectionList.hpp"
|
|
#include "PingedCompatibleServer.hpp"
|
|
|
|
class AvailableGamesList : public ScrolledSelectionList
|
|
{
|
|
public:
|
|
AvailableGamesList(Minecraft*, int, int, int, int, int);
|
|
int getNumberOfItems() override;
|
|
bool isSelectedItem(int i) override;
|
|
void renderBackground() override;
|
|
void renderItem(int, int, int, int, Tesselator& t) override;
|
|
void selectItem(int, bool) override;
|
|
|
|
public:
|
|
int m_selectedIndex;
|
|
std::vector<PingedCompatibleServer> m_games;
|
|
};
|
|
|