Move rgbcolors.h to include/nuttx/video

This commit is contained in:
Gregory Nutt 2013-12-10 09:29:20 -06:00
parent e282aad903
commit beda9787b4
3 changed files with 9 additions and 7 deletions

View File

@ -2172,7 +2172,7 @@
interfaces to read from graphics memory interfaces to read from graphics memory
* graphics/nxbe/nxbe_bitmap.c: Fix an error in the error handling that * graphics/nxbe/nxbe_bitmap.c: Fix an error in the error handling that
can cause valid bitmaps to fail to render. can cause valid bitmaps to fail to render.
* include/nuttx/rgbcolors.h: Fix errors in some 16- and 8-bit color * include/nuttx/video/rgbcolors.h: Fix errors in some 16- and 8-bit color
conversion macros. conversion macros.
* tools/incdir.sh: Fix issues when g++ is used as the compiler. It was * tools/incdir.sh: Fix issues when g++ is used as the compiler. It was
not being recognized and handled properly. not being recognized and handled properly.
@ -2192,7 +2192,7 @@
supports using "clusters" of AT24 pages as blocks. This allows bigger supports using "clusters" of AT24 pages as blocks. This allows bigger
block sizes and more efficient use of EEPROM when the AT24 is used to block sizes and more efficient use of EEPROM when the AT24 is used to
support a file system (such as NXFFS). (Contributed by Hal Glenn). support a file system (such as NXFFS). (Contributed by Hal Glenn).
* include/nuttx/rgbcolors.h: More fixes to RGB color conversion * include/nuttx/video/rgbcolors.h: More fixes to RGB color conversion
macros. macros.
* arch/arm/src/common/up_createstack.c and up_usestack.c: For ARM EABI * arch/arm/src/common/up_createstack.c and up_usestack.c: For ARM EABI
the stack must be aligned to 8-byte boundaries. This is necessary for the stack must be aligned to 8-byte boundaries. This is necessary for
@ -6187,4 +6187,6 @@
header file (2013-12-9). header file (2013-12-9).
* include/nuttx/video/fb.h: Move fb.h to include/nuttx/video/ * include/nuttx/video/fb.h: Move fb.h to include/nuttx/video/
(2013-12-10). (2013-12-10).
* include/nuttx/video/rgbcolors.h: Move rgbcolors.h to include/nuttx/video.
(2013-12-10).

View File

@ -119,7 +119,7 @@
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include <nuttx/lcd/lcd.h> #include <nuttx/lcd/lcd.h>
#include <nuttx/rgbcolors.h> #include <nuttx/video/rgbcolors.h>
#include <arch/irq.h> #include <arch/irq.h>

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* include/nuttx/rgbcolors.h * include/nuttx/video/rgbcolors.h
* User-friendly RGB color definitions * User-friendly RGB color definitions
* *
* Copyright (C) 2010-2011, 2013 Gregory Nutt. All rights reserved. * Copyright (C) 2010-2011, 2013 Gregory Nutt. All rights reserved.
@ -34,8 +34,8 @@
* *
****************************************************************************/ ****************************************************************************/
#ifndef __INCLUDE_NUTTX_RGBCOLOR_H #ifndef __INCLUDE_NUTTX_VIDEO_RGBCOLOR_H
#define __INCLUDE_NUTTX_RGBCOLOR_H #define __INCLUDE_NUTTX_VIDEO_RGBCOLOR_H
/**************************************************************************** /****************************************************************************
* Included Files * Included Files
@ -313,4 +313,4 @@ extern "C" {
#endif #endif
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
#endif /* __INCLUDE_NUTTX_RGBCOLOR_H */ #endif /* __INCLUDE_NUTTX_VIDEO_RGBCOLOR_H */