Loading files
#ifndef GUI_LABEL_H_
#define GUI_LABEL_H_
#include "widget.h"
#include "screen.h"
#include "font.h"
#define LABEL_MAX_NAME 18
typedef struct {
widget_t base;
char name[LABEL_MAX_NAME + 1];
font_t font;
} label_t;
void label_createWithText(label_t *l, char *name, font_t font);
void label_createWithLength(label_t *l, uint8_t length, font_t font);
void label_SetText(label_t *l, char *text);
GUIResult_t label_draw(widget_t *w, coords_t offset);
GUISignal_t label_input(widget_t *w, GUISignal_t signal);
#endif
a1e44dabdThis file is pinned to the selected release. Download the original to open it in your design tool.