Fix tiny drawing errors in frame
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1419 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
0c09d4885a
commit
b702a15c16
Binary file not shown.
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.7 KiB |
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user