2021-10-16 14:05:45 -04:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2018-04-24 12:16:46 -04:00
|
|
|
From: Tad <tad@spotco.us>
|
|
|
|
Date: Tue, 24 Apr 2018 12:13:43 -0400
|
|
|
|
Subject: [PATCH] Remove logo
|
|
|
|
|
|
|
|
Change-Id: Ibf900e6ceb8a571b4770f6df7efeea1d97b6b477
|
|
|
|
---
|
|
|
|
screen_ui.cpp | 8 --------
|
|
|
|
screen_ui.h | 1 -
|
|
|
|
2 files changed, 9 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/screen_ui.cpp b/screen_ui.cpp
|
2021-10-16 14:05:45 -04:00
|
|
|
index 56fa314f..adc6d2b8 100644
|
2018-04-24 12:16:46 -04:00
|
|
|
--- a/screen_ui.cpp
|
|
|
|
+++ b/screen_ui.cpp
|
2021-10-16 14:05:45 -04:00
|
|
|
@@ -581,13 +581,6 @@ void ScreenRecoveryUI::draw_header_locked(int& y) {
|
2018-04-24 12:16:46 -04:00
|
|
|
}
|
|
|
|
y += v_unit;
|
|
|
|
|
|
|
|
- // Draw logo
|
|
|
|
- icon = logo_image;
|
|
|
|
- icon_w = gr_get_width(icon);
|
|
|
|
- icon_h = gr_get_height(icon);
|
|
|
|
- icon_x = kMarginWidth + (gr_fb_width() - icon_w) / 2;
|
|
|
|
- icon_y = y + ((v_unit * 4) - icon_h) / 2;
|
|
|
|
- gr_blit(icon, 0, 0, icon_w, icon_h, icon_x, icon_y);
|
|
|
|
y += v_unit * 4;
|
|
|
|
|
2021-10-16 14:05:45 -04:00
|
|
|
y += v_unit * 1; // Margin
|
|
|
|
@@ -906,7 +899,6 @@ bool ScreenRecoveryUI::Init(const std::string& locale) {
|
|
|
|
// Set up the locale info.
|
|
|
|
SetLocale(locale);
|
2018-04-24 12:16:46 -04:00
|
|
|
|
|
|
|
- LoadBitmap("logo_image", &logo_image);
|
|
|
|
LoadBitmap("ic_back", &ic_back);
|
|
|
|
LoadBitmap("ic_back_sel", &ic_back_sel);
|
|
|
|
|
|
|
|
diff --git a/screen_ui.h b/screen_ui.h
|
2021-10-16 14:05:45 -04:00
|
|
|
index ea1f5c03..6fa29b39 100644
|
2018-04-24 12:16:46 -04:00
|
|
|
--- a/screen_ui.h
|
|
|
|
+++ b/screen_ui.h
|
2021-10-16 14:05:45 -04:00
|
|
|
@@ -207,7 +207,6 @@ class ScreenRecoveryUI : public RecoveryUI {
|
2018-04-24 12:16:46 -04:00
|
|
|
// The layout to use.
|
|
|
|
int layout_;
|
|
|
|
|
|
|
|
- GRSurface* logo_image;
|
|
|
|
GRSurface* ic_back;
|
|
|
|
GRSurface* ic_back_sel;
|
|
|
|
|