Atmel Software Framework

wtk_icon.h File Reference

Graphical Widget toolkit.

Copyright (c) 2012 Atmel Corporation. All rights reserved.

Functions

struct win_windowwtk_icon_button_as_child (struct wtk_icon_button *icon_button)
 This function returns a reference to the window that should be used when managing the widget, such as move, resize, destroy and reparenting. More...
 
struct wtk_icon_buttonwtk_icon_button_create (struct win_window *parent, struct win_area const *area, struct gfx_bitmap *icon, bool selected, struct wtk_icon_group *group, win_command_t command_data)
 This function creates a new icon button widget. More...
 
win_command_t wtk_icon_button_get_command (struct wtk_icon_button *icon_button)
 This function returns the window command of the specified icon button, as set when the widget was created. More...
 
bool wtk_icon_button_is_selected (struct wtk_icon_button const *icon_button)
 This function returns true if the icon button is the one currently selected within its icon button group. More...
 
void wtk_icon_button_select (struct wtk_icon_button *icon_button)
 This function sets this icon button to be the single icon button selected within its group. More...
 
void wtk_icon_button_size_hint (struct win_point *size, const struct gfx_bitmap *icon_image)
 Get minimum widget size. More...
 
struct wtk_icon_groupwtk_icon_group_create (void)
 This function creates a new icon button group, allocating required memory and properly initializing the object. More...
 
struct wtk_icon_buttonwtk_icon_group_get_selected (struct wtk_icon_group *group)
 This function retrieves a pointer to the currently selected icon in an icon group. More...