mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-04-05 15:03:31 +00:00
31 lines
962 B
C++
31 lines
962 B
C++
#ifndef ITEMPANE_H__
|
|
#define ITEMPANE_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 OptionButton;
|
|
class Button;
|
|
class OptionsGroup;
|
|
class Slider;
|
|
class Minecraft;
|
|
class OptionsPane: public GuiElementContainer
|
|
{
|
|
typedef GuiElementContainer super;
|
|
public:
|
|
OptionsPane();
|
|
OptionsGroup& createOptionsGroup( std::string label );
|
|
void createToggle( unsigned int group, std::string label, OptionId option );
|
|
void createProgressSlider(Minecraft* minecraft, unsigned int group, std::string label, OptionId option, float progressMin=1.0f, float progressMax=1.0f );
|
|
void createStepSlider(Minecraft* minecraft, unsigned int group, std::string label, OptionId option, const std::vector<int>& stepVec );
|
|
void setupPositions();
|
|
};
|
|
|
|
#endif /*ITEMPANE_H__*/
|