diff options
author | Hop311 <Hop3114@gmail.com> | 2024-02-24 23:07:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-24 23:07:24 +0100 |
commit | 9e305db5e5090a1a24979c480d64eebfe2de65da (patch) | |
tree | 487fea19d42106c08b60f5bba99bc76485073002 /extension/src/openvic-extension/classes/GFXSpriteTexture.hpp | |
parent | 5d7c6eafe35e2c6e952bc0b3f91d27d760c8e75e (diff) | |
parent | 843edde55306e3fbdb5e37ef9b7c09c7b53f50c4 (diff) |
Merge pull request #209 from OpenVicProject/scrollbar
Added GUIScrollbar and GFXCorneredTileSupportingTexture
Diffstat (limited to 'extension/src/openvic-extension/classes/GFXSpriteTexture.hpp')
-rw-r--r-- | extension/src/openvic-extension/classes/GFXSpriteTexture.hpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/extension/src/openvic-extension/classes/GFXSpriteTexture.hpp b/extension/src/openvic-extension/classes/GFXSpriteTexture.hpp index 783dfba..34ec405 100644 --- a/extension/src/openvic-extension/classes/GFXSpriteTexture.hpp +++ b/extension/src/openvic-extension/classes/GFXSpriteTexture.hpp @@ -13,13 +13,10 @@ namespace OpenVic { /* PROPERTY automatically defines getter functions: * - get_gfx_texture_sprite * - get_icon_index - * - get_icon_count - * - is_cornered_tile_texture */ + * - get_icon_count */ GFX::TextureSprite const* PROPERTY(gfx_texture_sprite); GFX::frame_t PROPERTY(icon_index); GFX::frame_t PROPERTY(icon_count); - bool PROPERTY_CUSTOM_PREFIX(cornered_tile_texture, is); - godot::Vector2i cornered_tile_border_size; protected: static void _bind_methods(); @@ -56,8 +53,5 @@ namespace OpenVic { * If zero is used but icon_count is non-zero, icon_index defaults to icon_count (the last frame, * not the first frame because it is often empty). */ godot::Error set_icon_index(GFX::frame_t new_icon_index); - - /* Equivalent to draw_rect, but draws a 9 patch texture if this is a cornered tile texture. */ - void draw_rect_cornered(godot::RID const& to_canvas_item, godot::Rect2 const& rect) const; }; } |