21 #ifndef __EDELIB_ICONTHEME_H__
22 #define __EDELIB_ICONTHEME_H__
58 struct IconThemePrivate;
82 IconThemePrivate* priv;
84 void load_theme(
const char* name);
85 void read_inherits(
const char* buf);
~IconTheme()
Definition: IconTheme.h:97
@ ICON_CONTEXT_MIMETYPE
Icons representing MIME types.
Definition: IconTheme.h:52
String find_icon(const char *icon, IconSizes size, IconContext context=ICON_CONTEXT_ANY)
static const char * default_theme_name(void)
Definition: IconTheme.h:148
const char * theme_name(void) const
@ ICON_SIZE_ENORMOUS
128x128
Definition: IconTheme.h:39
IconTheme()
Definition: IconTheme.h:92
const char * stylized_theme_name(void) const
@ ICON_SIZE_SMALL
22x22 icons
Definition: IconTheme.h:35
@ ICON_SIZE_LARGE
48x48
Definition: IconTheme.h:37
@ ICON_SIZE_HUGE
64x64
Definition: IconTheme.h:38
@ ICON_CONTEXT_EMBLEM
Icons representing emblem objects (gnome themes usually)
Definition: IconTheme.h:54
@ ICON_CONTEXT_MISC
Misc icons (gnome themes usually)
Definition: IconTheme.h:55
@ ICON_CONTEXT_APPLICATION
Icons representing applications.
Definition: IconTheme.h:49
@ ICON_SIZE_MEDIUM
32x32
Definition: IconTheme.h:36
A (relatively simple) string implementation.
Definition: String.h:82
#define E_DISABLE_CLASS_COPY(klass)
Definition: edelib-global.h:161
@ ICON_CONTEXT_ACTION
Icons representing actions.
Definition: IconTheme.h:48
Linked list class.
Definition: List.h:160
void query_icons(list< String > &lst, IconSizes size, IconContext context=ICON_CONTEXT_ANY) const
IconSizes
Icon sizes to look for.
Definition: IconTheme.h:33
@ ICON_SIZE_TINY
16x16 icons
Definition: IconTheme.h:34
@ ICON_CONTEXT_STOCK
Icons representing stock objects (gnome themes usually)
Definition: IconTheme.h:53
IconContext
Icon types to look for.
Definition: IconTheme.h:46
const char * example_icon(void) const
Finds named icon according to the given theme.
Definition: IconTheme.h:80
@ ICON_CONTEXT_FILESYSTEM
Icons representing objects that are part of system.
Definition: IconTheme.h:51
@ ICON_CONTEXT_DEVICE
Icons representing devices.
Definition: IconTheme.h:50
void load(const char *name)
const char * description(void) const
@ ICON_CONTEXT_ANY
Can be any icon context.
Definition: IconTheme.h:47