VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Macros
radarCoverageAltitudeSettings.h File Reference

Go to the source code of this file.

Classes

class  DtRadarCoverageAltitudeSettings
 

Macros

#define COLOR_TO_INT(r, g, b, a)   (unsigned int)((r & 0x000000ff) | ((g << 8) & 0x0000ff00) | ((b << 16) & 0x00ff0000) | ((a << 24) & 0xff000000))
 
#define COLOR_R(c)   (unsigned int)(c & 0x000000ff)
 
#define COLOR_G(c)   (unsigned int)((c & 0x0000ff00) >> 8)
 
#define COLOR_B(c)   (unsigned int)((c & 0x00ff0000) >> 16)
 
#define COLOR_A(c)   (unsigned int)((c & 0xff000000) >> 24)
 

Macro Definition Documentation

#define COLOR_TO_INT (   r,
  g,
  b,
 
)    (unsigned int)((r & 0x000000ff) | ((g << 8) & 0x0000ff00) | ((b << 16) & 0x00ff0000) | ((a << 24) & 0xff000000))

Simple map of altitude in meters and colors as ARGB as an unsigned interger.

Referenced by makVrf::DtVrfExtendedIntervisibilitySettingsData::Color::color().

#define COLOR_R (   c)    (unsigned int)(c & 0x000000ff)
#define COLOR_G (   c)    (unsigned int)((c & 0x0000ff00) >> 8)
#define COLOR_B (   c)    (unsigned int)((c & 0x00ff0000) >> 16)
#define COLOR_A (   c)    (unsigned int)((c & 0xff000000) >> 24)

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)