mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-12 00:28:55 +00:00
chore: format Minecraft.Client
This commit is contained in:
@@ -3,20 +3,23 @@
|
||||
#include "../GameState/Options.h"
|
||||
class Minecraft;
|
||||
|
||||
class SlideButton : public Button
|
||||
{
|
||||
class SlideButton : public Button {
|
||||
public:
|
||||
float value;
|
||||
float value;
|
||||
bool sliding;
|
||||
|
||||
private:
|
||||
const Options::Option *option;
|
||||
const Options::Option* option;
|
||||
|
||||
public:
|
||||
SlideButton(int id, int x, int y, const Options::Option *option, const std::wstring& msg, float value);
|
||||
SlideButton(int id, int x, int y, const Options::Option* option,
|
||||
const std::wstring& msg, float value);
|
||||
|
||||
protected:
|
||||
virtual int getYImage(bool hovered);
|
||||
virtual void renderBg(Minecraft *minecraft, int xm, int ym);
|
||||
virtual int getYImage(bool hovered);
|
||||
virtual void renderBg(Minecraft* minecraft, int xm, int ym);
|
||||
|
||||
public:
|
||||
virtual bool clicked(Minecraft *minecraft, int mx, int my);
|
||||
virtual bool clicked(Minecraft* minecraft, int mx, int my);
|
||||
virtual void released(int mx, int my);
|
||||
};
|
||||
Reference in New Issue
Block a user