update screenshots

This commit is contained in:
sharandac
2020-07-22 17:59:40 +02:00
parent 3ba6b34700
commit 022fe2fcb4
8 changed files with 10 additions and 3 deletions

View File

@@ -28,3 +28,4 @@ wget x.x.x.x/shot ; wget x.x.x.x/screen.565
![screenshot](https://github.com/sharandac/My-TTGO-Watch/blob/master/images/screen8.png)
![screenshot](https://github.com/sharandac/My-TTGO-Watch/blob/master/images/screen9.png)
![screenshot](https://github.com/sharandac/My-TTGO-Watch/blob/master/images/screen10.png)
![screenshot](https://github.com/sharandac/My-TTGO-Watch/blob/master/images/screen11.png)

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

View File

@@ -8,6 +8,6 @@
/*
* firmeware version string
*/
#define __FIRMWARE__ "2020072201"
#define __FIRMWARE__ "2020072202"
#endif // _CONFIG_H

View File

@@ -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 );

View File

@@ -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.

View File

@@ -1 +1 @@
2020072201
2020072202