forked from Kolyah35/minecraft-pe-0.6.1
28 lines
741 B
C++
Executable File
28 lines
741 B
C++
Executable File
#ifndef NET_MINECRAFT_CLIENT_GUI_COMPONENTS__OptionsItem_H__
|
|
#define NET_MINECRAFT_CLIENT_GUI_COMPONENTS__OptionsItem_H__
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include "GuiElementContainer.h"
|
|
#include "../../../world/item/ItemInstance.h"
|
|
#include "../../../client/Options.h"
|
|
class Font;
|
|
class Textures;
|
|
class NinePatchLayer;
|
|
class ItemPane;
|
|
|
|
class OptionsItem: public GuiElementContainer
|
|
{
|
|
typedef GuiElementContainer super;
|
|
public:
|
|
OptionsItem(OptionId optionId, std::string label, GuiElement* element);
|
|
virtual void render(Minecraft* minecraft, int xm, int ym);
|
|
void setupPositions();
|
|
|
|
private:
|
|
OptionId m_optionId;
|
|
std::string m_label;
|
|
};
|
|
|
|
#endif /*NET_MINECRAFT_CLIENT_GUI_COMPONENTS__OptionsItem_H__*/
|