mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-03-19 22:43:32 +00:00
33 lines
1021 B
C++
Executable File
33 lines
1021 B
C++
Executable File
#ifndef NET_MINECRAFT_CLIENT_GUI_COMPONENTS__OptionsGroup_H__
|
|
#define NET_MINECRAFT_CLIENT_GUI_COMPONENTS__OptionsGroup_H__
|
|
|
|
//package net.minecraft.client.gui;
|
|
|
|
#include <string>
|
|
#include "GuiElementContainer.h"
|
|
#include "ScrollingPane.h"
|
|
#include "../../Options.h"
|
|
|
|
class Font;
|
|
class Minecraft;
|
|
|
|
class OptionsGroup: public GuiElementContainer {
|
|
typedef GuiElementContainer super;
|
|
public:
|
|
OptionsGroup(std::string labelID);
|
|
virtual void setupPositions();
|
|
virtual void render(Minecraft* minecraft, int xm, int ym);
|
|
OptionsGroup& addOptionItem(OptionId optId, Minecraft* minecraft);
|
|
protected:
|
|
|
|
void createToggle(OptionId optId, Minecraft* minecraft);
|
|
void createProgressSlider(OptionId optId, Minecraft* minecraft);
|
|
void createStepSlider(OptionId optId, Minecraft* minecraft);
|
|
void createTextbox(OptionId optId, Minecraft* minecraft);
|
|
void createKey(OptionId optId, Minecraft* minecraft);
|
|
|
|
std::string label;
|
|
};
|
|
|
|
#endif /*NET_MINECRAFT_CLIENT_GUI_COMPONENTS__OptionsGroup_H__*/
|