Atmel Software Framework

wtk_basic_frame.h File Reference

Graphical Widget toolkit.

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

Typedefs

typedef bool(* wtk_basic_frame_command_handler_t )(struct wtk_basic_frame *basic_frame, win_command_t command_data)
 Basic frame command event handler callback. More...
 
typedef void(* wtk_basic_frame_draw_handler_t )(struct win_window *win, struct win_clip_region const *clip)
 Basic frame draw event handler callback. More...
 

Functions

struct win_windowwtk_basic_frame_as_child (struct wtk_basic_frame *basic_frame)
 Get reference to basic frame window. More...
 
struct wtk_basic_framewtk_basic_frame_create (struct win_window *parent, const struct win_area *area, struct gfx_bitmap *background, wtk_basic_frame_draw_handler_t draw_handler, wtk_basic_frame_command_handler_t frame_handler, void *custom_data)
 Create basic frame widget. More...
 
void * wtk_basic_frame_get_custom_data (const struct wtk_basic_frame *basic_frame)
 Get basic frame custom data. More...