mirror of https://github.com/davatorium/rofi.git
[Widget::Icon] Fix doxygen documentation in header file.
This commit is contained in:
parent
75811fd5a5
commit
c856c1a8ab
|
@ -1,12 +1,33 @@
|
||||||
#ifndef ROFI_INCLUDE_CSS_COLORS_H
|
#ifndef ROFI_INCLUDE_CSS_COLORS_H
|
||||||
#define ROFI_INCLUDE_CSS_COLORS_H
|
#define ROFI_INCLUDE_CSS_COLORS_H
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @defgroup CSSCOLORS CssColors
|
||||||
|
* @ingroup HELPERS
|
||||||
|
*
|
||||||
|
* Lookup table for CSS 4.0 named colors. Like `Navo`.
|
||||||
|
*
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Structure of colors.
|
||||||
|
*/
|
||||||
typedef struct CSSColor
|
typedef struct CSSColor
|
||||||
{
|
{
|
||||||
|
/** CSS name of the color. */
|
||||||
char *name;
|
char *name;
|
||||||
|
/** BGRA 8 bit color components. */
|
||||||
uint8_t b, g, r, a;
|
uint8_t b, g, r, a;
|
||||||
}CSSColor;
|
}CSSColor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Array with all the named colors. Of type #CSSColor, there are #num_CSSColors items in this array.
|
||||||
|
*/
|
||||||
extern const CSSColor CSSColors[];
|
extern const CSSColor CSSColors[];
|
||||||
|
/**
|
||||||
|
* Number of named colors.
|
||||||
|
*/
|
||||||
extern const unsigned int num_CSSColors;
|
extern const unsigned int num_CSSColors;
|
||||||
|
/* @} */
|
||||||
#endif // ROFI_INCLUDE_CSS_COLORS_H
|
#endif // ROFI_INCLUDE_CSS_COLORS_H
|
||||||
|
|
|
@ -58,6 +58,10 @@ icon * icon_create ( widget *parent, const char *name );
|
||||||
*/
|
*/
|
||||||
void icon_set_size ( widget *icon, const int size );
|
void icon_set_size ( widget *icon, const int size );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param icon The icon widget handle.
|
||||||
|
* @param surf The surface to display.
|
||||||
|
*/
|
||||||
void icon_set_surface ( icon *icon, cairo_surface_t *surf );
|
void icon_set_surface ( icon *icon, cairo_surface_t *surf );
|
||||||
/*@}*/
|
/*@}*/
|
||||||
#endif // ROFI_ICON_H
|
#endif // ROFI_ICON_H
|
||||||
|
|
|
@ -32,6 +32,10 @@
|
||||||
#include "helper.h"
|
#include "helper.h"
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
|
|
||||||
|
#include "xcb.h"
|
||||||
|
#include "keyb.h"
|
||||||
|
#include "view.h"
|
||||||
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
// Context for icon-themes.
|
// Context for icon-themes.
|
||||||
|
@ -124,7 +128,6 @@ void rofi_icon_fetcher_destroy ( void )
|
||||||
|
|
||||||
g_free ( rofi_icon_fetcher_data );
|
g_free ( rofi_icon_fetcher_data );
|
||||||
}
|
}
|
||||||
void rofi_view_reload ();
|
|
||||||
static void rofi_icon_fetcher_worker ( thread_state *sdata, G_GNUC_UNUSED gpointer user_data )
|
static void rofi_icon_fetcher_worker ( thread_state *sdata, G_GNUC_UNUSED gpointer user_data )
|
||||||
{
|
{
|
||||||
g_debug ( "starting up icon fetching thread." );
|
g_debug ( "starting up icon fetching thread." );
|
||||||
|
|
Loading…
Reference in New Issue