14 void onRemove(
size_t index)
final override;
16 LVITEMW makeItem(std::wstring_view text,
const std::filesystem::path& pathToIcon,
size_t index);
20 std::unordered_map<size_t, size_t> textData;
25 virtual LRESULT
addTextIconItem(std::wstring_view text,
const std::filesystem::path& pathToIcon);
27 virtual LRESULT
addTextIconItem(std::string_view localizationKey,
const std::filesystem::path& pathToIcon);
29 virtual LRESULT
insertTextIconItem(std::wstring_view text,
const std::filesystem::path& pathToIcon,
size_t index);
31 virtual LRESULT
insertTextIconItem(std::string_view localizationKey,
const std::filesystem::path& pathToIcon,
size_t index);
33 virtual LRESULT
changeTextIconItem(std::wstring_view text,
const std::filesystem::path& pathToIcon,
size_t index);
35 virtual LRESULT
changeTextIconItem(std::string_view localizationKey,
const std::filesystem::path& pathToIcon,
size_t index);
40 virtual std::tuple<std::wstring, uint16_t, std::filesystem::path> getTextIconItem(
size_t index)
const;
Provides adding text and icon items for list views.
virtual LRESULT addTextIconItem(std::wstring_view text, const std::filesystem::path &pathToIcon)
virtual LRESULT changeTextIconItem(std::wstring_view text, const std::filesystem::path &pathToIcon, size_t index)
virtual LRESULT insertTextIconItem(std::string_view localizationKey, const std::filesystem::path &pathToIcon, size_t index)
virtual LRESULT addTextIconItem(std::string_view localizationKey, const std::filesystem::path &pathToIcon)
virtual ~ITextIconListView()=default
virtual LRESULT insertTextIconItem(std::wstring_view text, const std::filesystem::path &pathToIcon, size_t index)
virtual LRESULT changeTextIconItem(std::string_view localizationKey, const std::filesystem::path &pathToIcon, size_t index)