mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 12:31:51 +00:00
cleanup
This commit is contained in:
parent
95721a6864
commit
5f76e72748
18 changed files with 44 additions and 44 deletions
|
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue