AppPlatform Fixes

This commit is contained in:
TheBrokenRail
2023-11-03 17:10:05 -04:00
committed by iProgramInCpp
parent 2356757730
commit 06c69d3cc8
18 changed files with 202 additions and 135 deletions

View File

@@ -23,6 +23,7 @@ class TextInputBox : public GuiComponent
{
public:
TextInputBox(Screen*, int id, int x, int y, int width = 200, int height = 12, const std::string& placeholder = "", const std::string& text = "");
~TextInputBox();
void init(Font* pFont);
void setEnabled(bool bEnabled);
@@ -30,8 +31,8 @@ public:
void charPressed(int chr);
void render();
void tick();
void setFocused(Minecraft*, bool b);
void onClick(Minecraft*, int x, int y);
void setFocused(bool b);
void onClick(int x, int y);
bool clicked(int x, int y);
public: