Microchip® Advanced Software Framework

wtk_basic_frame.c File Reference

Basic frame widget implementation.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

#include <stdint.h>
#include <stdlib.h>
#include <membag.h>
#include <string.h>
#include <wtk.h>

Data Structures

struct  wtk_basic_frame
 Basic frame control struct. More...


struct win_windowwtk_basic_frame_as_child (struct wtk_basic_frame *basic_frame)
 Get reference to basic frame window. More...
void * wtk_basic_frame_get_custom_data (const struct wtk_basic_frame *basic_frame)
 Get basic frame custom data. More...
static bool wtk_basic_frame_handler (struct win_window *win, enum win_event_type type, const void *data)
 Basic frame event handler. 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...