Display demo widget application.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
Data Structures | |
struct | widget_context |
Widget application context. 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... | |
|
static |
Frame handler for the application.
Handles all command events from the widgets in the application frame.
frame | Pointer to the application frame |
command_data | Command event ID |
References BUTTON_ID, widget_context::plot, widget_context::slider, win_redraw(), wtk_basic_frame_get_custom_data(), wtk_plot_add_value(), wtk_plot_as_child(), and wtk_slider_get_value().