SayoriOS 0.3.3

widget_label.h
1 #pragma once
2
3 #include "desktop/widget.h"
4 #include "desktop/widget_label.h"
5 #include "gui/basics.h"
6 #include "io/serial_port.h"
7
8 typedef struct Widget_Label {
9 const char* label;
10 size_t length;
11 uint32_t color;
12 } Widget_Label_t;
13
14 void widget_label_renderer(struct Widget* this, __attribute__((unused)) struct Window* container);
15 Widget_t* new_widget_label(const char *label, size_t x, size_t y, uint32_t color);
16 void destroy_widget_label(Widget_t* widget);
__attribute__
struct registers __attribute__((packed))
Структура данных пакета от мыши
Definition: psf.h:19
Widget_Label
Definition: widget_label.h:8
Widget
Definition: widget.h:12
Window
Definition: window.h:25