mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-11-19 19:42:24 -05:00
fix touch calib on prf (#2816)
This commit is contained in:
parent
65a3c797c6
commit
54d99945f2
1 changed files with 6 additions and 6 deletions
|
|
@ -81,13 +81,13 @@ class TouchCalibrationView : public View {
|
||||||
Color::black()};
|
Color::black()};
|
||||||
|
|
||||||
Image image_calibrate_1{
|
Image image_calibrate_1{
|
||||||
{240 - 32 - 16, (320 - 16) / 2 - 16, 32, 32},
|
{screen_width - 32 - 16, (screen_height - 16) / 2 - 16, 32, 32},
|
||||||
&bitmap_target_calibrate,
|
&bitmap_target_calibrate,
|
||||||
Color::white(),
|
Color::white(),
|
||||||
Color::black()};
|
Color::black()};
|
||||||
|
|
||||||
Image image_calibrate_2{
|
Image image_calibrate_2{
|
||||||
{240 / 2 - 16, (320 - 16) - 32 - 16, 32, 32},
|
{screen_width / 2 - 16, (screen_height - 16) - 32 - 16, 32, 32},
|
||||||
&bitmap_target_calibrate,
|
&bitmap_target_calibrate,
|
||||||
Color::white(),
|
Color::white(),
|
||||||
Color::black()};
|
Color::black()};
|
||||||
|
|
@ -99,13 +99,13 @@ class TouchCalibrationView : public View {
|
||||||
Color::black()};
|
Color::black()};
|
||||||
|
|
||||||
Image image_verify_1{
|
Image image_verify_1{
|
||||||
{240 - 32 - 16, (320 - 16) / 2 - 16, 32, 32},
|
{screen_width - 32 - 16, (screen_height - 16) / 2 - 16, 32, 32},
|
||||||
&bitmap_target_verify,
|
&bitmap_target_verify,
|
||||||
Color::white(),
|
Color::white(),
|
||||||
Color::black()};
|
Color::black()};
|
||||||
|
|
||||||
Image image_verify_2{
|
Image image_verify_2{
|
||||||
{240 / 2 - 16, (320 - 16) - 32 - 16, 32, 32},
|
{screen_width / 2 - 16, (screen_height - 16) - 32 - 16, 32, 32},
|
||||||
&bitmap_target_verify,
|
&bitmap_target_verify,
|
||||||
Color::white(),
|
Color::white(),
|
||||||
Color::black()};
|
Color::black()};
|
||||||
|
|
@ -131,11 +131,11 @@ class TouchCalibrationView : public View {
|
||||||
"Calibration failed. Retry?"};
|
"Calibration failed. Retry?"};
|
||||||
|
|
||||||
Button button_cancel{
|
Button button_cancel{
|
||||||
{40, 200, 64, 24},
|
{40, 200, UI_POS_WIDTH(8), 24},
|
||||||
"Cancel"};
|
"Cancel"};
|
||||||
|
|
||||||
Button button_ok{
|
Button button_ok{
|
||||||
{136, 200, 64, 24},
|
{136, 200, UI_POS_WIDTH(8), 24},
|
||||||
"OK"};
|
"OK"};
|
||||||
|
|
||||||
void on_frame_sync();
|
void on_frame_sync();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue