Skip to content
Snippets Groups Projects
Commit b702a15c authored by patacongo's avatar patacongo
Browse files

Fix tiny drawing errors in frame

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1419 42af7a65-404d-4744-a932-0658087f49c3
parent 0c09d488
No related branches found
No related tags found
No related merge requests found
Documentation/NuttXScreenShot.jpg

5.81 KiB | W: | H:

Documentation/NuttXScreenShot.jpg

5.73 KiB | W: | H:

Documentation/NuttXScreenShot.jpg
Documentation/NuttXScreenShot.jpg
Documentation/NuttXScreenShot.jpg
Documentation/NuttXScreenShot.jpg
  • 2-up
  • Swipe
  • Onion skin
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment