diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-05 02:36:05 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-05 02:36:05 +0000 |
commit | 1379fe5ea1d7f32ce48238bd2ad16637d55a38ba (patch) | |
tree | 5f45b857a8957d39377aabab18b674434c67ff07 /nuttx | |
parent | 211eb4e759e61b867d4d5a8c8e6b80038b9b99dd (diff) | |
download | px4-nuttx-1379fe5ea1d7f32ce48238bd2ad16637d55a38ba.tar.gz px4-nuttx-1379fe5ea1d7f32ce48238bd2ad16637d55a38ba.tar.bz2 px4-nuttx-1379fe5ea1d7f32ce48238bd2ad16637d55a38ba.zip |
Fix tiny drawing errors in frame
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1419 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/Documentation/NuttXScreenShot.jpg | bin | 5950 -> 5872 bytes | |||
-rw-r--r-- | nuttx/graphics/nxtk/nxtk_drawframe.c | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/Documentation/NuttXScreenShot.jpg b/nuttx/Documentation/NuttXScreenShot.jpg Binary files differindex 199686b50..f5a9dc1fe 100644 --- a/nuttx/Documentation/NuttXScreenShot.jpg +++ b/nuttx/Documentation/NuttXScreenShot.jpg 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; |