summaryrefslogtreecommitdiff
path: root/keyboards/stront/lvgl_helpers.h
blob: 671f6cccd2df812beb64765daa374ba855e6daca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2023 zzeneg (@zzeneg)
// SPDX-License-Identifier: GPL-2.0-or-later

#include "qp_lvgl.h"

lv_obj_t *create_button(lv_obj_t *parent, const char *text, lv_style_t *style, lv_style_t *style_pressed);

void use_flex_row(void *obj);
void use_flex_column(void *obj);
void toggle_state(void *obj, lv_state_t state, bool enabled);
void toggle_hidden(void *obj, bool visible);
void resize_font(void *label, int32_t v);
void debug_set_obj_border(lv_obj_t *obj);