#pragma once #include #include #include "openvic-extension/classes/GFXButtonStateTexture.hpp" #include "openvic-extension/classes/GUIHasTooltip.hpp" namespace OpenVic { class GUIButton : public godot::Button { GDCLASS(GUIButton, godot::Button) GUI_TOOLTIP_DEFINITIONS protected: static void _bind_methods(); void _notification(int what); godot::Error set_gfx_button_state_having_texture(godot::Ref const& texture); public: GUIButton(); godot::Error set_gfx_font(GFX::Font const* gfx_font); }; }