Lines Matching refs:panel
130 lv_obj_t * panel = lv_obj_create(weather_forecast_daily); in lv_demo_smartwatch_weather_add_daily() local
131 lv_obj_set_width(panel, lv_pct(85)); in lv_demo_smartwatch_weather_add_daily()
132 lv_obj_set_height(panel, 40); in lv_demo_smartwatch_weather_add_daily()
133 lv_obj_set_align(panel, LV_ALIGN_CENTER); in lv_demo_smartwatch_weather_add_daily()
134 lv_obj_set_flex_flow(panel, LV_FLEX_FLOW_ROW); in lv_demo_smartwatch_weather_add_daily()
135 …lv_obj_set_flex_align(panel, LV_FLEX_ALIGN_SPACE_AROUND, LV_FLEX_ALIGN_CENTER, LV_FLEX_ALIGN_CENTE… in lv_demo_smartwatch_weather_add_daily()
136 lv_obj_remove_flag(panel, LV_OBJ_FLAG_SCROLLABLE); in lv_demo_smartwatch_weather_add_daily()
137 lv_obj_set_style_radius(panel, 0, LV_PART_MAIN | LV_STATE_DEFAULT); in lv_demo_smartwatch_weather_add_daily()
138 lv_obj_set_style_bg_color(panel, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT); in lv_demo_smartwatch_weather_add_daily()
139 lv_obj_set_style_bg_opa(panel, 0, LV_PART_MAIN | LV_STATE_DEFAULT); in lv_demo_smartwatch_weather_add_daily()
140 lv_obj_set_style_border_color(panel, lv_color_hex(0xFFFFFF), LV_PART_MAIN | LV_STATE_DEFAULT); in lv_demo_smartwatch_weather_add_daily()
141 lv_obj_set_style_border_opa(panel, 255, LV_PART_MAIN | LV_STATE_DEFAULT); in lv_demo_smartwatch_weather_add_daily()
142 lv_obj_set_style_border_width(panel, 1, LV_PART_MAIN | LV_STATE_DEFAULT); in lv_demo_smartwatch_weather_add_daily()
143 lv_obj_set_style_border_side(panel, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN | LV_STATE_DEFAULT); in lv_demo_smartwatch_weather_add_daily()
144 lv_obj_set_style_pad_left(panel, 5, LV_PART_MAIN | LV_STATE_DEFAULT); in lv_demo_smartwatch_weather_add_daily()
145 lv_obj_set_style_pad_right(panel, 5, LV_PART_MAIN | LV_STATE_DEFAULT); in lv_demo_smartwatch_weather_add_daily()
146 lv_obj_set_style_pad_top(panel, 0, LV_PART_MAIN | LV_STATE_DEFAULT); in lv_demo_smartwatch_weather_add_daily()
147 lv_obj_set_style_pad_bottom(panel, 10, LV_PART_MAIN | LV_STATE_DEFAULT); in lv_demo_smartwatch_weather_add_daily()
149 lv_obj_t * label_day = lv_label_create(panel); in lv_demo_smartwatch_weather_add_daily()
159 lv_obj_t * icon = lv_image_create(panel); in lv_demo_smartwatch_weather_add_daily()
168 lv_obj_t * label = lv_label_create(panel); in lv_demo_smartwatch_weather_add_daily()
183 lv_obj_t * panel = lv_obj_create(weather_forecast_hourly); in lv_demo_smartwatch_weather_add_hourly() local
184 lv_obj_set_width(panel, 100); in lv_demo_smartwatch_weather_add_hourly()
185 lv_obj_set_height(panel, 184); in lv_demo_smartwatch_weather_add_hourly()
186 lv_obj_set_align(panel, LV_ALIGN_CENTER); in lv_demo_smartwatch_weather_add_hourly()
187 lv_obj_set_flex_flow(panel, LV_FLEX_FLOW_COLUMN); in lv_demo_smartwatch_weather_add_hourly()
188 lv_obj_set_flex_align(panel, LV_FLEX_ALIGN_CENTER, LV_FLEX_ALIGN_CENTER, LV_FLEX_ALIGN_CENTER); in lv_demo_smartwatch_weather_add_hourly()
189 lv_obj_remove_flag(panel, LV_OBJ_FLAG_SCROLLABLE); in lv_demo_smartwatch_weather_add_hourly()
190 lv_obj_set_style_bg_color(panel, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT); in lv_demo_smartwatch_weather_add_hourly()
191 lv_obj_set_style_bg_opa(panel, 255, LV_PART_MAIN | LV_STATE_DEFAULT); in lv_demo_smartwatch_weather_add_hourly()
192 lv_obj_set_style_border_color(panel, lv_color_hex(0xFFFFFF), LV_PART_MAIN | LV_STATE_DEFAULT); in lv_demo_smartwatch_weather_add_hourly()
193 lv_obj_set_style_border_opa(panel, 255, LV_PART_MAIN | LV_STATE_DEFAULT); in lv_demo_smartwatch_weather_add_hourly()
194 lv_obj_set_style_border_width(panel, info ? 0 : 1, LV_PART_MAIN | LV_STATE_DEFAULT); in lv_demo_smartwatch_weather_add_hourly()
196 lv_obj_t * hour_label = lv_label_create(panel); in lv_demo_smartwatch_weather_add_hourly()
208 lv_obj_t * hour_icon = lv_image_create(panel); in lv_demo_smartwatch_weather_add_hourly()
217 lv_obj_t * temp_label = lv_label_create(panel); in lv_demo_smartwatch_weather_add_hourly()
224 lv_obj_t * humidity_label = lv_label_create(panel); in lv_demo_smartwatch_weather_add_hourly()
231 lv_obj_t * wind_label = lv_label_create(panel); in lv_demo_smartwatch_weather_add_hourly()
238 lv_obj_t * uv_label = lv_label_create(panel); in lv_demo_smartwatch_weather_add_hourly()