From f1a32019404454ac555defc53b0b6174f9941589 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Wed, 27 Jul 2016 11:13:07 -0700 Subject: [PATCH] Touch: Add bitmaps for calibration UI. --- firmware/application/bitmap.hpp | 92 +++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) diff --git a/firmware/application/bitmap.hpp b/firmware/application/bitmap.hpp index 66899ff0..818fe8fc 100644 --- a/firmware/application/bitmap.hpp +++ b/firmware/application/bitmap.hpp @@ -153,6 +153,98 @@ static constexpr Bitmap bitmap_sd_card_error { { 16, 16 }, bitmap_sd_card_error_data }; +static constexpr uint8_t bitmap_target_calibrate_data[] = { + 0x02, 0x00, 0x00, 0x40, + 0x07, 0x00, 0x00, 0xe0, + 0x0e, 0x00, 0x00, 0x70, + 0x1c, 0x00, 0x00, 0x38, + + 0x38, 0x00, 0x00, 0x1c, + 0x70, 0x00, 0x00, 0x0e, + 0xe0, 0x00, 0x00, 0x07, + 0xc0, 0x01, 0x80, 0x03, + + 0x80, 0x03, 0xc0, 0x01, + 0x00, 0x07, 0xe0, 0x00, + 0x00, 0x0e, 0x70, 0x00, + 0x00, 0x1c, 0x38, 0x00, + + 0x00, 0x38, 0x1c, 0x00, + 0x00, 0x30, 0x0c, 0x00, + 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, + + 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, + 0x00, 0x30, 0x0c, 0x00, + 0x00, 0x38, 0x1c, 0x00, + + 0x00, 0x1c, 0x38, 0x00, + 0x00, 0x0e, 0x70, 0x00, + 0x00, 0x07, 0xe0, 0x00, + 0x80, 0x03, 0xc0, 0x01, + + 0xc0, 0x01, 0x80, 0x03, + 0xe0, 0x00, 0x00, 0x07, + 0x70, 0x00, 0x00, 0x0e, + 0x38, 0x00, 0x00, 0x1c, + + 0x1c, 0x00, 0x00, 0x38, + 0x0e, 0x00, 0x00, 0x70, + 0x07, 0x00, 0x00, 0xe0, + 0x02, 0x00, 0x00, 0x40, +}; + +static constexpr Bitmap bitmap_target_calibrate { + { 32, 32 }, bitmap_target_calibrate_data +}; + +static constexpr uint8_t bitmap_target_verify_data[] = { + 0x00, 0xe0, 0x07, 0x00, + 0x00, 0xfc, 0x3f, 0x00, + 0x00, 0x1f, 0xf8, 0x00, + 0xc0, 0x03, 0xc0, 0x03, + + 0xe0, 0x00, 0x00, 0x07, + 0x70, 0x00, 0x00, 0x0e, + 0x38, 0x00, 0x00, 0x1c, + 0x18, 0x00, 0x00, 0x18, + + 0x0c, 0x00, 0x00, 0x30, + 0x0c, 0x00, 0x00, 0x30, + 0x06, 0x00, 0x00, 0x60, + 0x06, 0x00, 0x00, 0x60, + + 0x06, 0x00, 0x00, 0x60, + 0x03, 0x80, 0x01, 0xc0, + 0x03, 0x80, 0x01, 0xc0, + 0x03, 0xe0, 0x07, 0xc0, + + 0x03, 0xe0, 0x07, 0xc0, + 0x03, 0x80, 0x01, 0xc0, + 0x03, 0x80, 0x01, 0xc0, + 0x06, 0x00, 0x00, 0x60, + + 0x06, 0x00, 0x00, 0x60, + 0x06, 0x00, 0x00, 0x60, + 0x0c, 0x00, 0x00, 0x30, + 0x0c, 0x00, 0x00, 0x30, + + 0x18, 0x00, 0x00, 0x18, + 0x38, 0x00, 0x00, 0x1c, + 0x70, 0x00, 0x00, 0x0e, + 0xe0, 0x00, 0x00, 0x07, + + 0xc0, 0x03, 0xc0, 0x03, + 0x00, 0x1f, 0xf8, 0x00, + 0x00, 0xfc, 0x3f, 0x00, + 0x00, 0xe0, 0x07, 0x00, +}; + +static constexpr Bitmap bitmap_target_verify { + { 32, 32 }, bitmap_target_verify_data +}; + } /* namespace ui */ #endif/*__BITMAP_HPP__*/