From 1379fe5ea1d7f32ce48238bd2ad16637d55a38ba Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 5 Dec 2008 02:36:05 +0000 Subject: Fix tiny drawing errors in frame git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1419 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/Documentation/NuttXScreenShot.jpg | Bin 5950 -> 5872 bytes nuttx/graphics/nxtk/nxtk_drawframe.c | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'nuttx') diff --git a/nuttx/Documentation/NuttXScreenShot.jpg b/nuttx/Documentation/NuttXScreenShot.jpg index 199686b50..f5a9dc1fe 100644 Binary files a/nuttx/Documentation/NuttXScreenShot.jpg and b/nuttx/Documentation/NuttXScreenShot.jpg differ diff --git a/nuttx/graphics/nxtk/nxtk_drawframe.c b/nuttx/graphics/nxtk/nxtk_drawframe.c index 9fb85fc56..53f6c2831 100644 --- a/nuttx/graphics/nxtk/nxtk_drawframe.c +++ b/nuttx/graphics/nxtk/nxtk_drawframe.c @@ -169,7 +169,7 @@ int nxtk_drawframe(FAR struct nxtk_framedwindow_s *fwnd, */ frame.pt1.y = 0; - frame.pt2.y = wndsize.h - 1; + frame.pt2.y = wndsize.h - 2; frame.pt1.x = 0; #if CONFIG_NXTK_BORDERWIDTH > 1 @@ -226,7 +226,7 @@ int nxtk_drawframe(FAR struct nxtk_framedwindow_s *fwnd, if (tbsize.h > 0) { frame.pt1.y = 0; - frame.pt2.y = CONFIG_NXTK_BORDERWIDTH + tbsize.h; + frame.pt2.y = CONFIG_NXTK_BORDERWIDTH + tbsize.h - 2; frame.pt1.x = CONFIG_NXTK_BORDERWIDTH - 1; frame.pt2.x = frame.pt1.x; -- cgit v1.2.3