aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls/IconButton.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/controls/IconButton.h')
-rw-r--r--include/cru/ui/controls/IconButton.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/cru/ui/controls/IconButton.h b/include/cru/ui/controls/IconButton.h
index 632450e2..9dbb3a3d 100644
--- a/include/cru/ui/controls/IconButton.h
+++ b/include/cru/ui/controls/IconButton.h
@@ -21,7 +21,7 @@ class CRU_UI_API IconButton : public NoChildControl,
public:
IconButton();
- IconButton(StringView icon_svg_path_data_string, const Rect& view_port);
+ IconButton(std::string_view icon_svg_path_data_string, const Rect& view_port);
~IconButton() override;
String GetControlType() const final { return kControlType.ToString(); }
@@ -84,10 +84,10 @@ class CRU_UI_API IconButton : public NoChildControl,
}
void SetIconFillColor(const Color& color);
- void SetIconWithSvgPathDataString(StringView icon_svg_path_data_string,
+ void SetIconWithSvgPathDataString(std::string_view icon_svg_path_data_string,
const Rect& view_port);
void SetIconWithSvgPathDataStringResourceKey(
- StringView icon_svg_path_data_string_resource_key, const Rect& view_port);
+ std::string_view icon_svg_path_data_string_resource_key, const Rect& view_port);
std::shared_ptr<platform::graphics::IBrush> GetContentBrush() const override {
return GetIconFillBrush();