diff --git a/14_day/bootpack.c b/14_day/bootpack.c index f17a866..4b3e280 100644 --- a/14_day/bootpack.c +++ b/14_day/bootpack.c @@ -143,6 +143,9 @@ void HariMain(void) sprintf(s, "(%3d, %3d)", mx, my); putfonts8_asc_sht(sht_back, 0, 0, COL8_FFFFFF, COL8_008484, s, 10); sheet_slide(sht_mouse, mx, my);/* 包含sheet_refresh含sheet_refresh */ + if ((mdec.btn & 0x01) != 0) { /* 按下左键、移动sht_win */ + sheet_slide(sht_win, mx - 80, my - 8); + } } } else if (i == 10) { /* 10秒定时器 */ putfonts8_asc_sht(sht_back, 0, 64, COL8_FFFFFF, COL8_008484, "10[sec]", 7);