Display demo widget application.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
#include <asf.h>
#include <string.h>
#include "widget_gui.h"
#include "chip_icon1.h"
#include "chip_icon2.h"
#include "chip_icon3.h"
Data Structures | |
struct | widget_context |
Widget application context. More... | |
Macros | |
#define | TOTAL_NUM_ICONS 3 |
Enumerations | |
enum | command_id { DUMMY_ID, ICON_BUTTON_1_ID, ICON_BUTTON_2_ID, ICON_BUTTON_3_ID, BUTTON_PREV_ID, BUTTON_NEXT_ID, BUTTON_SELECT_ID, DUMMY_ID, SLIDER_ID, BUTTON_ID, DUMMY_ID, SLIDER_ID, CHECK_BOX_ID, RADIO_BUTTON_1_ID, RADIO_BUTTON_2_ID, BUTTON_ID } |
Command event IDs. More... | |
Functions | |
bool | app_widget_launch (void) |
Setup widget demo. More... | |
static bool | widget_frame_command_handler (struct wtk_basic_frame *frame, win_command_t command_data) |
Frame handler for the application. More... | |
Variables | |
static struct widget_context * | widget_ctx |
Statically allocated context pointer. More... | |