/********************************************************************
 * Tasmota LVGL lv_signal_bars widget
 *******************************************************************/
#include "be_constobj.h"

#ifdef USE_LVGL

extern int lv0_start(bvm *vm);
extern int lv0_constants_as_hash(bvm *vm);    // dump all integer constants

extern int lv0_register_button_encoder(bvm *vm);  // add buttons with encoder logic

extern int lv0_load_montserrat_font(bvm *vm);
extern int lv0_load_seg7_font(bvm *vm);
extern int lv0_load_robotocondensed_latin1_font(bvm *vm);
extern int lv0_load_font_embedded(bvm *vm);

extern int lv0_screenshot(bvm *vm);
extern int lv0_set_paint_cb(bvm *vm);
extern int lv0_set_stream_cb(bvm *vm);
extern int lv0_load_freetype_font(bvm *vm);

#include "solidify/solidified_lv_tasmota.h"

/* @const_object_info_begin
module lv_tasmota (scope: global, strings: weak) {
    init, closure(module_lv_tasmota_init_closure)
    _constants, func(lv0_constants_as_hash)

    start, func(lv0_start)
    splash, closure(module_lv_tasmota_splash_closure)
    splash_init, closure(module_lv_tasmota_splash_init_closure)
    splash_remove, closure(module_lv_tasmota_splash_remove_closure)

    font_montserrat, func(lv0_load_montserrat_font)
    montserrat_font, func(lv0_load_montserrat_font)
    font_seg7, func(lv0_load_seg7_font)
    seg7_font, func(lv0_load_seg7_font)
    font_embedded, func(lv0_load_font_embedded)
    register_button_encoder, func(lv0_register_button_encoder)
    screenshot, func(lv0_screenshot)
    set_paint_cb, func(lv0_set_paint_cb)
    set_stream_cb, func(lv0_set_stream_cb)

    load_freetype_font, func(lv0_load_freetype_font)
}
@const_object_info_end */
#include "be_fixed_lv_tasmota.h"

#endif // USE_LVGL