From cf0fb1c9dcb0c1d235165007acb1f429f54f799c Mon Sep 17 00:00:00 2001 From: Yourtion Date: Thu, 21 Apr 2016 12:21:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=BD=E8=AE=B0=E5=86=85=E5=AE=B9=EF=BC=882?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 14_day/bootpack.c | 3 +++ 1 file changed, 3 insertions(+) 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);