diff options
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; |