Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
icon-loader.h File Reference

Icon Loader. More...

Go to the source code of this file.

Classes

struct  Inkscape::UI::GetShapeIconResult
 A pair containing an icon name & a CSS class to set an RGBA color. More...
 

Namespaces

namespace  Gtk
 
namespace  Inkscape
 Helper class to stream background task notifications as a series of messages.
 
namespace  Inkscape::UI
 User interface code.
 

Functions

Gtk::Image * sp_get_icon_image (Glib::ustring const &icon_name, int size)
 
Gtk::Image * sp_get_icon_image (Glib::ustring const &icon_name, Gtk::IconSize icon_size)
 
GtkWidget * sp_get_icon_image (Glib::ustring const &icon_name, GtkIconSize icon_size)
 
GetShapeIconResult Inkscape::UI::get_shape_icon (Glib::ustring const &shape_type, std::uint32_t const rgba_color)
 Get the shape icon for this named shape type.
 
Gtk::Image * Inkscape::UI::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.
 

Detailed Description

Icon Loader.

Definition in file icon-loader.h.

Function Documentation

◆ sp_get_icon_image() [1/3]

Gtk::Image * sp_get_icon_image ( Glib::ustring const &  icon_name,
Gtk::IconSize  icon_size 
)

Definition at line 36 of file icon-loader.cpp.

◆ sp_get_icon_image() [2/3]

GtkWidget * sp_get_icon_image ( Glib::ustring const &  icon_name,
GtkIconSize  icon_size 
)

Definition at line 44 of file icon-loader.cpp.

◆ sp_get_icon_image() [3/3]