1 #include "desktop/widget.h"
2 #include "desktop/widget_progress.h"
3 #include "gui/basics.h"
9 size_t cost = this->width / 100;
15 draw_rectangle(this->x, this->y, this->width, this->height, 0x000000);
16 draw_filled_rectangle(
26 &widget_progress_renderer,
27 &destroy_widget_progress,
37 void destroy_widget_progress(
Widget_t* widget) {
38 kfree(widget->custom_widget_data);
struct registers __attribute__((packed))
Структура данных пакета от мыши