Download

Support

Ewl_Icon_Theme: The icon theme code

Collaboration diagram for Ewl_Icon_Theme: The icon theme code:


Detailed Description

Provides code to retrieve the path to icon theme icons.


Modules

 Ewl_Icon_Theme_List
 List of the Standard Icon Names defined by fdo.

Defines

#define EWL_ICON_SIZE_LARGE   24
#define EWL_ICON_SIZE_MEDIUM   22
#define EWL_ICON_SIZE_SMALL   16

Functions

const char * ewl_icon_theme_icon_path_get (const char *icon, int size)
 Retrives the full path to the specified icon, or NULL if none found.
int ewl_icon_theme_init (void)
 Initializes the icon theme system.
void ewl_icon_theme_shutdown (void)
 Shuts down the icon theme system.
void ewl_icon_theme_theme_change (void)
 Called when the icon theme is changed so we can clean up any caching we have in place.

Define Documentation

#define EWL_ICON_SIZE_LARGE   24

24x24 icons

#define EWL_ICON_SIZE_MEDIUM   22

22x22 icons

#define EWL_ICON_SIZE_SMALL   16

16x16 icons


Function Documentation

const char* ewl_icon_theme_icon_path_get ( const char *  icon,
int  size 
)

Retrives the full path to the specified icon, or NULL if none found.

Parameters:
icon,: The Icon Spec icon name to lookup
size,: The size of the icon to retrieve. A 0 value will cause the default size to be used.
Returns:
Returns the path to the icon we are looking for or NULL if none found

int ewl_icon_theme_init ( void   ) 

Initializes the icon theme system.

Returns:
Returns TRUE on success or FALSE on failure

void ewl_icon_theme_shutdown ( void   ) 

Shuts down the icon theme system.

Returns:
Returns no value.

void ewl_icon_theme_theme_change ( void   ) 

Called when the icon theme is changed so we can clean up any caching we have in place.

Returns:
Returns no value


Copyright © Enlightenment.org

Enlightened Widget Library Documentation Generated: Sun Sep 27 01:49:46 2009