rofi 1.7.5
|
#include "widgets/icon.h"
#include "theme.h"
#include "widgets/widget-internal.h"
#include "widgets/widget.h"
#include <stdio.h>
#include "rofi-icon-fetcher.h"
Go to the source code of this file.
Data Structures | |
struct | _icon |
Macros | |
#define | G_LOG_DOMAIN "Widgets.Icon" |
Functions | |
static int | icon_get_desired_height (widget *widget, G_GNUC_UNUSED const int width) |
static int | icon_get_desired_width (widget *widget, G_GNUC_UNUSED const int height) |
static void | icon_draw (widget *wid, cairo_t *draw) |
static void | icon_free (widget *wid) |
static void | icon_resize (widget *widget, short w, short h) |
void | icon_set_surface (icon *icon, cairo_surface_t *surf) |
icon * | icon_create (widget *parent, const char *name) |
#define G_LOG_DOMAIN "Widgets.Icon" |
|
static |
Definition at line 88 of file icon.c.
References _widget::h, _icon::icon, _icon::icon_fetch_id, rofi_icon_fetcher_get(), _icon::size, _widget::w, WIDGET, _icon::widget, widget_padding_get_bottom(), widget_padding_get_left(), widget_padding_get_right(), widget_padding_get_top(), _icon::xalign, and _icon::yalign.
Referenced by icon_create().
|
static |
Definition at line 121 of file icon.c.
References _icon::icon.
Referenced by icon_create().
|
static |
Definition at line 55 of file icon.c.
References _icon::icon, _icon::size, _icon::squared, and widget_padding_get_padding_height().
Referenced by icon_create().
|
static |
Definition at line 71 of file icon.c.
References _icon::icon, _icon::size, _icon::squared, and widget_padding_get_padding_width().
Referenced by icon_create().
|
static |
Definition at line 131 of file icon.c.
References _widget::h, _widget::w, _icon::widget, and widget_update().
Referenced by icon_create().