|
rofi
1.5.4
|
#include "rofi-icon-fetcher.h"#include "rofi-types.h"#include "helper.h"#include "settings.h"#include "xcb.h"#include "keyb.h"#include "view.h"#include "nkutils-xdg-theme.h"Go to the source code of this file.
Data Structures | |
| struct | IconFetcher |
| struct | IconFetcherNameEntry |
| struct | IconFetcherEntry |
Macros | |
| #define | G_LOG_DOMAIN "Helpers.IconFetcher" |
Functions | |
| static void | rofi_icon_fetch_entry_free (gpointer data) |
| void | rofi_icon_fetcher_init (void) |
| void | rofi_icon_fetcher_destroy (void) |
| static void | rofi_icon_fetcher_worker (thread_state *sdata, G_GNUC_UNUSED gpointer user_data) |
| uint32_t | rofi_icon_fetcher_query (const char *name, const int size) |
| cairo_surface_t * | rofi_icon_fetcher_get (const uint32_t uid) |
Variables | |
| IconFetcher * | rofi_icon_fetcher_data = NULL |
| #define G_LOG_DOMAIN "Helpers.IconFetcher" |
The log domain of this Helper.
Definition at line 29 of file rofi-icon-fetcher.c.
|
static |
Definition at line 81 of file rofi-icon-fetcher.c.
References IconFetcherNameEntry::name, IconFetcherNameEntry::sizes, and IconFetcherEntry::surface.
Referenced by rofi_icon_fetcher_init().
|
static |
Definition at line 132 of file rofi-icon-fetcher.c.
References cairo_image_surface_create_from_svg(), config, IconFetcherEntry::entry, Settings::icon_theme, IconFetcherNameEntry::name, rofi_icon_fetcher_data, rofi_view_reload(), IconFetcherEntry::size, IconFetcherEntry::surface, and IconFetcher::xdg_context.
Referenced by rofi_icon_fetcher_query().
| IconFetcher* rofi_icon_fetcher_data = NULL |
The icon fetcher internal state.
Definition at line 79 of file rofi-icon-fetcher.c.
Referenced by rofi_icon_fetcher_destroy(), rofi_icon_fetcher_get(), rofi_icon_fetcher_init(), rofi_icon_fetcher_query(), and rofi_icon_fetcher_worker().