gbLib/include/gbColor.hpp File Reference

ghulbusGraphics - The Ghulbus Graphics Library More...

Go to the source code of this file.

Namespaces

namespace  GhulbusGraphics
namespace  GhulbusGraphics::GBCOLOR32

Typedefs

typedef unsigned int GhulbusGraphics::GBCOLOR
 32 bit color type A 32 bit RGBA color value; The actual bit pattern is platform dependent:
  • Win32 Direct3D9: AAAA AAAA RRRR RRRR GGGG GGGG BBBB BBBB
  • SDL OpenGL: AAAA AAAA BBBB BBBB GGGG GGGG RRRR RRRR

typedef unsigned char GhulbusGraphics::GBCOLOR_COMPONENT
 8 bit color component type

Functions

GBCOLOR GhulbusGraphics::GBCOLOR32::XRGB (GBCOLOR_COMPONENT r, GBCOLOR_COMPONENT g, GBCOLOR_COMPONENT b)
GBCOLOR GhulbusGraphics::GBCOLOR32::XRGB (int r, int g, int b)
GBCOLOR GhulbusGraphics::GBCOLOR32::ARGB (GBCOLOR_COMPONENT a, GBCOLOR_COMPONENT r, GBCOLOR_COMPONENT g, GBCOLOR_COMPONENT b)
GBCOLOR GhulbusGraphics::GBCOLOR32::ARGB (int a, int r, int g, int b)
GBCOLOR_COMPONENT GhulbusGraphics::GBCOLOR32::GetR (GBCOLOR c)
GBCOLOR_COMPONENT GhulbusGraphics::GBCOLOR32::GetG (GBCOLOR c)
GBCOLOR_COMPONENT GhulbusGraphics::GBCOLOR32::GetB (GBCOLOR c)
GBCOLOR_COMPONENT GhulbusGraphics::GBCOLOR32::GetA (GBCOLOR c)


Detailed Description

ghulbusGraphics - The Ghulbus Graphics Library

gbGraphics Definition of color format

Version:
1.1
Author:
Andreas Weis

Generated on Sat Jan 19 18:58:21 2008 for PS2 IconSys Library by  doxygen 1.5.4