Skip to content

Commit

Permalink
Header: larger 20x16 USB & stealth icons
Browse files Browse the repository at this point in the history
BFW-5313
  • Loading branch information
CZDanol-prusa authored and danopernis committed Apr 11, 2024
1 parent 422e494 commit 7dd55a8
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/gui/res/mini_used_imgs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@ spinner1_16x16.png
spinner2_16x16.png
spinner3_16x16.png
spool_16x16.png
stealth_16x16.png
stealth_20x16.png
switch_off_36x18.png
switch_on_36x18.png
temperature_16x16.png
transfer_icon_16x16.png
turn_knob_81x55.png
usb_16x16.png
usb_20x16.png
usb_error_48x48.png
warning_48x48.png
wifi_64x64.png
Expand Down
Binary file removed src/gui/res/png/stealth_16x16.png
Binary file not shown.
Binary file added src/gui/res/png/stealth_20x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/gui/res/png/usb_16x16.png
Binary file not shown.
Binary file added src/gui/res/png/usb_20x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/gui/window_header.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,11 @@ window_header_t::window_header_t(window_t *parent, string_view_utf8 txt)
#if !defined(USE_ST7789) // Time is not shown on ST7789
, time_val(this, first_rect_doesnt_matter, is_multiline::no)
#endif /* !defined(USE_ST7789) */
, icon_usb(this, first_rect_doesnt_matter, &img::usb_16x16)
, icon_usb(this, first_rect_doesnt_matter, &img::usb_20x16)
, icon_network(this, first_rect_doesnt_matter, window_header_t::networkIcon(netdev_get_active_id()))
, transfer_val(this, first_rect_doesnt_matter, is_multiline::no)
, icon_transfer(this, first_rect_doesnt_matter, &img::transfer_icon_16x16)
, icon_stealth(this, first_rect_doesnt_matter, &img::stealth_16x16)
, icon_stealth(this, first_rect_doesnt_matter, &img::stealth_20x16)
, bed_text(this, first_rect_doesnt_matter, is_multiline::no)
, bed_icon(this, first_rect_doesnt_matter, &img::heatbed_16x16)
, active_netdev_id(netdev_get_active_id())
Expand Down

0 comments on commit 7dd55a8

Please sign in to comment.