This commit is contained in:
MihailRis 2025-11-14 20:56:11 +03:00
parent 95721a6864
commit 5f76e72748
18 changed files with 44 additions and 44 deletions

View file

@ -5,7 +5,7 @@
namespace gui {
class Label;
class InputBindBox : public Panel {
class InputBindBox final : public Panel {
protected:
Binding& binding;
glm::vec4 focusedColor {0.1f, 0.15f, 0.35f, 0.75f};
@ -15,13 +15,13 @@ namespace gui {
GUI& gui, Binding& binding, glm::vec4 padding = glm::vec4(6.0f)
);
virtual void drawBackground(
void drawBackground(
const DrawContext& pctx, const Assets& assets
) override;
virtual void clicked(Mousecode button) override;
virtual void keyPressed(Keycode key) override;
virtual bool isFocuskeeper() const override {
void clicked(Mousecode button) override;
void keyPressed(Keycode key) override;
bool isFocuskeeper() const override {
return true;
}
};