// This file was generated by SquareLine Studio
// SquareLine Studio version: SquareLine Studio 1.3.4
// LVGL version: 8.3.6
// Project name: nockanda_ili9341_notouch

#include "../ui.h"


// COMPONENT Image1

lv_obj_t * ui_Image1_create(lv_obj_t * comp_parent)
{

    lv_obj_t * cui_Image1;
    cui_Image1 = lv_img_create(comp_parent);
    lv_obj_set_width(cui_Image1, LV_SIZE_CONTENT);   /// 1
    lv_obj_set_height(cui_Image1, LV_SIZE_CONTENT);    /// 1
    lv_obj_set_x(cui_Image1, -120);
    lv_obj_set_y(cui_Image1, 0);
    lv_obj_set_align(cui_Image1, LV_ALIGN_CENTER);
    lv_obj_add_flag(cui_Image1, LV_OBJ_FLAG_ADV_HITTEST);     /// Flags
    lv_obj_clear_flag(cui_Image1, LV_OBJ_FLAG_SCROLLABLE);      /// Flags

    lv_obj_t ** children = lv_mem_alloc(sizeof(lv_obj_t *) * _UI_COMP_IMAGE1_NUM);
    children[UI_COMP_IMAGE1_IMAGE1] = cui_Image1;
    lv_obj_add_event_cb(cui_Image1, get_component_child_event_cb, LV_EVENT_GET_COMP_CHILD, children);
    lv_obj_add_event_cb(cui_Image1, del_component_child_event_cb, LV_EVENT_DELETE, children);
    ui_comp_Image1_create_hook(cui_Image1);
    return cui_Image1;
}

