17 lines
396 B
C++
17 lines
396 B
C++
#pragma once
|
|
#include <gtkmm/icontheme.h>
|
|
|
|
#include <mutex>
|
|
#include <string>
|
|
|
|
class DefaultGtkIconThemeWrapper {
|
|
private:
|
|
static std::mutex default_theme_mutex;
|
|
|
|
public:
|
|
static bool has_icon(const std::string&);
|
|
static Glib::RefPtr<Gdk::Pixbuf> load_icon(
|
|
const char*, int, Gtk::IconLookupFlags,
|
|
Glib::RefPtr<Gtk::StyleContext> style = Glib::RefPtr<Gtk::StyleContext>());
|
|
};
|