Move extract icon into its own method

This commit is contained in:
Rio Sanjaya
2025-12-24 08:43:03 +07:00
parent c0b9635e28
commit b8da9ee94c
2 changed files with 23 additions and 16 deletions
+1
View File
@@ -14,6 +14,7 @@ class AIconLabel : public ALabel {
bool enable_click = false, bool enable_scroll = false);
virtual ~AIconLabel() = default;
auto update() -> void override;
static std::tuple<std::string, std::string> extractIcon(const std::string& input);
protected:
Gtk::Image image_;