aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/classes/GFXSpriteTexture.hpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-02-24 14:17:07 +0100
committer hop311 <hop3114@gmail.com>2024-02-24 14:17:07 +0100
commit843edde55306e3fbdb5e37ef9b7c09c7b53f50c4 (patch)
tree487fea19d42106c08b60f5bba99bc76485073002 /extension/src/openvic-extension/classes/GFXSpriteTexture.hpp
parent5d7c6eafe35e2c6e952bc0b3f91d27d760c8e75e (diff)
Added GUIScrollbar and GFXCorneredTileSupportingTexturescrollbar
Diffstat (limited to 'extension/src/openvic-extension/classes/GFXSpriteTexture.hpp')
-rw-r--r--extension/src/openvic-extension/classes/GFXSpriteTexture.hpp8
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;
};
}