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
* graphics/nxbe/nxbe_bitmap.c: Fix an error in the error handling that
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.
* tools/incdir.sh: Fix issues when g++ is used as the compiler. It was
not being recognized and handled properly.
@ -2192,7 +2192,7 @@
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
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.
* 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
@ -6187,4 +6187,6 @@
header file (2013-12-9).
* include/nuttx/video/fb.h: Move fb.h to include/nuttx/video/
(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/lcd/lcd.h>
#include <nuttx/rgbcolors.h>
#include <nuttx/video/rgbcolors.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
*
* Copyright (C) 2010-2011, 2013 Gregory Nutt. All rights reserved.
@ -34,8 +34,8 @@
*
****************************************************************************/
#ifndef __INCLUDE_NUTTX_RGBCOLOR_H
#define __INCLUDE_NUTTX_RGBCOLOR_H
#ifndef __INCLUDE_NUTTX_VIDEO_RGBCOLOR_H
#define __INCLUDE_NUTTX_VIDEO_RGBCOLOR_H
/****************************************************************************
* Included Files
@ -313,4 +313,4 @@ extern "C" {
#endif
#endif /* __ASSEMBLY__ */
#endif /* __INCLUDE_NUTTX_RGBCOLOR_H */
#endif /* __INCLUDE_NUTTX_VIDEO_RGBCOLOR_H */