mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-04-05 15:03:31 +00:00
Trying to replace pointers with references :v
This commit is contained in:
@@ -8,22 +8,22 @@
|
||||
#include "client/Options.hpp"
|
||||
|
||||
class Font;
|
||||
class Minecraft;
|
||||
class MinecraftClient;
|
||||
|
||||
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);
|
||||
virtual void render(MinecraftClient& minecraft, int xm, int ym);
|
||||
OptionsGroup& addOptionItem(OptionId optId, MinecraftClient& 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);
|
||||
void createToggle(OptionId optId, MinecraftClient& minecraft);
|
||||
void createProgressSlider(OptionId optId, MinecraftClient& minecraft);
|
||||
void createStepSlider(OptionId optId, MinecraftClient& minecraft);
|
||||
void createTextbox(OptionId optId, MinecraftClient& minecraft);
|
||||
void createKey(OptionId optId, MinecraftClient& minecraft);
|
||||
|
||||
std::string label;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user