update screenshots
This commit is contained in:
@@ -28,3 +28,4 @@ wget x.x.x.x/shot ; wget x.x.x.x/screen.565
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 9.2 KiB After Width: | Height: | Size: 8.9 KiB |
@@ -8,6 +8,6 @@
|
||||
/*
|
||||
* firmeware version string
|
||||
*/
|
||||
#define __FIRMWARE__ "2020072201"
|
||||
#define __FIRMWARE__ "2020072202"
|
||||
|
||||
#endif // _CONFIG_H
|
||||
|
||||
@@ -10,7 +10,9 @@ void keyboard_setup( void ) {
|
||||
return;
|
||||
|
||||
kb = lv_keyboard_create( lv_scr_act() , NULL);
|
||||
lv_obj_set_size(kb, LV_HOR_RES, LV_VER_RES / 2);
|
||||
lv_obj_set_size(kb, LV_HOR_RES, LV_VER_RES / 2 );
|
||||
// lv_obj_set_size(kb, LV_HOR_RES, LV_VER_RES / 3);
|
||||
// lv_obj_align( kb, lv_scr_act(), LV_ALIGN_IN_BOTTOM_MID, 0, 0 );
|
||||
lv_keyboard_set_cursor_manage(kb, true);
|
||||
lv_obj_set_event_cb( kb, kb_event_cb );
|
||||
lv_obj_set_hidden( kb, true );
|
||||
|
||||
@@ -24,8 +24,10 @@ void weather_widget_setup( void ) {
|
||||
mainbar_set_tile_setup_cb( weather_widget_tile_num, weather_widget_tile_setup );
|
||||
mainbar_set_tile_setup_cb( weather_widget_setup_tile_num, weather_widget_setup_tile_setup );
|
||||
|
||||
// get an widget container from main_tile
|
||||
widget_cont = main_tile_register_widget();
|
||||
|
||||
// create widget weather condition icon and temperature label
|
||||
widget_weather_condition_img = lv_imgbtn_create( widget_cont, NULL );
|
||||
lv_imgbtn_set_src( widget_weather_condition_img, LV_BTN_STATE_RELEASED, &weather_48px);
|
||||
lv_imgbtn_set_src( widget_weather_condition_img, LV_BTN_STATE_PRESSED, &weather_48px);
|
||||
@@ -86,6 +88,8 @@ void weather_widget_setup_tile_setup( lv_obj_t *tile, lv_style_t *style, lv_coor
|
||||
lv_obj_add_style( exit_label, LV_OBJ_PART_MAIN, style );
|
||||
lv_label_set_text( exit_label, "exit weather setup");
|
||||
lv_obj_align( exit_label, exit_btn, LV_ALIGN_OUT_RIGHT_MID, 5, 0 );
|
||||
|
||||
|
||||
}
|
||||
|
||||
static void exit_weather_widget_setup_event_cb( lv_obj_t * obj, lv_event_t event ) {
|
||||
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
2020072201
|
||||
2020072202
|
||||
|
||||
Reference in New Issue
Block a user