summaryrefslogtreecommitdiffhomepage
path: root/editor/tile-editor.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-18 23:42:07 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-18 23:42:07 +0100
commit4d9a82b720c8ce74b94f43f72ddd819ef21abbdf (patch)
treec0a5d21b8e19fbb60c286faec8e302e6f32b6679 /editor/tile-editor.hpp
parent32b8c22828315292857e2cd9909fba620f30ff70 (diff)
pre-declare integer types without cstddef/cstdint
Diffstat (limited to 'editor/tile-editor.hpp')
-rw-r--r--editor/tile-editor.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/tile-editor.hpp b/editor/tile-editor.hpp
index 5f2b00d6..321b75c6 100644
--- a/editor/tile-editor.hpp
+++ b/editor/tile-editor.hpp
@@ -48,9 +48,9 @@ public:
editor_wall_rotation rotation() const noexcept { return _rotation; }
void clear_selection();
- void select_tile(const std::shared_ptr<tile_atlas>& atlas, std::size_t variant);
+ void select_tile(const std::shared_ptr<tile_atlas>& atlas, size_t variant);
void select_tile_permutation(const std::shared_ptr<tile_atlas>& atlas);
- bool is_tile_selected(const std::shared_ptr<const tile_atlas>& atlas, std::size_t variant) const;
+ bool is_tile_selected(const std::shared_ptr<const tile_atlas>& atlas, size_t variant) const;
bool is_permutation_selected(const std::shared_ptr<const tile_atlas>& atlas) const;
bool is_atlas_selected(const std::shared_ptr<const tile_atlas>& atlas) const;
bool is_anything_selected() const;