hrev54497 adds 1 changeset to branch 'master'
old head: a9b301871d06c0ebe42d22b31c685abed5107acd
new head: d45473bd96d6bd890e3523685a6ef82794b462d7
overview:
https://git.haiku-os.org/haiku/log/?qt=range&q=d45473bd96d6+%5Ea9b301871d06
----------------------------------------------------------------------------
d45473bd96d6: Pulse: remove hardcoded bitmap
This will allow resizing the chip as needed.
Part of #6904
[ Adrien Destugues <pulkomandy@xxxxxxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev54497
Commit: d45473bd96d6bd890e3523685a6ef82794b462d7
URL: https://git.haiku-os.org/haiku/commit/?id=d45473bd96d6
Author: Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
Date: Thu Aug 6 19:34:13 2020 UTC
Ticket: https://dev.haiku-os.org/ticket/6904
----------------------------------------------------------------------------
3 files changed, 69 insertions(+), 72 deletions(-)
src/apps/pulse/NormalPulseView.cpp | 73 +++++++++++++++++++++++++++++++---
src/apps/pulse/NormalPulseView.h | 2 +-
src/apps/pulse/Pictures | 66 ------------------------------
----------------------------------------------------------------------------
diff --git a/src/apps/pulse/NormalPulseView.cpp
b/src/apps/pulse/NormalPulseView.cpp
index 4ef95bc2e3..6485b86c5e 100644
--- a/src/apps/pulse/NormalPulseView.cpp
+++ b/src/apps/pulse/NormalPulseView.cpp
@@ -95,7 +95,6 @@ NormalPulseView::NormalPulseView(BRect rect)
NormalPulseView::~NormalPulseView()
{
- delete fCpuLogo;
delete fBrandLogo;
delete[] fCpuButtons;
delete[] fProgressBars;
@@ -123,9 +122,6 @@ NormalPulseView::DetermineVendorAndProcessor()
// Initialize logo
- fCpuLogo = new BBitmap(BRect(0, 0, 63, 62), B_CMAP8);
- fCpuLogo->SetBits(BlankLogo, fCpuLogo->BitsLength(), 0, B_CMAP8);
-
const unsigned char* logo = NULL;
size_t logoSize = 0;
uint32 topologyNodeCount = 0;
@@ -187,6 +183,73 @@ NormalPulseView::DetermineVendorAndProcessor()
}
+void
+NormalPulseView::DrawChip(BRect r)
+{
+ SetDrawingMode(B_OP_COPY);
+ BRect innerRect = r.InsetByCopy(7, 7);
+ SetHighColor(0x20, 0x20, 0x20);
+ FillRect(innerRect);
+
+ innerRect.InsetBy(-1, -1);
+ SetHighColor(0x40, 0x40, 0x40);
+ SetLowColor(0x48, 0x48, 0x48);
+ StrokeRect(innerRect, B_MIXED_COLORS);
+
+ innerRect.InsetBy(-1, -1);
+ SetHighColor(0x78, 0x78, 0x78);
+ StrokeRect(innerRect);
+
+ innerRect.InsetBy(-1, -1);
+ SetHighColor(0x08, 0x08, 0x08);
+ SetLowColor(0x20, 0x20, 0x20);
+ StrokeLine(BPoint(innerRect.left, innerRect.top + 1),
+ BPoint(innerRect.left, innerRect.bottom - 1), B_MIXED_COLORS);
+ StrokeLine(BPoint(innerRect.right, innerRect.top + 1),
+ BPoint(innerRect.right, innerRect.bottom - 1), B_MIXED_COLORS);
+ StrokeLine(BPoint(innerRect.left + 1, innerRect.top),
+ BPoint(innerRect.right - 1, innerRect.top), B_MIXED_COLORS);
+ StrokeLine(BPoint(innerRect.left + 1, innerRect.bottom),
+ BPoint(innerRect.right - 1, innerRect.bottom), B_MIXED_COLORS);
+
+ innerRect.InsetBy(-1, -1);
+ SetLowColor(0xff, 0xff, 0xff);
+ SetHighColor(0x20, 0x20, 0x20);
+ StrokeLine(BPoint(innerRect.left, innerRect.top + 6),
+ BPoint(innerRect.left, innerRect.bottom - 6), B_MIXED_COLORS);
+ StrokeLine(BPoint(innerRect.right, innerRect.top + 6),
+ BPoint(innerRect.right, innerRect.bottom - 6), B_MIXED_COLORS);
+ StrokeLine(BPoint(innerRect.left + 6, innerRect.top),
+ BPoint(innerRect.right - 6, innerRect.top), B_MIXED_COLORS);
+ StrokeLine(BPoint(innerRect.left + 6, innerRect.bottom),
+ BPoint(innerRect.right - 6, innerRect.bottom), B_MIXED_COLORS);
+
+ innerRect.InsetBy(-1, -1);
+ SetHighColor(0xa8, 0xa8, 0xa8);
+ SetLowColor(0x20, 0x20, 0x20);
+ StrokeLine(BPoint(innerRect.left, innerRect.top + 7),
+ BPoint(innerRect.left, innerRect.bottom - 7), B_MIXED_COLORS);
+ StrokeLine(BPoint(innerRect.right, innerRect.top + 7),
+ BPoint(innerRect.right, innerRect.bottom - 7), B_MIXED_COLORS);
+ StrokeLine(BPoint(innerRect.left + 7, innerRect.top),
+ BPoint(innerRect.right - 7, innerRect.top), B_MIXED_COLORS);
+ StrokeLine(BPoint(innerRect.left + 7, innerRect.bottom),
+ BPoint(innerRect.right - 7, innerRect.bottom), B_MIXED_COLORS);
+
+ innerRect.InsetBy(-1, -1);
+ SetLowColor(0x58, 0x58, 0x58);
+ SetHighColor(0x20, 0x20, 0x20);
+ StrokeLine(BPoint(innerRect.left, innerRect.top + 8),
+ BPoint(innerRect.left, innerRect.bottom - 8), B_MIXED_COLORS);
+ StrokeLine(BPoint(innerRect.right, innerRect.top + 8),
+ BPoint(innerRect.right, innerRect.bottom - 8), B_MIXED_COLORS);
+ StrokeLine(BPoint(innerRect.left + 8, innerRect.top),
+ BPoint(innerRect.right - 8, innerRect.top), B_MIXED_COLORS);
+ StrokeLine(BPoint(innerRect.left + 8, innerRect.bottom),
+ BPoint(innerRect.right - 8, innerRect.bottom), B_MIXED_COLORS);
+}
+
+
void
NormalPulseView::Draw(BRect rect)
{
@@ -194,7 +257,7 @@ NormalPulseView::Draw(BRect rect)
SetDrawingMode(B_OP_OVER);
// Processor picture
- DrawBitmap(fCpuLogo, BPoint(10, 10));
+ DrawChip(BRect(10, 10, 74, 74));
if (fBrandLogo != NULL) {
DrawBitmap(fBrandLogo, BPoint(18, 17));
diff --git a/src/apps/pulse/NormalPulseView.h b/src/apps/pulse/NormalPulseView.h
index 88874c7c4f..aa76496488 100644
--- a/src/apps/pulse/NormalPulseView.h
+++ b/src/apps/pulse/NormalPulseView.h
@@ -30,12 +30,12 @@ class NormalPulseView : public PulseView {
private:
void DetermineVendorAndProcessor();
void CalculateFontSizes();
+ void DrawChip(BRect);
char fVendor[32], fProcessor[32];
bigtime_t fPreviousTime;
ProgressBar **fProgressBars;
CPUButton **fCpuButtons;
- BBitmap *fCpuLogo;
int32 fCpuCount;
BBitmap* fBrandLogo;
diff --git a/src/apps/pulse/Pictures b/src/apps/pulse/Pictures
index 1039f06d12..466d9a8279 100644
--- a/src/apps/pulse/Pictures
+++ b/src/apps/pulse/Pictures
@@ -1,69 +1,3 @@
-unsigned char BlankLogo[] = {
-0x15,0x15,0x15,0x16,0x15,0x15,0x15,0x16,0x0a,0x04,0x0b,0x04,0x0b,0x04,0x0b,0x04,0x0b,0x04,0x0b,0x04,0x0a,0x05,0x0a,0x05,0x0a,0x04,0x0b,0x04,0x0b,0x04,0x0b,0x04,0x0b,0x04,0x0b,0x04,0x0a,0x05,0x0a,0x05,0x0a,0x04,0x0b,0x04,0x0b,0x04,0x0b,0x04,0x0b,0x04,0x0b,0x04,0x0a,0x05,0x0a,0x05,0x15,0x15,0x15,0x16,0x15,0x15,0x15,0x16,
-0x15,0x15,0x15,0x16,0x15,0x15,0x15,0x16,0x15,0x04,0x15,0x05,0x15,0x04,0x15,0x05,0x15,0x04,0x15,0x05,0x15,0x04,0x15,0x05,0x15,0x04,0x15,0x05,0x15,0x04,0x15,0x05,0x15,0x04,0x15,0x05,0x15,0x04,0x15,0x05,0x15,0x04,0x15,0x05,0x15,0x04,0x15,0x05,0x15,0x04,0x15,0x05,0x15,0x04,0x15,0x05,0x15,0x15,0x15,0x16,0x15,0x15,0x15,0x16,
-0x15,0x15,0x15,0x16,0x15,0x15,0x15,0x16,0x15,0x04,0x1e,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x15,0x15,0x16,0x15,0x15,0x15,0x16,0x15,
-0x15,0x15,0x16,0x15,0x15,0x00,0x00,0x00,0x04,0x01,0x05,0x01,0x04,0x01,0x04,0x01,0x04,0x01,0x05,0x01,0x04,0x01,0x04,0x01,0x04,0x01,0x05,0x01,0x04,0x01,0x04,0x01,0x04,0x01,0x05,0x01,0x04,0x01,0x04,0x01,0x04,0x01,0x05,0x01,0x04,0x01,0x04,0x01,0x04,0x01,0x05,0x01,0x04,0x01,0x04,0x01,0x00,0x00,0x00,0x15,0x16,0x15,0x15,0x15,
-0x16,0x15,0x15,0x15,0x01,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0e,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0e,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0e,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0e,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0e,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0e,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x04,0x00,0x15,0x15,0x16,0x15,
-0x15,0x15,0x16,0x15,0x04,0x0f,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x04,0x00,0x16,0x15,0x15,0x15,
-0x16,0x15,0x15,0x15,0x01,0x0f,0x09,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x09,0x04,0x00,0x15,0x15,0x16,0x15,
-0x15,0x0b,0x15,0x15,0x02,0x0f,0x09,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x09,0x04,0x04,0x15,0x16,0x15,0x15,
-0x15,0x05,0x04,0x04,0x01,0x0f,0x09,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x09,0x04,0x01,0x04,0x04,0x05,0x15,
-0x15,0x0b,0x15,0x3f,0x04,0x0f,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x08,0x04,0x05,0x15,0x3f,0x0a,0x15,
-0x16,0x04,0x04,0x04,0x01,0x0f,0x09,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x09,0x04,0x01,0x04,0x05,0x04,0x15,
-0x15,0x0b,0x15,0x3f,0x04,0x0f,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x08,0x04,0x05,0x15,0x3f,0x0a,0x15,
-0x16,0x04,0x04,0x04,0x01,0x0f,0x09,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x09,0x04,0x01,0x04,0x05,0x04,0x15,
-0x15,0x0b,0x15,0x3f,0x04,0x0f,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x08,0x04,0x05,0x15,0x3f,0x0a,0x15,
-0x16,0x04,0x04,0x04,0x01,0x0f,0x09,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x09,0x04,0x01,0x04,0x05,0x04,0x15,
-0x15,0x0b,0x15,0x3f,0x04,0x0f,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x08,0x04,0x05,0x15,0x3f,0x0a,0x15,
-0x16,0x04,0x04,0x04,0x01,0x0f,0x09,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x09,0x04,0x01,0x04,0x05,0x04,0x15,
-0x15,0x0b,0x15,0x3f,0x04,0x0f,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x08,0x04,0x05,0x15,0x3f,0x0a,0x15,
-0x16,0x04,0x04,0x04,0x01,0x0f,0x09,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x09,0x04,0x01,0x04,0x05,0x04,0x15,
-0x15,0x0b,0x15,0x3f,0x04,0x0f,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x08,0x04,0x05,0x15,0x3f,0x0a,0x15,
-0x16,0x04,0x04,0x04,0x01,0x0f,0x09,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x09,0x04,0x01,0x04,0x05,0x04,0x15,
-0x15,0x0b,0x15,0x3f,0x04,0x0f,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x08,0x04,0x05,0x15,0x3f,0x0a,0x15,
-0x16,0x04,0x04,0x04,0x01,0x0f,0x09,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x09,0x04,0x01,0x04,0x05,0x04,0x15,
-0x15,0x0b,0x15,0x3f,0x04,0x0f,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x08,0x04,0x05,0x15,0x3f,0x0a,0x15,
-0x16,0x04,0x04,0x04,0x01,0x0f,0x09,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x09,0x04,0x01,0x04,0x05,0x04,0x15,
-0x15,0x0b,0x15,0x3f,0x04,0x0f,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x08,0x04,0x05,0x15,0x3f,0x0a,0x15,
-0x16,0x04,0x04,0x04,0x01,0x0f,0x09,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x09,0x04,0x01,0x04,0x05,0x04,0x15,
-0x15,0x0b,0x15,0x3f,0x04,0x0f,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x08,0x04,0x05,0x15,0x3f,0x0a,0x15,
-0x16,0x04,0x04,0x04,0x01,0x0f,0x09,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x09,0x04,0x01,0x04,0x05,0x04,0x15,
-0x15,0x0b,0x15,0x3f,0x04,0x0f,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x08,0x04,0x05,0x15,0x3f,0x0a,0x15,
-0x16,0x04,0x04,0x04,0x01,0x0f,0x09,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x09,0x04,0x01,0x04,0x05,0x04,0x15,
-0x15,0x0b,0x15,0x3f,0x04,0x0f,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x08,0x04,0x05,0x15,0x3f,0x0a,0x15,
-0x16,0x04,0x04,0x04,0x01,0x0f,0x09,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x09,0x04,0x01,0x04,0x05,0x04,0x15,
-0x15,0x0b,0x15,0x3f,0x04,0x0f,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x08,0x04,0x05,0x15,0x3f,0x0a,0x15,
-0x16,0x04,0x04,0x04,0x01,0x0f,0x09,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x09,0x04,0x01,0x04,0x05,0x04,0x15,
-0x15,0x0b,0x15,0x3f,0x04,0x0f,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x08,0x04,0x05,0x15,0x3f,0x0a,0x15,
-0x16,0x04,0x04,0x04,0x01,0x0f,0x09,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x09,0x04,0x01,0x04,0x05,0x04,0x15,
-0x15,0x0b,0x15,0x3f,0x04,0x0f,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x08,0x04,0x05,0x15,0x3f,0x0a,0x15,
-0x16,0x04,0x04,0x04,0x01,0x0f,0x09,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x09,0x04,0x01,0x04,0x05,0x04,0x15,
-0x15,0x0b,0x15,0x3f,0x04,0x0f,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x08,0x04,0x05,0x15,0x3f,0x0a,0x15,
-0x16,0x04,0x04,0x04,0x01,0x0f,0x09,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x09,0x04,0x01,0x04,0x05,0x04,0x15,
-0x15,0x0b,0x15,0x3f,0x04,0x0f,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x08,0x04,0x05,0x15,0x3f,0x0a,0x15,
-0x16,0x04,0x04,0x04,0x01,0x0f,0x09,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x09,0x04,0x01,0x04,0x05,0x04,0x15,
-0x15,0x0b,0x15,0x3f,0x04,0x0f,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x08,0x04,0x05,0x15,0x3f,0x0a,0x15,
-0x16,0x04,0x04,0x04,0x01,0x0f,0x09,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x09,0x04,0x01,0x04,0x05,0x04,0x15,
-0x15,0x0b,0x15,0x3f,0x04,0x0f,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x08,0x04,0x05,0x15,0x3f,0x0a,0x15,
-0x16,0x04,0x04,0x04,0x01,0x0f,0x09,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x09,0x04,0x01,0x04,0x05,0x04,0x15,
-0x15,0x0b,0x15,0x3f,0x04,0x0f,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x08,0x04,0x05,0x15,0x3f,0x0a,0x15,
-0x16,0x04,0x04,0x04,0x01,0x0f,0x09,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x09,0x04,0x01,0x04,0x05,0x04,0x15,
-0x15,0x0b,0x15,0x3f,0x04,0x0f,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x08,0x04,0x05,0x15,0x3f,0x0a,0x15,
-0x16,0x04,0x04,0x04,0x01,0x0f,0x09,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x09,0x04,0x01,0x04,0x05,0x04,0x15,
-0x15,0x0b,0x15,0x3f,0x04,0x0f,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x08,0x04,0x05,0x15,0x3f,0x0a,0x15,
-0x16,0x04,0x04,0x04,0x01,0x0f,0x09,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x09,0x04,0x01,0x04,0x05,0x04,0x15,
-0x15,0x0b,0x15,0x3f,0x04,0x0f,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x08,0x04,0x05,0x15,0x3f,0x0a,0x15,
-0x16,0x04,0x04,0x04,0x01,0x0f,0x09,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x09,0x04,0x01,0x04,0x05,0x04,0x15,
-0x15,0x16,0x15,0x15,0x04,0x0f,0x09,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x09,0x04,0x00,0x15,0x15,0x16,0x15,
-0x15,0x15,0x16,0x15,0x01,0x0f,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x08,0x05,0x00,0x15,0x15,0x15,0x16,
-0x15,0x15,0x15,0x16,0x04,0x0f,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x08,0x09,0x04,0x00,0x15,0x15,0x16,0x15,
-0x15,0x15,0x16,0x15,0x01,0x0f,0x04,0x04,0x05,0x04,0x04,0x04,0x05,0x04,0x04,0x04,0x05,0x04,0x04,0x04,0x05,0x04,0x04,0x04,0x05,0x04,0x04,0x04,0x05,0x04,0x04,0x04,0x05,0x04,0x04,0x04,0x05,0x04,0x04,0x04,0x05,0x04,0x04,0x04,0x05,0x04,0x04,0x04,0x05,0x04,0x04,0x04,0x05,0x04,0x04,0x04,0x05,0x04,0x04,0x00,0x15,0x16,0x15,0x15,
-0x15,0x16,0x15,0x15,0x15,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x15,0x15,0x15,0x16,0x15,
-0x15,0x15,0x16,0x15,0x15,0x15,0x16,0x15,0x15,0x04,0x16,0x04,0x15,0x04,0x16,0x04,0x15,0x04,0x16,0x04,0x15,0x04,0x16,0x04,0x15,0x04,0x16,0x04,0x15,0x04,0x16,0x04,0x15,0x04,0x16,0x04,0x15,0x04,0x16,0x04,0x15,0x04,0x16,0x04,0x15,0x04,0x16,0x04,0x15,0x04,0x16,0x04,0x15,0x04,0x16,0x04,0x15,0x15,0x16,0x15,0x15,0x15,0x16,0x15,
-0x15,0x15,0x16,0x15,0x15,0x15,0x16,0x15,0x15,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x3f,0x04,0x15,0x15,0x16,0x15,0x15,0x15,0x16,0x15,
-0x15,0x15,0x16,0x15,0x15,0x15,0x16,0x15,0x0a,0x01,0x0b,0x01,0x0b,0x01,0x0a,0x01,0x0b,0x01,0x0b,0x01,0x0a,0x01,0x0b,0x01,0x0a,0x01,0x0b,0x01,0x0b,0x01,0x0a,0x01,0x0b,0x01,0x0b,0x01,0x0a,0x01,0x0b,0x01,0x0a,0x01,0x0b,0x01,0x0b,0x01,0x0a,0x01,0x0b,0x01,0x0b,0x01,0x0a,0x01,0x0b,0x01,0x15,0x15,0x16,0x15,0x15,0x15,0x16,0x15};
-
-
const unsigned char kAmdLogo[] = {
0x6e, 0x63, 0x69, 0x66, 0x02, 0x05, 0xff, 0x03, 0x00, 0x7f, 0x33, 0x07,
0x02, 0x04, 0xb5, 0xe6, 0xb4, 0xaa, 0xb5, 0xe6, 0xb4, 0xaa, 0xb5, 0xa5,