From bc4d0f11678c9636aedcd03fe31d675d1578a6c2 Mon Sep 17 00:00:00 2001
From: patacongo Last Updated: July 23, 2011 Last Updated: July 24, 2011
NX Graphics Subsystem
- include/nuttx/nx.h and, hence,
+ Both conform to the same APIs as defined in include/nuttx/nx/nx.h and, hence,
are interchangable1.
NX can be used without NXWIDGETS and without NXTOOLKIT for raw window displays.
include/nuttx/nxglib.h
+ include/nuttx/nx/nxglib.h
include/nuttx/nx.h
+ include/nuttx/nx/nx.h
include/nutt/nxtk.h
include/nutt/nxfont.h
include/nuttx/nxwidgets.h
+ include/nuttx/nx/nxwidgets.h
include/nuttx/nxglib.h for the full set of APIs;
+ See include/nuttx/nx/nxglib.h for the full set of APIs;
those APIs might be of interest if you are rendering directly into
framebuffer or LCD memory.
@@ -512,7 +512,7 @@ struct nxgl_trapezoid_s
nxgl_rgb2yuv()Function Prototype:
-#include <nuttx/nxglib.h> +#include <nuttx/nx/nxglib.h> void nxgl_rgb2yuv(uint8_t r, uint8_t g, uint8_t b, uint8_t *y, uint8_t *u, uint8_t *v);
@@ -523,7 +523,7 @@ void nxgl_rgb2yuv(uint8_t r, uint8_t g, uint8_t b, uint8_t *y, uint8_t *u, uint8
nxgl_yuv2rgb()Function Prototype:
-#include <nuttx/nxglib.h> +#include <nuttx/nx/nxglib.h> void nxgl_yuv2rgb(uint8_t y, uint8_t u, uint8_t v, uint8_t *r, uint8_t *g, uint8_t *b);
@@ -534,7 +534,7 @@ void nxgl_yuv2rgb(uint8_t y, uint8_t u, uint8_t v, uint8_t *r, uint8_t *g, uint8
nxgl_rectcopy()Function Prototype:
-#include <nuttx/nxglib.h>
+#include <nuttx/nx/nxglib.h>
void nxgl_rectcopy(FAR struct nxgl_rect_s *dest,
FAR const struct nxgl_rect_s *src);
@@ -547,7 +547,7 @@ void nxgl_rectcopy(FAR struct nxgl_rect_s *dest,
nxgl_rectoffset()Function Prototype:
-#include <nuttx/nxglib.h>
+#include <nuttx/nx/nxglib.h>
void nxgl_rectoffset(FAR struct nxgl_rect_s *dest,
FAR const struct nxgl_rect_s *src,
nxgl_coord_t dx, nxgl_coord_t dy);
@@ -560,7 +560,7 @@ void nxgl_rectoffset(FAR struct nxgl_rect_s *dest,
2.2.5 nxgl_vectoradd()
Function Prototype:
-#include <nuttx/nxglib.h>
+#include <nuttx/nx/nxglib.h>
void nxgl_vectoradd(FAR struct nxgl_point_s *dest,
FAR const struct nxgl_point_s *v1,
FAR const struct nxgl_point_s *v2);
@@ -573,7 +573,7 @@ void nxgl_vectoradd(FAR struct nxgl_point_s *dest,
2.2.6 nxgl_vectorsubtract()
Function Prototype:
-#include <nuttx/nxglib.h>
+#include <nuttx/nx/nxglib.h>
void nxgl_vectsubtract(FAR struct nxgl_point_s *dest,
FAR const struct nxgl_point_s *v1,
FAR const struct nxgl_point_s *v2);
@@ -586,7 +586,7 @@ void nxgl_vectsubtract(FAR struct nxgl_point_s *dest,
2.2.7 nxgl_rectintersect()
Function Prototype:
-#include <nuttx/nxglib.h>
+#include <nuttx/nx/nxglib.h>
void nxgl_rectintersect(FAR struct nxgl_rect_s *dest,
FAR const struct nxgl_rect_s *src1,
FAR const struct nxgl_rect_s *src2);
@@ -599,7 +599,7 @@ void nxgl_rectintersect(FAR struct nxgl_rect_s *dest,
2.2.8 nxgl_rectunion()
Function Prototype:
-#include <nuttx/nxglib.h>
+#include <nuttx/nx/nxglib.h>
void nxgl_rectunion(FAR struct nxgl_rect_s *dest,
FAR const struct nxgl_rect_s *src1,
FAR const struct nxgl_rect_s *src2);
@@ -613,7 +613,7 @@ void nxgl_rectunion(FAR struct nxgl_rect_s *dest,
2.2.9 nxgl_nonintersecting()
Function Prototype:
-#include <nuttx/nxglib.h>
+#include <nuttx/nx/nxglib.h>
nxgl_nonintersecting(FAR struct nxgl_rect_s result[4],
FAR const struct nxgl_rect_s *rect1,
FAR const struct nxgl_rect_s *rect2);
@@ -628,7 +628,7 @@ nxgl_nonintersecting(FAR struct nxgl_rect_s result[4],
2.2.10 nxgl_rectoverlap()
Function Prototype:
-#include <nuttx/nxglib.h>
+#include <nuttx/nx/nxglib.h>
bool nxgl_rectoverlap(FAR struct nxgl_rect_s *rect1,
FAR struct nxgl_rect_s *rect2);
@@ -640,7 +640,7 @@ bool nxgl_rectoverlap(FAR struct nxgl_rect_s *rect1,
nxgl_rectinside()Function Prototype:
-#include <nuttx/nxglib.h>
+#include <nuttx/nx/nxglib.h>
bool nxgl_rectinside(FAR const struct nxgl_rect_s *rect,
FAR const struct nxgl_point_s *pt);
@@ -652,7 +652,7 @@ bool nxgl_rectinside(FAR const struct nxgl_rect_s *rect,
nxgl_rectsize()Function Prototype:
-#include <nuttx/nxglib.h>
+#include <nuttx/nx/nxglib.h>
void nxgl_rectsize(FAR struct nxgl_size_s *size,
FAR const struct nxgl_rect_s *rect);
@@ -664,7 +664,7 @@ void nxgl_rectsize(FAR struct nxgl_size_s *size,
nxgl_nullrect()Function Prototype:
-#include <nuttx/nxglib.h> +#include <nuttx/nx/nxglib.h> bool nxgl_nullrect(FAR const struct nxgl_rect_s *rect);
@@ -675,7 +675,7 @@ bool nxgl_nullrect(FAR const struct nxgl_rect_s *rect);
nxgl_runoffset()Function Prototype:
-#include <nuttx/nxglib.h>
+#include <nuttx/nx/nxglib.h>
void nxgl_runoffset(FAR struct nxgl_run_s *dest,
FAR const struct nxgl_run_s *src,
nxgl_coord_t dx, nxgl_coord_t dy);
@@ -688,7 +688,7 @@ void nxgl_runoffset(FAR struct nxgl_run_s *dest,
2.2.15 nxgl_runcopy()
Function Prototype:
-#include <nuttx/nxglib.h>
+#include <nuttx/nx/nxglib.h>
void nxgl_runcopy(FAR struct nxgl_run_s *dest,
FAR const struct nxgl_run_s *src);
@@ -701,7 +701,7 @@ void nxgl_runcopy(FAR struct nxgl_run_s *dest,
nxgl_trapoffset()Function Prototype:
-#include <nuttx/nxglib.h>
+#include <nuttx/nx/nxglib.h>
void nxgl_trapoffset(FAR struct nxgl_trapezoid_s *dest,
FAR const struct nxgl_trapezoid_s *src,
nxgl_coord_t dx, nxgl_coord_t dy);
@@ -714,7 +714,7 @@ void nxgl_trapoffset(FAR struct nxgl_trapezoid_s *dest,
2.2.1 nxgl_trapcopy()
Function Prototype:
-#include <nuttx/nxglib.h>
+#include <nuttx/nx/nxglib.h>
void nxgl_trapcopy(FAR struct nxgl_trapezoid_s *dest,
FAR const struct nxgl_trapezoid_s *src);
@@ -727,7 +727,7 @@ void nxgl_trapcopy(FAR struct nxgl_trapezoid_s *dest,
nxgl_colorcopyFunction Prototype:
-#include <nuttx/nxglib.h>
+#include <nuttx/nx/nxglib.h>
nxgl_colorcopy(nxgl_mxpixel_t dest[CONFIG_NX_NPLANES],
const nxgl_mxpixel_t src[CONFIG_NX_NPLANES]);
@@ -929,8 +929,8 @@ void (*kbdin)(NXWINDOW hwnd, uint8_t nch, FAR const uint8_t *ch, FAR void *arg);
nx_runinstance() (and nx_run() macro)Function Prototype:
-#include <nuttx/nxglib.h> -#include <nuttx/nx.h> +#include <nuttx/nx/nxglib.h> +#include <nuttx/nx/nx.h> #ifdef CONFIG_NX_MULTIUSER int nx_runinstance(FAR const char *mqname, FAR struct fb_vtable_s *fb); @@ -970,8 +970,8 @@ int nx_runinstance(FAR const char *mqname, FAR struct fb_vtable_s *fb);2.3.5
nx_connectinstance()(andnx_connect()macro)Function Prototype:
-#include <nuttx/nxglib.h> -#include <nuttx/nx.h> +#include <nuttx/nx/nxglib.h> +#include <nuttx/nx/nx.h> #ifdef CONFIG_NX_MULTIUSER NXHANDLE nx_connectinstance(FAR const char *svrmqname); @@ -1024,8 +1024,8 @@ NXHANDLE nx_connectinstance(FAR const char *svrmqname);2.3.6
nx_open()Function Prototype:
-#include <nuttx/nxglib.h> -#include <nuttx/nx.h> +#include <nuttx/nx/nxglib.h> +#include <nuttx/nx/nx.h> #ifndef CONFIG_NX_MULTIUSER NXHANDLE nx_open(FAR struct fb_vtable_s *dev); @@ -1061,8 +1061,8 @@ NXHANDLE nx_open(FAR struct fb_vtable_s *dev);2.3.7
nx_disconnect()Function Prototype:
-#include <nuttx/nxglib.h> -#include <nuttx/nx.h> +#include <nuttx/nx/nxglib.h> +#include <nuttx/nx/nx.h> #ifdef CONFIG_NX_MULTIUSER void nx_disconnect(NXHANDLE handle); @@ -1092,8 +1092,8 @@ void nx_disconnect(NXHANDLE handle);2.3.8
nx_close()Function Prototype:
-#include <nuttx/nxglib.h> -#include <nuttx/nx.h> +#include <nuttx/nx/nxglib.h> +#include <nuttx/nx/nx.h> #ifndef CONFIG_NX_MULTIUSER void nx_close(NXHANDLE handle); @@ -1121,8 +1121,8 @@ void nx_close(NXHANDLE handle);2.3.9
nx_eventhandler()Function Prototype:
-#include <nuttx/nxglib.h> -#include <nuttx/nx.h> +#include <nuttx/nx/nxglib.h> +#include <nuttx/nx/nx.h> #ifdef CONFIG_NX_MULTIUSER int nx_eventhandler(NXHANDLE handle); @@ -1169,8 +1169,8 @@ int nx_eventhandler(NXHANDLE handle);2.3.10
nx_eventnotify()Function Prototype:
-#include <nuttx/nxglib.h> -#include <nuttx/nx.h> +#include <nuttx/nx/nxglib.h> +#include <nuttx/nx/nx.h> #if defined(CONFIG_NX_MULTIUSER) && !defined(CONFIG_DISABLE_SIGNALS) int nx_eventnotify(NXHANDLE handle, int signo); @@ -1215,8 +1215,8 @@ int nx_eventnotify(NXHANDLE handle, int signo);2.3.11
nx_openwindow()Function Prototype:
-#include <nuttx/nxglib.h>
-#include <nuttx/nx.h>
+#include <nuttx/nx/nxglib.h>
+#include <nuttx/nx/nx.h>
NXWINDOW nx_openwindow(NXHANDLE handle,
FAR const struct nx_callback_s *cb,
@@ -1248,8 +1248,8 @@ NXWINDOW nx_openwindow(NXHANDLE handle,
2.3.12 nx_closewindow()
Function Prototype:
-#include <nuttx/nxglib.h> -#include <nuttx/nx.h> +#include <nuttx/nx/nxglib.h> +#include <nuttx/nx/nx.h> int nx_closewindow(NXWINDOW hwnd);@@ -1276,8 +1276,8 @@ int nx_closewindow(NXWINDOW hwnd);
nx_requestbkgd()Function Prototype:
-#include <nuttx/nxglib.h>
-#include <nuttx/nx.h>
+#include <nuttx/nx/nxglib.h>
+#include <nuttx/nx/nx.h>
int nx_requestbkgd(NXHANDLE handle,
FAR const struct nx_callback_s *cb,
@@ -1348,8 +1348,8 @@ int nx_requestbkgd(NXHANDLE handle,
2.3.14 nx_releasebkgd()
Function Prototype:
-#include <nuttx/nxglib.h> -#include <nuttx/nx.h> +#include <nuttx/nx/nxglib.h> +#include <nuttx/nx/nx.h> int nx_releasebkgd(NXWINDOW hwnd);@@ -1378,8 +1378,8 @@ int nx_releasebkgd(NXWINDOW hwnd);
nx_getposition()Function Prototype:
-#include <nuttx/nxglib.h> -#include <nuttx/nx.h> +#include <nuttx/nx/nxglib.h> +#include <nuttx/nx/nx.h> int nx_getposition(NXWINDOW hwnd);@@ -1406,8 +1406,8 @@ int nx_getposition(NXWINDOW hwnd);
nx_setposition()Function Prototype:
-#include <nuttx/nxglib.h> -#include <nuttx/nx.h> +#include <nuttx/nx/nxglib.h> +#include <nuttx/nx/nx.h> int nx_setposition(NXWINDOW hwnd, FAR struct nxgl_point_s *pos);@@ -1435,8 +1435,8 @@ int nx_setposition(NXWINDOW hwnd, FAR struct nxgl_point_s *pos);
nx_setsize()Function Prototype:
-#include <nuttx/nxglib.h> -#include <nuttx/nx.h> +#include <nuttx/nx/nxglib.h> +#include <nuttx/nx/nx.h> int nx_setsize(NXWINDOW hwnd, FAR struct nxgl_size_s *size);@@ -1463,8 +1463,8 @@ int nx_setsize(NXWINDOW hwnd, FAR struct nxgl_size_s *size);
nx_raise()Function Prototype:
-#include <nuttx/nxglib.h> -#include <nuttx/nx.h> +#include <nuttx/nx/nxglib.h> +#include <nuttx/nx/nx.h> int nx_raise(NXWINDOW hwnd);@@ -1491,8 +1491,8 @@ int nx_raise(NXWINDOW hwnd);
nx_lower()Function Prototype:
-#include <nuttx/nxglib.h> -#include <nuttx/nx.h> +#include <nuttx/nx/nxglib.h> +#include <nuttx/nx/nx.h> int nx_lower(NXWINDOW hwnd);@@ -1519,8 +1519,8 @@ int nx_lower(NXWINDOW hwnd);
nx_fill()Function Prototype:
-#include <nuttx/nxglib.h>
-#include <nuttx/nx.h>
+#include <nuttx/nx/nxglib.h>
+#include <nuttx/nx/nx.h>
int nx_fill(NXWINDOW hwnd, FAR const struct nxgl_rect_s *rect,
nxgl_mxpixel_t color[CONFIG_NX_NPLANES]);
@@ -1550,8 +1550,8 @@ int nx_fill(NXWINDOW hwnd, FAR const struct nxgl_rect_s *rect,
2.3.21 nx_filltrapezoid()
Function Prototype:
-#include <nuttx/nxglib.h>
-#include <nuttx/nx.h>
+#include <nuttx/nx/nxglib.h>
+#include <nuttx/nx/nx.h>
int nx_filltrapezoid(NXWINDOW hwnd, FAR const struct nxgl_rect_s *clip,
FAR const struct nxgl_trapezoid_s *trap,
@@ -1584,8 +1584,8 @@ int nx_filltrapezoid(NXWINDOW hwnd, FAR const struct nxgl_rect_s *clip,
2.3.22 nx_setbgcolor()
Function Prototype:
-#include <nuttx/nxglib.h>
-#include <nuttx/nx.h>
+#include <nuttx/nx/nxglib.h>
+#include <nuttx/nx/nx.h>
int nx_setbgcolor(NXHANDLE handle,
nxgl_mxpixel_t color[CONFIG_NX_NPLANES]);
@@ -1612,8 +1612,8 @@ int nx_setbgcolor(NXHANDLE handle,
2.3.23 nx_move()
Function Prototype:
-#include <nuttx/nxglib.h>
-#include <nuttx/nx.h>
+#include <nuttx/nx/nxglib.h>
+#include <nuttx/nx/nx.h>
int nx_move(NXWINDOW hwnd, FAR const struct nxgl_rect_s *rect,
FAR const struct nxgl_point_s *offset);
@@ -1643,8 +1643,8 @@ int nx_move(NXWINDOW hwnd, FAR const struct nxgl_rect_s *rect,
2.3.24 nx_bitmap()
Function Prototype:
-#include <nuttx/nxglib.h>
-#include <nuttx/nx.h>
+#include <nuttx/nx/nxglib.h>
+#include <nuttx/nx/nx.h>
int nx_bitmap(NXWINDOW hwnd, FAR const struct nxgl_rect_s *dest,
FAR const void *src[CONFIG_NX_NPLANES],
@@ -1685,8 +1685,8 @@ int nx_bitmap(NXWINDOW hwnd, FAR const struct nxgl_rect_s *dest,
2.3.25 nx_kbdin()
Function Prototype:
-#include <nuttx/nxglib.h> -#include <nuttx/nx.h> +#include <nuttx/nx/nxglib.h> +#include <nuttx/nx/nx.h> #ifdef CONFIG_NX_KBD int nx_kbdchin(NXHANDLE handle, uint8_t ch); @@ -1708,8 +1708,8 @@ int nx_kbdin(NXHANDLE handle, uint8_t nch, FAR const uint8_t *ch);2.3.26
nx_mousein()Function Prototype:
-#include <nuttx/nxglib.h> -#include <nuttx/nx.h> +#include <nuttx/nx/nxglib.h> +#include <nuttx/nx/nx.h> #ifdef CONFIG_NX_MOUSE int nx_mousein(NXHANDLE handle, nxgl_coord_t x, nxgl_coord_t y, uint8_t buttons); @@ -1785,9 +1785,9 @@ typedef FAR void *NXTKWINDOW;2.4.2
nxtk_openwindow()Function Prototype:
-#include <nuttx/nxglib.h>
-#include <nuttx/nx.h>
-#include <nuttx/nxtk.h>
+#include <nuttx/nx/nxglib.h>
+#include <nuttx/nx/nx.h>
+#include <nuttx/nx/nxtk.h>
NXTKWINDOW nxtk_openwindow(NXHANDLE handle,
FAR const struct nx_callback_s *cb,
@@ -1819,9 +1819,9 @@ NXTKWINDOW nxtk_openwindow(NXHANDLE handle,
2.4.3 nxtk_closewindow()
Function Prototype:
-#include <nuttx/nxglib.h> -#include <nuttx/nx.h> -#include <nuttx/nxtk.h> +#include <nuttx/nx/nxglib.h> +#include <nuttx/nx/nx.h> +#include <nuttx/nx/nxtk.h> int nxtk_closewindow(NXTKWINDOW hfwnd);@@ -1846,9 +1846,9 @@ int nxtk_closewindow(NXTKWINDOW hfwnd);
nxtk_getposition()Function Prototype:
-#include <nuttx/nxglib.h> -#include <nuttx/nx.h> -#include <nuttx/nxtk.h> +#include <nuttx/nx/nxglib.h> +#include <nuttx/nx/nx.h> +#include <nuttx/nx/nxtk.h> int nxtk_getposition(NXTKWINDOW hfwnd);@@ -1875,9 +1875,9 @@ int nxtk_getposition(NXTKWINDOW hfwnd);
nxtk_setposition()Function Prototype:
-#include <nuttx/nxglib.h> -#include <nuttx/nx.h> -#include <nuttx/nxtk.h> +#include <nuttx/nx/nxglib.h> +#include <nuttx/nx/nx.h> +#include <nuttx/nx/nxtk.h> int nxtk_setposition(NXTKWINDOW hfwnd, FAR struct nxgl_point_s *pos);@@ -1906,9 +1906,9 @@ int nxtk_setposition(NXTKWINDOW hfwnd, FAR struct nxgl_point_s *pos);
nxtk_setsize()Function Prototype:
-#include <nuttx/nxglib.h> -#include <nuttx/nx.h> -#include <nuttx/nxtk.h> +#include <nuttx/nx/nxglib.h> +#include <nuttx/nx/nx.h> +#include <nuttx/nx/nxtk.h> int nxtk_setsize(NXTKWINDOW hfwnd, FAR struct nxgl_size_s *size);@@ -1937,9 +1937,9 @@ int nxtk_setsize(NXTKWINDOW hfwnd, FAR struct nxgl_size_s *size);
nxtk_raise()Function Prototype:
-#include <nuttx/nxglib.h> -#include <nuttx/nx.h> -#include <nuttx/nxtk.h> +#include <nuttx/nx/nxglib.h> +#include <nuttx/nx/nx.h> +#include <nuttx/nx/nxtk.h> int nxtk_raise(NXTKWINDOW hfwnd);@@ -1968,9 +1968,9 @@ int nxtk_raise(NXTKWINDOW hfwnd);
nxtk_lower()Function Prototype:
-#include <nuttx/nxglib.h> -#include <nuttx/nx.h> -#include <nuttx/nxtk.h> +#include <nuttx/nx/nxglib.h> +#include <nuttx/nx/nx.h> +#include <nuttx/nx/nxtk.h> int nxtk_lower(NXTKWINDOW hfwnd);@@ -1999,9 +1999,9 @@ int nxtk_lower(NXTKWINDOW hfwnd);
nxtk_fillwindow()Function Prototype:
-#include <nuttx/nxglib.h>
-#include <nuttx/nx.h>
-#include <nuttx/nxtk.h>
+#include <nuttx/nx/nxglib.h>
+#include <nuttx/nx/nx.h>
+#include <nuttx/nx/nxtk.h>
int nxtk_fillwindow(NXTKWINDOW hfwnd, FAR const struct nxgl_rect_s *rect,
nxgl_mxpixel_t color[CONFIG_NX_NPLANES]);
@@ -2031,9 +2031,9 @@ int nxtk_fillwindow(NXTKWINDOW hfwnd, FAR const struct nxgl_rect_s *rect,
2.4.10 nxtk_filltrapwindow()
Function Prototype:
-#include <nuttx/nxglib.h>
-#include <nuttx/nx.h>
-#include <nuttx/nxtk.h>
+#include <nuttx/nx/nxglib.h>
+#include <nuttx/nx/nx.h>
+#include <nuttx/nx/nxtk.h>
int nxtk_filltrapwindow(NXTKWINDOW hfwnd,
FAR const struct nxgl_trapezoid_s *trap,
@@ -2064,9 +2064,9 @@ int nxtk_filltrapwindow(NXTKWINDOW hfwnd,
2.4.11 nxtk_movewindow()
Function Prototype:
-#include <nuttx/nxglib.h>
-#include <nuttx/nx.h>
-#include <nuttx/nxtk.h>
+#include <nuttx/nx/nxglib.h>
+#include <nuttx/nx/nx.h>
+#include <nuttx/nx/nxtk.h>
int nxtk_movewindow(NXTKWINDOW hfwnd, FAR const struct nxgl_rect_s *rect,
FAR const struct nxgl_point_s *offset);
@@ -2097,9 +2097,9 @@ int nxtk_movewindow(NXTKWINDOW hfwnd, FAR const struct nxgl_rect_s *rect,
2.4.12 nxtk_bitmapwindow()
Function Prototype:
-#include <nuttx/nxglib.h>
-#include <nuttx/nx.h>
-#include <nuttx/nxtk.h>
+#include <nuttx/nx/nxglib.h>
+#include <nuttx/nx/nx.h>
+#include <nuttx/nx/nxtk.h>
int nxtk_bitmapwindow(NXTKWINDOW hfwnd,
FAR const struct nxgl_rect_s *dest,
@@ -2142,9 +2142,9 @@ int nxtk_bitmapwindow(NXTKWINDOW hfwnd,
2.4.13 nxtk_opentoolbar()
Function Prototype:
-#include <nuttx/nxglib.h>
-#include <nuttx/nx.h>
-#include <nuttx/nxtk.h>
+#include <nuttx/nx/nxglib.h>
+#include <nuttx/nx/nx.h>
+#include <nuttx/nx/nxtk.h>
int nxtk_opentoolbar(NXTKWINDOW hfwnd, nxgl_coord_t height,
FAR const struct nx_callback_s *cb,
@@ -2177,9 +2177,9 @@ int nxtk_opentoolbar(NXTKWINDOW hfwnd, nxgl_coord_t height,
2.4.14 nxtk_closetoolbar()
Function Prototype:
-#include <nuttx/nxglib.h> -#include <nuttx/nx.h> -#include <nuttx/nxtk.h> +#include <nuttx/nx/nxglib.h> +#include <nuttx/nx/nx.h> +#include <nuttx/nx/nxtk.h> int nxtk_closetoolbar(NXTKWINDOW hfwnd);@@ -2206,9 +2206,9 @@ int nxtk_closetoolbar(NXTKWINDOW hfwnd);
nxtk_filltoolbar()Function Prototype:
-#include <nuttx/nxglib.h>
-#include <nuttx/nx.h>
-#include <nuttx/nxtk.h>
+#include <nuttx/nx/nxglib.h>
+#include <nuttx/nx/nx.h>
+#include <nuttx/nx/nxtk.h>
int nxtk_filltoolbar(NXTKWINDOW hfwnd, FAR const struct nxgl_rect_s *rect,
nxgl_mxpixel_t color[CONFIG_NX_NPLANES]);
@@ -2238,9 +2238,9 @@ int nxtk_filltoolbar(NXTKWINDOW hfwnd, FAR const struct nxgl_rect_s *rect,
2.4.16 nxtk_filltraptoolbar()
Function Prototype:
-#include <nuttx/nxglib.h>
-#include <nuttx/nx.h>
-#include <nuttx/nxtk.h>
+#include <nuttx/nx/nxglib.h>
+#include <nuttx/nx/nx.h>
+#include <nuttx/nx/nxtk.h>
int nxtk_filltraptoolbar(NXTKWINDOW hfwnd, FAR const struct nxgl_trapezoid_s *trap,
nxgl_mxpixel_t color[CONFIG_NX_NPLANES]);
@@ -2270,9 +2270,9 @@ int nxtk_filltraptoolbar(NXTKWINDOW hfwnd, FAR const struct nxgl_trapezoid_s *tr
2.4.17 nxtk_movetoolbar()
Function Prototype:
-#include <nuttx/nxglib.h>
-#include <nuttx/nx.h>
-#include <nuttx/nxtk.h>
+#include <nuttx/nx/nxglib.h>
+#include <nuttx/nx/nx.h>
+#include <nuttx/nx/nxtk.h>
int nxtk_movetoolbar(NXTKWINDOW hfwnd, FAR const struct nxgl_rect_s *rect,
FAR const struct nxgl_point_s *offset);
@@ -2304,9 +2304,9 @@ int nxtk_movetoolbar(NXTKWINDOW hfwnd, FAR const struct nxgl_rect_s *rect,
2.4.18 nxtk_bitmaptoolbar()
Function Prototype:
-#include <nuttx/nxglib.h>
-#include <nuttx/nx.h>
-#include <nuttx/nxtk.h>
+#include <nuttx/nx/nxglib.h>
+#include <nuttx/nx/nx.h>
+#include <nuttx/nx/nxtk.h>
int nxtk_bitmaptoolbar(NXTKWINDOW hfwnd,
FAR const struct nxgl_rect_s *dest,
@@ -2403,7 +2403,7 @@ struct nx_font_s
2.5.2 nxf_getfonthandle()
Function Prototype:
-#include <nuttx/nxfonts.h> +#include <nuttx/nx/nxfonts.h> NXHANDLE nxf_getfonthandle(enum nx_fontid_e fontid);@@ -2426,8 +2426,8 @@ NXHANDLE nxf_getfonthandle(enum nx_fontid_e fontid);
nxf_getfontset()Function Prototype:
-#include <nuttx/nxglib.h> -#include <nuttx/nxfonts.h> +#include <nuttx/nx/nxglib.h> +#include <nuttx/nx/nxfonts.h> FAR const struct nx_font_s *nxf_getfontset(NXHANDLE handle);@@ -2450,8 +2450,8 @@ FAR const struct nx_font_s *nxf_getfontset(NXHANDLE handle);
nxf_getbitmap()Function Prototype:
-#include <nuttx/nxglib.h> -#include <nuttx/nxfonts.h> +#include <nuttx/nx/nxglib.h> +#include <nuttx/nx/nxfonts.h> FAR const struct nx_fontbitmap_s *nxf_getbitmap(NXHANDLE handle, uint16_t ch);@@ -2476,8 +2476,8 @@ FAR const struct nx_fontbitmap_s *nxf_getbitmap(NXHANDLE handle, uint16_t ch);
nxf_convert_*bpp()Function Prototype:
-#include <nuttx/nxglib.h>
-#include <nuttx/nxfonts.h>
+#include <nuttx/nx/nxglib.h>
+#include <nuttx/nx/nxfonts.h>
int nxf_convert_2bpp(FAR uint8_t *dest, uint16_t height,
uint16_t width, uint16_t stride,
@@ -2595,7 +2595,7 @@ int nxf_convert_32bpp(FAR uint32_t *dest, uint16_t height,
When combined with the generic back-end (nxbe), it implements a
single threaded, single user windowing system.
The files in this directory present the window APIs described in
- include/nuttx/nx.h.
+ include/nuttx/nx/nx.h.
The single user front-end is selected when CONFIG_NX_MULTIUSER is not
defined in the NuttX configuration file.
@@ -2604,7 +2604,7 @@ int nxf_convert_32bpp(FAR uint32_t *dest, uint16_t height,
When combined with the generic back-end (nxbe), it implements a
multi-threaded, multi-user windowing system.
The files in this directory present the window APIs described in
- include/nuttx/nx.h.
+ include/nuttx/nx/nx.h.
The multi-user front end includes a graphics server that executes on its own thread;
multiple graphics clients then communicate with the server via a POSIX message
queue to serialize window operations from many threads.
@@ -2614,13 +2614,13 @@ int nxf_convert_32bpp(FAR uint32_t *dest, uint16_t height,
graphics/nxfonts
include/nuttx/nxfonts.h.
+ See include/nuttx/nx/nxfonts.h.
graphics/nxtk
include/nuttx/nxtk.h.
+ See include/nuttx/nx/nxtk.h.
graphics/nxwidgets
+
The BDF Font Converter.
There is a tool called bdf-converter in the directory tools/..
The bdf-converter program be used to convert fonts in Bitmap Distribution Format (BDF) into fonts that can be used in the NX graphics system.
+ The BDF format most well known as a font format traditionally used for X-11 bitmap fonts.
+ A Note about Font Copyrights: + My understanding is that the underlying bitmap font data for traditional fonts cannot be copyrighted (the same is not true for scalable fonts). + This is because a copyright covers only the form of delivery of the font and not the underlying font content and, at least for the traditional typefaces, the underlying font designs are ancient. + There could be issues, however, if you convert from modern, trademarked images. + However, remember that I am a programmer not an attorney and that my knowledge of font copyright issues is limited to what I glean by Googling. +
- Below are general instructions for creating and installing a new font in the NX graphic system: + Font Installation Steps, + Below are general instructions for creating and installing a new font in the NX graphic system. + The first two steps only appy if you are using the BDF font converter program.
- Locate a font in BDF format, + Locate a font in BDF format. + There are many good BDF bitmap fonts bundled with X-11. + See this link, as an example,
- Create a new NuttX configuration variable.
+ The remaining steps apply however you managed to create the NuttX C font header file.
+ After you have your C font header file, the next thing to do is to create a new NuttX configuration variable to select the font.
For example, suppose you define the following variable: CONFIG_NXFONT_MYFONT.
Then you would need to:
A font ID number has to be assigned for each new font.
- The font ID is defined in the file include/nuttx/nxfonts.h.
+ The font IDs are defined in the file include/nuttx/nx/nxfonts.h.
Those definitions have to be extended to support your new font.
Look at how the font ID enabled by CONFIG_NXFONT_SANS23X27 is defined and add an ID for yournew font in a similar fashion:
- include/nuttx/nxfonts.h. Add you new font as a possible system default font:
+ include/nuttx/nx/nxfonts.h. Add you new font as a possible system default font:
#if defined(CONFIG_NXFONT_SANS23X27)
@@ -2816,7 +2829,7 @@ enum nx_fontid_e
nuttx/graphics/Makefile.
This file needs logic to auto-generate a C source file from the header file that you generated with the the bdf-converter program.
- Notice NXFONTS_FONTID=2; this must be set to the same font ID value that you defined in the include/nuttx/nxfonts.h file.
+ Notice NXFONTS_FONTID=2; this must be set to the same font ID value that you defined in the include/nuttx/nx/nxfonts.h file.
genfontsources: diff --git a/arch/arm/src/dm320/dm320_framebuffer.c b/arch/arm/src/dm320/dm320_framebuffer.c index 60565deee6..fc29fa007f 100644 --- a/arch/arm/src/dm320/dm320_framebuffer.c +++ b/arch/arm/src/dm320/dm320_framebuffer.c @@ -46,7 +46,7 @@ #include#include -#include +#include #include "up_arch.h" #include "dm320_memorymap.h" diff --git a/graphics/README.txt b/graphics/README.txt index 378f71a9d2..12ac8ffee5 100644 --- a/graphics/README.txt +++ b/graphics/README.txt @@ -30,7 +30,7 @@ at the present, but here is the longer term roadmap: NX - The tiny NuttX windowing system. This includes both a small-footprint, single user implementaton (NXSU as described below) and a somewhat larger multi-user implentation (NXMU as described below). Both - conform to the same APIs as defined in include/nuttx/nx.h and, hence, + conform to the same APIs as defined in include/nuttx/nx/nx.h and, hence, are more-or-less interchangable. NX can be used without NXWIDGETS and without NXTOOLKIT for raw access to window memory. NXGLIB - Low level graphics utilities and direct framebuffer rendering logic. @@ -39,11 +39,11 @@ at the present, but here is the longer term roadmap: Related Header Files ^^^^^^^^^^^^^^^^^^^^ -include/nuttx/nxglib.h -- Describes the NXGLIB C interfaces -include/nuttx/nx.h -- Describes the NX C interfaces -include/nutt/nxtk.h -- Describe the NXTOOLKIT C interfaces -include/nutt/nxfont.h -- Describe sthe NXFONT C interfaces -include/nuttx/nxwidgets.h -- Will describe the NXWIDGETS classes (no longer planned) +include/nuttx/nx/nxglib.h -- Describes the NXGLIB C interfaces +include/nuttx/nx/nx.h -- Describes the NX C interfaces +include/nuttx/nx/nxtk.h -- Describe the NXTOOLKIT C interfaces +include/nuttx/nx/nxfont.h -- Describe sthe NXFONT C interfaces +include/nuttx/nx/nxwidgets.h -- Will describe the NXWIDGETS classes (no longer planned) Directories ^^^^^^^^^^^ @@ -63,14 +63,14 @@ graphics/nxbe graphics/nxsu This is the NX single user "front end". When combined with the generic "back-end" (nxbe), it implements a single thread, single user windowing system. The files - in this directory present the window APIs described in include/nuttx/nx.h. The + in this directory present the window APIs described in include/nuttx/nx/nx.h. The single user front-end is selected when CONFIG_NX_MULTIUSER is not defined in the NuttX configuration file. graphics/nxmu This is the NX multi user "front end". When combined with the generic "back-end" (nxbe), it implements a multi-threaded, multi-user windowing system. The files - in this directory present the window APIs described in include/nuttx/nx.h. The + in this directory present the window APIs described in include/nuttx/nx/nx.h. The multi-user front end includes a graphics server that executes on its own thread; multiple graphics clients then communicate with the server via a POSIX message queue to serialize window operations from many threads. The multi-user front-end @@ -78,12 +78,12 @@ graphics/nxmu graphics/nxfonts This is where the NXFONTS implementation resides. This is a relatively low- - level set of charset set/glyph management APIs. See include/nuttx/nxfonts.h + level set of charset set/glyph management APIs. See include/nuttx/nx/nxfonts.h graphics/nxtk This is where the NXTOOLKIT implementation resides. This toolkit is built on top of NX and works with either the single-user or multi-user NX version. See - include/nuttx/nxtk.h + include/nuttx/nx/nxtk.h graphics/nxwidgets At one time, I planned to put NXWIDGETS implementation here, but not anymore. @@ -111,12 +111,12 @@ Installing New Fonts 3. Define CONFIG_NXFONT_MYFONT=y in your NuttX configuration file. A font ID number has to be assigned for each new font. The font ID - is defined in the file include/nuttx/nxfonts.h. Those definitions + is defined in the file include/nuttx/nx/nxfonts.h. Those definitions have to be extended to support your new font. Look at how the font ID enabled by CONFIG_NXFONT_SANS23X27 is defined and add an ID for your new font in a similar fashion: - 4. include/nuttx/nxfonts.h. Add you new font as a possible system + 4. include/nuttx/nx/nxfonts.h. Add you new font as a possible system default font: #if defined(CONFIG_NXFONT_SANS23X27) @@ -147,7 +147,7 @@ Installing New Fonts a C source file from the header file that you generated with the the bdf-converter program. Notice NXFONTS_FONTID=2; this must be set to the same font ID value that you defined in the - include/nuttx/nxfonts.h file. + include/nuttx/nx/nxfonts.h file. genfontsources: ifeq ($(CONFIG_NXFONT_SANS23X27),y) diff --git a/graphics/nxbe/nxbe.h b/graphics/nxbe/nxbe.h index c9e7e63817..d3c3bed827 100644 --- a/graphics/nxbe/nxbe.h +++ b/graphics/nxbe/nxbe.h @@ -45,8 +45,8 @@ #include #include -#include -#include +#include +#include /**************************************************************************** * Pre-Processor Definitions diff --git a/graphics/nxbe/nxbe_bitmap.c b/graphics/nxbe/nxbe_bitmap.c index 6977b97abe..3076b2c846 100644 --- a/graphics/nxbe/nxbe_bitmap.c +++ b/graphics/nxbe/nxbe_bitmap.c @@ -42,7 +42,7 @@ #include #include -#include +#include #include "nxbe.h" /**************************************************************************** diff --git a/graphics/nxbe/nxbe_clipper.c b/graphics/nxbe/nxbe_clipper.c index d60ee4277c..580c8bc4c8 100644 --- a/graphics/nxbe/nxbe_clipper.c +++ b/graphics/nxbe/nxbe_clipper.c @@ -44,7 +44,7 @@ #include #include -#include +#include #include "nxbe.h" /**************************************************************************** diff --git a/graphics/nxbe/nxbe_closewindow.c b/graphics/nxbe/nxbe_closewindow.c index ea87a97a4c..3c583fcfbf 100644 --- a/graphics/nxbe/nxbe_closewindow.c +++ b/graphics/nxbe/nxbe_closewindow.c @@ -43,7 +43,7 @@ #include #include -#include +#include #include "nxbe.h" /**************************************************************************** diff --git a/graphics/nxbe/nxbe_fill.c b/graphics/nxbe/nxbe_fill.c index ebec3c886f..f4aec74773 100644 --- a/graphics/nxbe/nxbe_fill.c +++ b/graphics/nxbe/nxbe_fill.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxbe/nxbe_fill.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -39,7 +39,7 @@ #include -#include +#include #include "nxbe.h" diff --git a/graphics/nxbe/nxbe_filltrapezoid.c b/graphics/nxbe/nxbe_filltrapezoid.c index ed7bf322ce..1936aede69 100644 --- a/graphics/nxbe/nxbe_filltrapezoid.c +++ b/graphics/nxbe/nxbe_filltrapezoid.c @@ -40,7 +40,7 @@ #include #include -#include +#include #include "nxbe.h" diff --git a/graphics/nxbe/nxbe_lower.c b/graphics/nxbe/nxbe_lower.c index f2f160e832..0cfcb8f7a1 100644 --- a/graphics/nxbe/nxbe_lower.c +++ b/graphics/nxbe/nxbe_lower.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxbe/nxbe_lower.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -42,7 +42,7 @@ #include #include -#include +#include #include "nxbe.h" /**************************************************************************** diff --git a/graphics/nxbe/nxbe_move.c b/graphics/nxbe/nxbe_move.c index b5c5cc6b77..c521514210 100644 --- a/graphics/nxbe/nxbe_move.c +++ b/graphics/nxbe/nxbe_move.c @@ -41,7 +41,7 @@ #include -#include +#include #include "nxbe.h" #include "nxfe.h" diff --git a/graphics/nxbe/nxbe_raise.c b/graphics/nxbe/nxbe_raise.c index fccc5965e4..7dc2113fdf 100644 --- a/graphics/nxbe/nxbe_raise.c +++ b/graphics/nxbe/nxbe_raise.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxbe/nxbe_raise.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -39,7 +39,7 @@ #include -#include +#include #include "nxbe.h" #include "nxfe.h" diff --git a/graphics/nxbe/nxbe_redraw.c b/graphics/nxbe/nxbe_redraw.c index e844bb72df..3226ccf328 100644 --- a/graphics/nxbe/nxbe_redraw.c +++ b/graphics/nxbe/nxbe_redraw.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxbe/nxbe_redraw.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -42,7 +42,7 @@ #include #include -#include +#include #include "nxbe.h" #include "nxfe.h" diff --git a/graphics/nxbe/nxbe_setposition.c b/graphics/nxbe/nxbe_setposition.c index 8535704d6e..f407eea3fa 100644 --- a/graphics/nxbe/nxbe_setposition.c +++ b/graphics/nxbe/nxbe_setposition.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxbe/nxbe_setposition.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -39,7 +39,7 @@ #include -#include +#include #include "nxbe.h" #include "nxfe.h" diff --git a/graphics/nxbe/nxbe_setsize.c b/graphics/nxbe/nxbe_setsize.c index b2597b901d..367f5d7dc9 100644 --- a/graphics/nxbe/nxbe_setsize.c +++ b/graphics/nxbe/nxbe_setsize.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxbe/nxbe_setsize.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -39,7 +39,7 @@ #include -#include +#include #include "nxbe.h" #include "nxfe.h" diff --git a/graphics/nxbe/nxbe_visible.c b/graphics/nxbe/nxbe_visible.c index 3b43c70ca9..6b8b9291bb 100644 --- a/graphics/nxbe/nxbe_visible.c +++ b/graphics/nxbe/nxbe_visible.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxbe/nxbe_redraw.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -43,7 +43,7 @@ #include #include -#include +#include #include "nxbe.h" #include "nxfe.h" diff --git a/graphics/nxfonts/nxfonts_bitmaps.c b/graphics/nxfonts/nxfonts_bitmaps.c index edd6703c45..8140e92fc7 100644 --- a/graphics/nxfonts/nxfonts_bitmaps.c +++ b/graphics/nxfonts/nxfonts_bitmaps.c @@ -40,7 +40,7 @@ #include #include -#include +#include #include "nxfonts_internal.h" diff --git a/graphics/nxfonts/nxfonts_convert.c b/graphics/nxfonts/nxfonts_convert.c index b7b99e78ad..00cd61a6cd 100644 --- a/graphics/nxfonts/nxfonts_convert.c +++ b/graphics/nxfonts/nxfonts_convert.c @@ -43,8 +43,8 @@ #include #include -#include -#include +#include +#include #include "nxfonts_internal.h" diff --git a/graphics/nxfonts/nxfonts_getfont.c b/graphics/nxfonts/nxfonts_getfont.c index 964a0c26eb..b9d77b5a7d 100644 --- a/graphics/nxfonts/nxfonts_getfont.c +++ b/graphics/nxfonts/nxfonts_getfont.c @@ -43,8 +43,8 @@ #include #include -#include -#include +#include +#include #include "nxfonts_internal.h" diff --git a/graphics/nxfonts/nxfonts_internal.h b/graphics/nxfonts/nxfonts_internal.h index 889d573b10..fa7864170d 100644 --- a/graphics/nxfonts/nxfonts_internal.h +++ b/graphics/nxfonts/nxfonts_internal.h @@ -42,7 +42,7 @@ #include -#include +#include /**************************************************************************** * Pre-processor definitions diff --git a/graphics/nxglib/fb/nxglib_copyrectangle.c b/graphics/nxglib/fb/nxglib_copyrectangle.c index 70ff8c329e..4ad792a4cb 100644 --- a/graphics/nxglib/fb/nxglib_copyrectangle.c +++ b/graphics/nxglib/fb/nxglib_copyrectangle.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxglib/fb/nxsglib_copyrectangle.c * - * Copyright (C) 2008-2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -42,7 +42,7 @@ #include #include -#include +#include #include "nxglib_bitblit.h" diff --git a/graphics/nxglib/fb/nxglib_fillrectangle.c b/graphics/nxglib/fb/nxglib_fillrectangle.c index 47fd6096fb..62b2718ee6 100644 --- a/graphics/nxglib/fb/nxglib_fillrectangle.c +++ b/graphics/nxglib/fb/nxglib_fillrectangle.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxglib/fb/nxglib_fillrectangle.c * - * Copyright (C) 2008-2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -42,7 +42,7 @@ #include #include -#include +#include #include "nxglib_bitblit.h" diff --git a/graphics/nxglib/fb/nxglib_filltrapezoid.c b/graphics/nxglib/fb/nxglib_filltrapezoid.c index 89fd5ed626..dbfdb47803 100644 --- a/graphics/nxglib/fb/nxglib_filltrapezoid.c +++ b/graphics/nxglib/fb/nxglib_filltrapezoid.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxglib/fb/nxglib_filltrapezoid.c * - * Copyright (C) 2008-2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -43,7 +43,7 @@ #include #include -#include +#include #include "nxglib_bitblit.h" diff --git a/graphics/nxglib/fb/nxglib_moverectangle.c b/graphics/nxglib/fb/nxglib_moverectangle.c index 84e0654c8d..d1bcbe7c9e 100644 --- a/graphics/nxglib/fb/nxglib_moverectangle.c +++ b/graphics/nxglib/fb/nxglib_moverectangle.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxglib/fb/nxglib_moverectangle.c * - * Copyright (C) 2008-2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -42,7 +42,7 @@ #include #include -#include +#include #include "nxglib_bitblit.h" diff --git a/graphics/nxglib/lcd/nxglib_copyrectangle.c b/graphics/nxglib/lcd/nxglib_copyrectangle.c index 084fe5cee6..988b6cb944 100755 --- a/graphics/nxglib/lcd/nxglib_copyrectangle.c +++ b/graphics/nxglib/lcd/nxglib_copyrectangle.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxglib/lcd/nxsglib_copyrectangle.c * - * Copyright (C) 2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2010-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -43,7 +43,7 @@ #include #include -#include +#include #include "nxglib_bitblit.h" #include "nxglib_copyrun.h" diff --git a/graphics/nxglib/lcd/nxglib_fillrectangle.c b/graphics/nxglib/lcd/nxglib_fillrectangle.c index ddb7fce033..90271e51c1 100755 --- a/graphics/nxglib/lcd/nxglib_fillrectangle.c +++ b/graphics/nxglib/lcd/nxglib_fillrectangle.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxglib/lcd/nxglib_fillrectangle.c * - * Copyright (C) 2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2010-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -43,7 +43,7 @@ #include #include -#include +#include #include "nxglib_bitblit.h" #include "nxglib_fillrun.h" diff --git a/graphics/nxglib/lcd/nxglib_filltrapezoid.c b/graphics/nxglib/lcd/nxglib_filltrapezoid.c index c000febb70..c0e18d116e 100755 --- a/graphics/nxglib/lcd/nxglib_filltrapezoid.c +++ b/graphics/nxglib/lcd/nxglib_filltrapezoid.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxglib/lcd/nxglib_filltrapezoid.c * - * Copyright (C) 2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2010-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -43,7 +43,7 @@ #include #include -#include +#include #include "nxglib_bitblit.h" #include "nxglib_fillrun.h" diff --git a/graphics/nxglib/lcd/nxglib_moverectangle.c b/graphics/nxglib/lcd/nxglib_moverectangle.c index daea90bf63..f82187ae3b 100755 --- a/graphics/nxglib/lcd/nxglib_moverectangle.c +++ b/graphics/nxglib/lcd/nxglib_moverectangle.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxglib/lcd/nxglib_moverectangle.c * - * Copyright (C) 2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2010-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -42,7 +42,7 @@ #include #include -#include +#include #include "nxglib_bitblit.h" diff --git a/graphics/nxglib/nxglib_bitblit.h b/graphics/nxglib/nxglib_bitblit.h index 9d04f8c78c..a272b284c2 100644 --- a/graphics/nxglib/nxglib_bitblit.h +++ b/graphics/nxglib/nxglib_bitblit.h @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxglib/nxglib_bitblit.h * - * Copyright (C) 2008-2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -44,7 +44,7 @@ #include -#include +#include /**************************************************************************** * Pre-Processor Definitions diff --git a/graphics/nxglib/nxglib_colorcopy.c b/graphics/nxglib/nxglib_colorcopy.c index ecbb3b6fe0..f99b995050 100644 --- a/graphics/nxglib/nxglib_colorcopy.c +++ b/graphics/nxglib/nxglib_colorcopy.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxglib/nxsglib_colorcopy.c * - * Copyright (C) 2008-2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -39,7 +39,7 @@ #include -#include +#include /**************************************************************************** * Pre-Processor Definitions diff --git a/graphics/nxglib/nxglib_nonintersecting.c b/graphics/nxglib/nxglib_nonintersecting.c index 0a77059a08..9cb2ec29c5 100644 --- a/graphics/nxglib/nxglib_nonintersecting.c +++ b/graphics/nxglib/nxglib_nonintersecting.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxglib/nxsglib_rectnonintersecting.c * - * Copyright (C) 2008-2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -39,7 +39,7 @@ #include -#include +#include /**************************************************************************** * Pre-Processor Definitions diff --git a/graphics/nxglib/nxglib_nullrect.c b/graphics/nxglib/nxglib_nullrect.c index fb0980480f..3e3355a45f 100644 --- a/graphics/nxglib/nxglib_nullrect.c +++ b/graphics/nxglib/nxglib_nullrect.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxglib/nxsglib_nullrect.c * - * Copyright (C) 2008-2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -41,7 +41,7 @@ #include -#include +#include /**************************************************************************** * Pre-Processor Definitions diff --git a/graphics/nxglib/nxglib_rectcopy.c b/graphics/nxglib/nxglib_rectcopy.c index 561c18e5c3..998f5b716f 100644 --- a/graphics/nxglib/nxglib_rectcopy.c +++ b/graphics/nxglib/nxglib_rectcopy.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxglib/nxsglib_rectcopy.c * - * Copyright (C) 2008-2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -39,7 +39,7 @@ #include -#include +#include /**************************************************************************** * Pre-Processor Definitions diff --git a/graphics/nxglib/nxglib_rectinside.c b/graphics/nxglib/nxglib_rectinside.c index 864de7fd6c..1c1f17a2e3 100644 --- a/graphics/nxglib/nxglib_rectinside.c +++ b/graphics/nxglib/nxglib_rectinside.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxglib/nxsglib_rectinside.c * - * Copyright (C) 2008-2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -41,7 +41,7 @@ #include -#include +#include /**************************************************************************** * Pre-Processor Definitions diff --git a/graphics/nxglib/nxglib_rectintersect.c b/graphics/nxglib/nxglib_rectintersect.c index b4e04e4402..9616357104 100644 --- a/graphics/nxglib/nxglib_rectintersect.c +++ b/graphics/nxglib/nxglib_rectintersect.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxglib/nxsglib_rectintersect.c * - * Copyright (C) 2008-2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -39,7 +39,7 @@ #include -#include +#include /**************************************************************************** * Pre-Processor Definitions diff --git a/graphics/nxglib/nxglib_rectoffset.c b/graphics/nxglib/nxglib_rectoffset.c index 95502ffc05..93481b0de5 100644 --- a/graphics/nxglib/nxglib_rectoffset.c +++ b/graphics/nxglib/nxglib_rectoffset.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxglib/nxsglib_rectoffset.c * - * Copyright (C) 2008-2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -39,7 +39,7 @@ #include -#include +#include /**************************************************************************** * Pre-Processor Definitions diff --git a/graphics/nxglib/nxglib_rectoverlap.c b/graphics/nxglib/nxglib_rectoverlap.c index 84d1cec7ba..75d7a46411 100644 --- a/graphics/nxglib/nxglib_rectoverlap.c +++ b/graphics/nxglib/nxglib_rectoverlap.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxglib/nxsglib_nulloverlap.c * - * Copyright (C) 2008-2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -41,7 +41,7 @@ #include -#include +#include /**************************************************************************** * Pre-Processor Definitions diff --git a/graphics/nxglib/nxglib_rectsize.c b/graphics/nxglib/nxglib_rectsize.c index 93cc6861e0..17a6c9214a 100644 --- a/graphics/nxglib/nxglib_rectsize.c +++ b/graphics/nxglib/nxglib_rectsize.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxglib/nxglib_rectsize.c * - * Copyright (C) 2008-2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -39,7 +39,7 @@ #include -#include +#include /**************************************************************************** * Pre-Processor Definitions diff --git a/graphics/nxglib/nxglib_rectunion.c b/graphics/nxglib/nxglib_rectunion.c index fa618f3d96..8500c919cf 100644 --- a/graphics/nxglib/nxglib_rectunion.c +++ b/graphics/nxglib/nxglib_rectunion.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxglib/nxsglib_rectunion.c * - * Copyright (C) 2008-2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -39,7 +39,7 @@ #include -#include +#include /**************************************************************************** * Pre-Processor Definitions diff --git a/graphics/nxglib/nxglib_rgb2yuv.c b/graphics/nxglib/nxglib_rgb2yuv.c index 055598406c..c439c4fe00 100644 --- a/graphics/nxglib/nxglib_rgb2yuv.c +++ b/graphics/nxglib/nxglib_rgb2yuv.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/color/nxglib_rgb2yuv.c * - * Copyright (C) 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2008, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -43,7 +43,7 @@ #include #include -#include +#include /**************************************************************************** * Pre-Processor Definitions diff --git a/graphics/nxglib/nxglib_runcopy.c b/graphics/nxglib/nxglib_runcopy.c index b5f322c9a1..4b5372f149 100644 --- a/graphics/nxglib/nxglib_runcopy.c +++ b/graphics/nxglib/nxglib_runcopy.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxglib/nxsglib_runcopy.c * - * Copyright (C) 2008-2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -39,7 +39,7 @@ #include -#include +#include /**************************************************************************** * Pre-Processor Definitions diff --git a/graphics/nxglib/nxglib_runoffset.c b/graphics/nxglib/nxglib_runoffset.c index eed9b713f2..31d0dd163e 100644 --- a/graphics/nxglib/nxglib_runoffset.c +++ b/graphics/nxglib/nxglib_runoffset.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxglib/nxsglib_runoffset.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -40,7 +40,7 @@ #include #include -#include +#include /**************************************************************************** * Pre-Processor Definitions diff --git a/graphics/nxglib/nxglib_trapcopy.c b/graphics/nxglib/nxglib_trapcopy.c index cfb27ba303..63bc0ecd81 100644 --- a/graphics/nxglib/nxglib_trapcopy.c +++ b/graphics/nxglib/nxglib_trapcopy.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxglib/nxsglib_trapcopy.c * - * Copyright (C) 2008-2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -39,7 +39,7 @@ #include -#include +#include /**************************************************************************** * Pre-Processor Definitions diff --git a/graphics/nxglib/nxglib_trapoffset.c b/graphics/nxglib/nxglib_trapoffset.c index 4f409951d1..872a310728 100644 --- a/graphics/nxglib/nxglib_trapoffset.c +++ b/graphics/nxglib/nxglib_trapoffset.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxglib/nxsglib_trapoffset.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -39,7 +39,7 @@ #include -#include +#include /**************************************************************************** * Pre-Processor Definitions diff --git a/graphics/nxglib/nxglib_vectoradd.c b/graphics/nxglib/nxglib_vectoradd.c index 031d9cd0a0..b206effa60 100644 --- a/graphics/nxglib/nxglib_vectoradd.c +++ b/graphics/nxglib/nxglib_vectoradd.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxglib/nxsglib_vectoradd.c * - * Copyright (C) 2008-2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -39,7 +39,7 @@ #include -#include +#include /**************************************************************************** * Pre-Processor Definitions diff --git a/graphics/nxglib/nxglib_vectsubtract.c b/graphics/nxglib/nxglib_vectsubtract.c index a30b5c39a2..81ffc86fb0 100644 --- a/graphics/nxglib/nxglib_vectsubtract.c +++ b/graphics/nxglib/nxglib_vectsubtract.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxglib/nxsglib_vectorsubtract.c * - * Copyright (C) 2008-2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -39,7 +39,7 @@ #include -#include +#include /**************************************************************************** * Pre-Processor Definitions diff --git a/graphics/nxglib/nxglib_yuv2rgb.c b/graphics/nxglib/nxglib_yuv2rgb.c index 354b18bc89..9a3cb1f228 100644 --- a/graphics/nxglib/nxglib_yuv2rgb.c +++ b/graphics/nxglib/nxglib_yuv2rgb.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/color/nxglib_yuv2rgb.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -43,7 +43,7 @@ #include #include -#include +#include /**************************************************************************** * Pre-Processor Definitions diff --git a/graphics/nxmu/nx_bitmap.c b/graphics/nxmu/nx_bitmap.c index 04bbb0d081..6e16b2c34b 100644 --- a/graphics/nxmu/nx_bitmap.c +++ b/graphics/nxmu/nx_bitmap.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxmu/nx_bitmap.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -42,7 +42,7 @@ #include #include -#include +#include #include "nxbe.h" #include "nxfe.h" diff --git a/graphics/nxmu/nx_closewindow.c b/graphics/nxmu/nx_closewindow.c index 2b87af87a9..22583f41b6 100644 --- a/graphics/nxmu/nx_closewindow.c +++ b/graphics/nxmu/nx_closewindow.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxmu/nx_closewindow.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -43,7 +43,7 @@ #include #include -#include +#include #include "nxfe.h" /**************************************************************************** diff --git a/graphics/nxmu/nx_connect.c b/graphics/nxmu/nx_connect.c index dcfbd29960..e872f35058 100644 --- a/graphics/nxmu/nx_connect.c +++ b/graphics/nxmu/nx_connect.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxmu/nx_connect.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -47,7 +47,7 @@ #include #include -#include +#include #include "nxfe.h" /**************************************************************************** diff --git a/graphics/nxmu/nx_disconnect.c b/graphics/nxmu/nx_disconnect.c index 82cb318ffc..24fb114f49 100644 --- a/graphics/nxmu/nx_disconnect.c +++ b/graphics/nxmu/nx_disconnect.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxmu/nx_disconnect.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -43,7 +43,7 @@ #include #include -#include +#include #include "nxfe.h" /**************************************************************************** diff --git a/graphics/nxmu/nx_eventhandler.c b/graphics/nxmu/nx_eventhandler.c index a8b97ffbbe..d59364c2ee 100644 --- a/graphics/nxmu/nx_eventhandler.c +++ b/graphics/nxmu/nx_eventhandler.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxmu/nx_eventhandler.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -46,7 +46,7 @@ #include #include -#include +#include #include "nxfe.h" /**************************************************************************** diff --git a/graphics/nxmu/nx_eventnotify.c b/graphics/nxmu/nx_eventnotify.c index 5ea712a703..1892413618 100644 --- a/graphics/nxmu/nx_eventnotify.c +++ b/graphics/nxmu/nx_eventnotify.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxmu/nx_eventnotify.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -45,7 +45,7 @@ #include #include -#include +#include #include "nxfe.h" #ifndef CONFIG_DISABLE_SIGNALS diff --git a/graphics/nxmu/nx_fill.c b/graphics/nxmu/nx_fill.c index f87ed3004b..1b75cd9748 100644 --- a/graphics/nxmu/nx_fill.c +++ b/graphics/nxmu/nx_fill.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxmu/nx_fill.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -43,8 +43,8 @@ #include #include -#include -#include +#include +#include #include "nxfe.h" diff --git a/graphics/nxmu/nx_filltrapezoid.c b/graphics/nxmu/nx_filltrapezoid.c index b573dce196..8708225d36 100644 --- a/graphics/nxmu/nx_filltrapezoid.c +++ b/graphics/nxmu/nx_filltrapezoid.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxmu/nx_filltrapezoid.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -44,7 +44,7 @@ #include #include -#include +#include #include "nxfe.h" diff --git a/graphics/nxmu/nx_getposition.c b/graphics/nxmu/nx_getposition.c index a57645da43..d53ddf14b6 100644 --- a/graphics/nxmu/nx_getposition.c +++ b/graphics/nxmu/nx_getposition.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxmu/nx_getposition.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -42,7 +42,7 @@ #include #include -#include +#include #include "nxfe.h" /**************************************************************************** diff --git a/graphics/nxmu/nx_kbdchin.c b/graphics/nxmu/nx_kbdchin.c index eb3ed80139..9393e12539 100644 --- a/graphics/nxmu/nx_kbdchin.c +++ b/graphics/nxmu/nx_kbdchin.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxmu/nx_kbdchin.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -43,7 +43,7 @@ #include #include -#include +#include #include "nxfe.h" #ifdef CONFIG_NX_KBD diff --git a/graphics/nxmu/nx_kbdin.c b/graphics/nxmu/nx_kbdin.c index d4951bb13e..c265f86c19 100644 --- a/graphics/nxmu/nx_kbdin.c +++ b/graphics/nxmu/nx_kbdin.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxmu/nx_kbdin.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -44,7 +44,7 @@ #include