/*
7 * Jabiertxo Arraiza <jabier.arraiza@marker.es>
9 * Copyright (C) 2018 Authors
10 * Released under GNU GPL v2+, read the file
'COPYING' for more information.
13#ifndef SEEN_INK_ICON_LOADER_H
14#define SEEN_INK_ICON_LOADER_H
18#include <glibmm/refptr.h>
19#include <glibmm/ustring.h>
20#include <gtkmm/enums.h>
28Gtk::Image *
sp_get_icon_image(Glib::ustring
const &icon_name, Gtk::IconSize icon_size);
29GtkWidget *
sp_get_icon_image(Glib::ustring
const &icon_name, GtkIconSize icon_size);
37 std::uint32_t rgba_color);
39[[nodiscard]] Gtk::Image *
get_shape_image(Glib::ustring
const &shape_type,
40 std::uint32_t rgba_color,
41 Gtk::IconSize icon_size = Gtk::IconSize::INHERIT);
Gtk::Image * sp_get_icon_image(Glib::ustring const &icon_name, int size)
Gtk::Image * get_shape_image(Glib::ustring const &shape_type, std::uint32_t const rgba_color, Gtk::IconSize const icon_size)
As get_shape_icon(), but returns a ready-made, managed Image having that icon name & CSS class.
GetShapeIconResult get_shape_icon(Glib::ustring const &shape_type, std::uint32_t const rgba_color)
Get the shape icon for this named shape type.
A pair containing an icon name & a CSS class to set an RGBA color.
Glib::ustring color_class