Back to index

nux  3.0.0
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
nux Namespace Reference

The Writer singleton is responsible for controlling where the logging message go. More...

Namespaces

namespace  color
namespace  constants
namespace  local
namespace  logging
namespace  testing
namespace  type

Classes

class  AbstractSeparator
class  BasicCoverflowItem
class  HSeparator
class  AbstractButton
 The base class of button type widgets. More...
class  AbstractCheckedButton
 AbstractCheckedButton class. More...
class  AbstractComboBox
class  AbstractPaintLayer
class  AbstractThread
class  ActionItem
class  AnimatedTextureArea
class  Area
class  BaseWindow
 A floating area on top of the main window. More...
class  Button
 A Button with styling(image + text) More...
class  CairoWrapper
class  Canvas
class  CheckBox
 CheckBox class. More...
struct  ClientAreaDraw
class  ClientArea
class  ColorDialogProxy
class  ColorEditor
class  ColorPickerDialog
class  ColorPreview
class  Coverflow
class  CoverflowItem
class  CoverflowModel
class  Dialog
class  DoubleValidator
class  EditTextBox
class  EMMetrics
class  FileSelector
class  FloatingWindow
class  GridHLayout
 An horizontal grid layout. More...
class  GroupBox
 A stretch factor of 0 or 1 for the GroupBox has no effect because the GroupBox is designed to tightly adjust to the size of its composition layout. More...
class  GroupBox2
 A stretch factor of 0 or 1 for the GroupBox has no effect because the GroupBox is designed to tightly adjust to the size of its composition layout. More...
class  HexRegExpValidator
class  HLayout
class  HScrollBar
class  HSplitter
class  InputArea
class  KeyEvent
class  ProcessKeyEventData
class  IBusIMEContext
class  IntegerValidator
class  BaseKeyboardHandler
class  LayeredLayout
 An layered layout. More...
class  Layout
class  SpaceLayout
class  LinearLayout
struct  NuxEventSource
struct  TimeoutData
class  MenuBarItem
class  MenuBar
class  MenuItem
class  MenuSeparator
class  MenuPage
class  MouseAreaCtrl
class  NumericValuator
class  NuxGlobalSingletonInitializer
class  NuxGlobalInitializer
class  GeometryPositioning
class  InteractState
 State of UI controls. More...
class  TextureAlignmentStyle
class  BasePainter
class  PushBackgroundScope
class  PushShapeBackgroundScope
class  PushShapeCornerBackgroundScope
class  PushColorBackgroundScope
class  ColorLayer
class  ShapeLayer
class  SliceScaledTextureLayer
class  CompositionLayer
class  TextureLayer
class  Panel
class  PopUpWindow
class  TestTextEntry
class  TestView
class  RadioButton
 RadioButton class. More...
class  RadioButtonGroup
 RadioButtonGroup select one of many radio button in a group. More...
class  RangeValue
class  RangeValueInteger
class  RGBValuator
class  ScrollBar
class  ScrollView
class  SpinBox
class  SpinBox_Logic
class  SpinBoxDouble
class  StaticText
 A View that renders as static text. More...
class  StaticTextBox
class  SystemThread
class  TabView
class  CairoFont
class  TextEntry
class  TextLoader
class  TextureArea
 Represent a rectangular area painted with a color or a texture layer. More...
struct  UXStyle
struct  PainterImage
class  UXTheme
class  Timeline
class  TimelineEaseInOutQuad
class  TimelineEaseInQuad
class  TimelineEaseOutQuad
class  TimelineEaseInOutCubic
class  TimelineEaseInCubic
class  TimelineEaseOutCubic
struct  TimeStruct
class  TimerObject
class  TimeOutSignal
 A timeout callback. Fires a signal when a timer expires. More...
class  TimerHandle
class  TimerHandler
 A timer manager class created by WindowThread. More...
class  ToggleButton
 A Button with a persistent activate state. More...
class  ToolButton
struct  DrawAreaContext
class  Validator
class  View
class  VLayout
class  VScrollBar
class  VSplitter
class  WindowCompositor
 A user interface composition class created by WindowThread. More...
class  WindowThread
 Main class of a Nux window app. More...
class  AsyncFileWriter
 Write to a file asynchronously. More...
class  UnicharToAnsicharConvertion
class  AnsicharToUnicharConvertion
 ANSICHAR to UNICHAR conversion. More...
class  TCharToAnsiConvertion
 TCHAR to ANSI conversion. More...
class  TCharToUnicharConvertion
 TCHAR to Unichar conversion. More...
class  AnsiToTCharConversion
 ANSI to TCHAR conversion. More...
class  NCharacterConversion
 Convert from one string format to another. More...
class  NUTF8
 Convert UTF-16 to UTF-8. More...
class  NUTF16
 Convert UTF-8 to UTF-16. More...
class  Exception
class  BoundsException
class  NotSupportedException
class  DivisionByZeroException
class  InvalidIndexException
class  NFileTransferMonitor
class  NFileManager
class  NFileManagerGeneric
class  NGNUSerialFileReader
class  NGNUSerialFileWriter
class  NFileManagerGNU
class  NSerializer
class  NFileName
class  FilePath
class  GlobalSingletonInitializer
class  GlobalInitializer
class  InitiallyUnownedObject
 The base class of Nux initially unowned objects. More...
class  ComplexNumber
class  Line2D
class  Line3D
class  Matrix2x2
class  Matrix3x3
class  Matrix4x4
class  Point2D
class  Point3D
class  Quaternion
class  CubicSpline
class  Vec2
class  Vec3
class  Vec4
class  UniqueIndex
class  ObjectStats
class  Trackable
 Base class of heap allocated objects. More...
class  Object
 The base class of Nux objects. More...
class  ObjectPtr
 A smart pointer class. Implemented as an intrusive smart pointer. More...
class  ObjectWeakPtr
 A weak smart pointer class. Implemented as an intrusive smart pointer. More...
struct  NObjectType
class  LogOutputDevice
class  NullOutput
 Output to null device. More...
class  LogFileOutput
 Output to log file. More...
class  VisualOutputConsole
 Output to microsoft visual console. More...
class  PrintfOutputConsole
 Standard printf output console. More...
class  LogOutputRedirector
class  NGlobalData
class  NProcess
class  PropertyChangedSignal
class  Property
 A read/write property that stores the value type. More...
class  ROProperty
 A read only property that uses a function to get the value. More...
class  RWProperty
 A read/write property that uses a functions to get and set the value. More...
class  PropertyBase
class  Introspectable
class  SerializableProperty
class  Rect
class  Size
struct  VoidTraits
struct  VoidTraits< void >
struct  PointerTraits
struct  PointerTraits< U * >
struct  UnicodeCharTraits
struct  UnicodeCharTraits< wchar_t >
struct  AnsiCharTraits
struct  AnsiCharTraits< char >
class  TypeTraitsNoConstructor
class  TypeTraitsConstructor
class  ConstructorTraits
class  ConstructorTraits< T * >
class  ConstructorTraits< bool >
class  ConstructorTraits< char >
class  ConstructorTraits< unsigned char >
class  ConstructorTraits< short >
class  ConstructorTraits< unsigned short >
class  ConstructorTraits< int >
class  ConstructorTraits< unsigned int >
class  ConstructorTraits< long >
class  ConstructorTraits< unsigned long >
class  ConstructorTraits< long long >
class  ConstructorTraits< unsigned long long >
class  ConstructorTraits< float >
class  ConstructorTraits< double >
class  NTypeTraits
struct  RemovePointerFromType
struct  RemovePointerFromType< T * >
struct  RemovePointerFromType< const T * >
struct  RemovePointerFromType< volatile T * >
struct  RemovePointerFromType< const volatile T * >
class  TCharToUpperCase
class  TCharToLowerCase
struct  ToLowerCaseFunctor
struct  ToUpperCaseFunctor
struct  LexicographicCompare
 Compare two char or TCHAR. More...
struct  LexicographicCompareWithConversion
 Compare two char or TCHAR. More...
struct  EqualFunctor
class  NString
class  NThreadSafeCounter
class  NCriticalSection
class  NScopeLock
 Scope Lock class. More...
class  NThreadLocalStorage
class  NThread
class  TimeStamp
struct  PixelFormatInfo
struct  ReadBackPixelFormatInfo
class  CairoFontOptions
class  CairoGraphics
 A cairo graphics container. More...
struct  EventToNameStruct
class  Event
 Nux event class. More...
class  FontRenderer
class  StringBBox
class  PageBBox
struct  CharDescriptor
struct  KerningPair
struct  Charset
struct  Glyph
class  FontTexture
class  GdkGraphics
struct  _DeviceModes
class  GraphicSystem
class  GLFramebufferObject
class  GLRenderbuffer
 Renderbuffer Class. More...
class  NuxGraphicsGlobalSingletonInitializer
class  NuxGraphicsGlobalInitializer
class  PBuffer
struct  StateLookUpTable
struct  RenderStateMap
class  GpuRenderStates
struct  PixelFormatReadInfo
struct  TEXTURE_DESC
struct  _SURFACE_DESC
struct  _VOLUME_DESC
struct  _ANIMATEDTEXTURE_DESC
struct  _VERTEXBUFFER_DESC
struct  _INDEXBUFFER_DESC
struct  _LOCKED_RECT
struct  _SURFACE_RECT
struct  _VOLUME_BOX
struct  _VOLUME_LOCKED_BOX
struct  VERTEXELEMENT
class  ResourceData
 Base class for all types of resources. More...
class  NResourceSet
class  CachedResourceData
class  NResourceFactory
 Device independent resource factory. More...
class  TGLResourceFactory
class  NResourceUpdater
 Device independent resource updater. More...
class  TResourceCache
class  NResourceCache
class  GLSh_ColorPicker
class  GLSh_DrawFunction
class  GLSh_Fill
class  GLShaderParameter
struct  QuadAttributeParam
class  TemplateQuadBuffer
class  BaseTexture
 Abstract base class for textures. More...
class  Texture2D
 General Texture. More...
class  TextureRectangle
class  TextureCube
class  TextureVolume
class  TextureFrameAnimation
class  CachedBaseTexture
class  CachedTexture2D
class  CachedTextureRectangle
class  CachedTextureCube
class  CachedTextureVolume
class  CachedTextureFrameAnimation
struct  TextureStateLookUpTable
struct  TextureStateMap
class  GLTextureStates
class  GLTimer
class  VertexBuffer
class  IndexBuffer
class  VertexDeclaration
class  CachedVertexBuffer
class  CachedIndexBuffer
class  CachedVertexDeclaration
class  MeshBuffer
class  CachedMeshBuffer
class  DisplayAccessController
struct  OpenGLVersion
struct  STREAMSOURCE
class  GpuInfo
class  GpuDevice
 The interface to the GPU. More...
class  GraphicsDisplay
class  ROPConfig
class  BlendOperator
struct  OpenGLContext
class  FxStructure
class  GraphicsEngine
 Rendering engine class. More...
class  RawData
struct  DXTColBlock
struct  DXT3AlphaBlock
struct  DXT5AlphaBlock
class  ImageSurface
 Image Surface class. More...
class  NBitmapData
class  NTextureData
class  NCubemapData
class  NVolumeData
class  NAnimatedTextureData
struct  ImageInfo
class  IOpenGLAnimatedTexture
class  IOpenGLAsmShader
class  IOpenGLAsmVertexShader
class  IOpenGLAsmPixelShader
class  IOpenGLAsmShaderProgram
class  IOpenGLBaseTexture
class  IOpenGLCubeTexture
class  IOpenGLFrameBufferObject
class  IOpenGLShader
class  IOpenGLVertexShader
class  IOpenGLPixelShader
class  IOpenGLShaderProgram
class  IOpenGLIndexBuffer
class  IOpenGLPixelBufferObject
class  IOpenGLQuery
class  IOpenGLRectangleTexture
struct  ShaderAttributeDefinition
class  IOpenGLResource
class  IOpenGLSurface
class  IOpenGLTexture2D
class  IOpenGLVertexBuffer
class  IOpenGLVertexDeclaration
class  IOpenGLVolume
class  IOpenGLVolumeTexture
class  MeshData
struct  ObjMeshVertex
struct  ObjMeshFace
struct  ObjMesh
struct  _ObjMeshFaceIndex
class  NuxGraphicsResources
struct  TexWrapMapping
struct  TexFilterMapping
struct  RopBlendMapping
class  TexCoordXForm
 Texture parameter and coordinate computation class. More...
class  RenderingStats
class  XInputWindow

Typedefs

typedef void(* ThreadUserInitFunc )(NThread *, void *InitData)
typedef void(* ThreadUserExitFunc )(NThread *, void *ExitData)
typedef void(* ThreadMainFunc )(NThread *, void *MainData)
typedef BaseWindow ViewWindow
typedef void(* ConfigureNotifyCallback )(int, int, Geometry &, void *)
 A user provided callback to assert the size and position of a floating area.
typedef sigc::slot< void,
Geometry const &, cairo_t * > 
DrawCanvasCallback
typedef InputArea CoreArea
typedef TextureArea Image
typedef TimeOutSignal TimerFunctor
typedef Rect Geometry
typedef int(* EventInspector )(Area *area, Event *event, void *data)
 Event Inspector function prototype.
typedef Matrix3x3< float > Matrix3
typedef Matrix4x4< float > Matrix4
typedef Point2D< float > Point2
typedef Point3D< float > Point3
typedef Vec2< float > Vector2
typedef Vec2< float > Vertex2
typedef Vec3< float > Vector3
typedef Vec3< float > Vertex3
typedef Vec4< float > Vector4
typedef Point2D< int > Point
typedef void *(* ThreadRoutineFunc )(void *)
typedef unsigned char uchar
typedef unsigned long ulong
typedef EventType NuxEventType
typedef enum nux::_TextAlignment TextAlignment
typedef struct nux::_DeviceModes DeviceModes
typedef struct nux::_SURFACE_DESC SURFACE_DESC
typedef struct nux::_VOLUME_DESC VOLUME_DESC
typedef struct
nux::_ANIMATEDTEXTURE_DESC 
ANIMATEDTEXTURE_DESC
typedef struct
nux::_VERTEXBUFFER_DESC 
VERTEXBUFFER_DESC
typedef struct
nux::_INDEXBUFFER_DESC 
INDEXBUFFER_DESC
typedef struct nux::_LOCKED_RECT SURFACE_LOCKED_RECT
typedef struct nux::_SURFACE_RECT SURFACE_RECT
typedef struct nux::_VOLUME_BOX VOLUME_BOX
typedef struct
nux::_VOLUME_LOCKED_BOX 
VOLUME_LOCKED_BOX
typedef enum nux::_ATTRIB_DECL_TYPE ATTRIB_DECL_TYPE
typedef enum
nux::_ATTRIB_COMPONENT_TYPE 
ATTRIB_COMPONENT_TYPE

Enumerations

enum  ButtonVisualState { VISUAL_STATE_PRESSED = 0, VISUAL_STATE_NORMAL = 1, VISUAL_STATE_PRELIGHT = 2, VISUAL_STATE_DISABLED = 3 }
enum  MinorDimensionSize {
  MINOR_SIZE_FULL, MINOR_SIZE_PERCENTAGE, MINOR_SIZE_FIX, MINOR_SIZE_MATCHCONTENT,
  eFull = MINOR_SIZE_FULL, ePercentage = MINOR_SIZE_PERCENTAGE, eFix = MINOR_SIZE_FIX, eMatchContent = MINOR_SIZE_MATCHCONTENT
}
enum  MinorDimensionPosition {
  MINOR_POSITION_START, MINOR_POSITION_CENTER, MINOR_POSITION_END, MINOR_POSITION_TOP = MINOR_POSITION_START,
  MINOR_POSITION_LEFT = MINOR_POSITION_START, MINOR_POSITION_BOTTOM = MINOR_POSITION_END, MINOR_POSITION_RIGHT = MINOR_POSITION_END, eAbove = MINOR_POSITION_TOP,
  eBelow = MINOR_POSITION_BOTTOM, eLeft = MINOR_POSITION_LEFT, eRight = MINOR_POSITION_RIGHT, eCenter = MINOR_POSITION_CENTER
}
 Policy for and element position in the minor dimension of a layout. More...
enum  LayoutContentDistribution {
  MAJOR_POSITION_CENTER, MAJOR_POSITION_START, MAJOR_POSITION_END, MAJOR_POSITION_SPREAD,
  MAJOR_POSITION_TOP = MAJOR_POSITION_START, MAJOR_POSITION_BOTTOM = MAJOR_POSITION_END, MAJOR_POSITION_LEFT = MAJOR_POSITION_START, MAJOR_POSITION_RIGHT = MAJOR_POSITION_END,
  eStackTop = MAJOR_POSITION_TOP, eStackBottom = MAJOR_POSITION_BOTTOM, eStackLeft = MAJOR_POSITION_LEFT, eStackRight = MAJOR_POSITION_RIGHT,
  eStackCenter = MAJOR_POSITION_CENTER, eStackExpand = MAJOR_POSITION_SPREAD
}
 Control how a layout distribute its children position. More...
enum  SizeCompliance {
  SIZE_EQUAL_WIDTH = (1L), SIZE_EQUAL_HEIGHT = (1L) << 1, SIZE_SMALLER_WIDTH = (1L) << 2, SIZE_SMALLER_HEIGHT = (1L) << 3,
  SIZE_LARGER_WIDTH = (1L) << 4, SIZE_LARGER_HEIGHT = (1L) << 5, SIZE_FORCE_COMPLY = (1L) << 6, eCompliantWidth = SIZE_EQUAL_WIDTH,
  eCompliantHeight = SIZE_EQUAL_HEIGHT, eSmallerWidth = SIZE_SMALLER_WIDTH, eSmallerHeight = SIZE_SMALLER_HEIGHT, eLargerWidth = SIZE_LARGER_WIDTH,
  eLargerHeight = SIZE_LARGER_HEIGHT, eForceComply = SIZE_FORCE_COMPLY
}
enum  KeyNavDirection {
  KEY_NAV_NONE, KEY_NAV_UP, KEY_NAV_DOWN, KEY_NAV_RIGHT,
  KEY_NAV_LEFT, KEY_NAV_TAB_NEXT, KEY_NAV_TAB_PREVIOUS, KEY_NAV_ENTER
}
enum  Position { NUX_POSITION_LEFT, NUX_POSITION_RIGHT, NUX_POSITION_TOP, NUX_POSITION_BOTTOM }
enum  LayoutPosition { NUX_LAYOUT_BEGIN = 0, NUX_LAYOUT_END = 0x7fffffff }
enum  UXStyleImageRef {
  eIMAGE_STYLE_NONE = 0, eSTROKE_CORNER_SQUARE, eSTROKE_CORNER_ROUND1, eSTROKE_CORNER_ROUND2,
  eSTROKE_CORNER_ROUND4, eSTROKE_CORNER_ROUND10, eSHAPE_CORNER_SQUARE, eSHAPE_CORNER_ROUND1,
  eSHAPE_CORNER_ROUND2, eSHAPE_CORNER_ROUND4, eSHAPE_CORNER_ROUND5, eSHAPE_CORNER_ROUND6,
  eSHAPE_CORNER_ROUND10, eSHAPE_CORNER_ROUND10_SHADOW, eSHAPE_CORNER_ROUND4_SHADOW, eSHAPE_CORNER_SHADOW,
  eTRIANGLE_UP, eTRIANGLE_DOWN, eTRIANGLE_LEFT, eTRIANGLE_RIGHT,
  eWINDOW_SIZEGRIP, eSHAPE_CHECK_MARK, eSHAPE_CHECK_BOX_FOCUS, eSHAPE_CHECK_BOX_PRELIGHT,
  eSHAPE_CHECK_BOX, eCHECKBOX_NORMAL_ON, eCHECKBOX_NORMAL_OFF, eCHECKBOX_FOCUS_ON,
  eCHECKBOX_FOCUS_OFF, eCHECKBOX_PRELIGHT_ON, eCHECKBOX_PRELIGHT_OFF, eRADIO_NORMAL_ON,
  eRADIO_NORMAL_OFF, eRADIO_FOCUS_ON, eRADIO_FOCUS_OFF, eRADIO_PRELIGHT_ON,
  eRADIO_PRELIGHT_OFF, eBUTTON_NORMAL, eBUTTON_FOCUS, eBUTTON_PRELIGHT,
  eSPINNERUP, eSPINNERDOWN, eCOMBOBOX_OPEN_BUTTON, eTAB_LEFT,
  eTAB_RIGHT, eSPINER_UP, eSPINER_DOWN, eTREE_NODE_OPEN,
  eTREE_NODE_CLOSE, eSCROLLBAR_TRIANGLE_UP, eSCROLLBAR_TRIANGLE_DOWN, eSCROLLBAR_TRIANGLE_LEFT,
  eSCROLLBAR_TRIANGLE_RIGHT, eVECTORXLABEL, eVECTORYLABEL, eVECTORZLABEL,
  eVECTORWLABEL, eVALUATORVERTICALMOVE, eVALUATORHORIZONTALMOVE, eVALUATORMOVE,
  eHSCROLLBAR, eVSCROLLBAR, eMATRIX3PREVIEW, eMATRIX4PREVIEW,
  eDOT6x6, eGraphIcon, eGraphBarIcon, eWindowCloseButton
}
enum  EventCycleStatus {
  eSolveNone = (0L), eMouseEventSolved = (1L), eKeyEventSolved = (1L) << 1, eDoNotProcess = (1L) << 2,
  EVENT_CYCLE_EXCLUSIVE = (1L) << 3, EVENT_CYCLE_EXCLUSIVE_CONTINUE = (1L) << 4, EVENT_CYCLE_SOLVED = (1L) << 5, EVENT_CYCLE_DO_NOT_PROCESS = (1L) << 6,
  EVENT_CYCLE_RESET_AREA_STATE = (1L) << 7
}
enum  PositionPolicy {
  ePositionLeft, ePositionRight, ePositionCenter, ePositionFull,
  ePositionProportional
}
enum  SizePolicy { eSizeFixed, eSizeResizeable }
enum  ShapeCornerType {
  eCornerNone = 0, eCornerTopLeft = (1L), eCornerTopRight = (1L << 1), eCornerBottomLeft = (1L << 2),
  eCornerBottomRight = (1L << 3), eAllCorners = eCornerTopLeft | eCornerTopRight | eCornerBottomLeft | eCornerBottomRight
}
enum  TextureAlignment {
  eTACenter, eTALeft, eTARight, eTATop,
  eTABottom
}
enum  VerticalAlignment { eVACenter, eVATop, eVABottom }
enum  HorizontalAlignment { eHACenter, eHALeft, eHARight }
enum  ConversionResult { conversionOK = 0, sourceExhausted, targetExhausted, sourceIllegal }
enum  ConversionFlags { strictConversion = 0, lenientConversion }
enum  { UNICODE_UTF32_BE = 0x0000FEFF }
enum  { UNICODE_UTF32_LE = 0xFFFE0000 }
enum  { UNICODE_UTF16_BE = 0xFEFF }
enum  { UNICODE_UTF16_LE = 0xFFFE }
enum  { UNICODE_UTF8 = 0xEFBBBF }
enum  { UNICODE_BOM = 0xfeff }
enum  MessageSeverity {
  NUX_MSG_SEVERITY_CRITICAL = 0, NUX_MSG_SEVERITY_ALERT = 1, NUX_MSG_SEVERITY_WARNING = 2, NUX_MSG_SEVERITY_INFO = 3,
  NUX_MSG_SEVERITY_NONE = 4
}
enum  EFileWrite {
  FILEWRITE_NOFAIL = 0x01, FILEWRITE_NOREPLACEEXISTING = 0x02, FILEWRITE_EVENIFREADONLY = 0x04, FILEWRITE_UNBUFFERED = 0x08,
  FILEWRITE_APPEND = 0x10, FILEWRITE_ALLOWREAD = 0x20
}
enum  ECopyResult {
  COPY_OK = 0x00, COPY_MISCFAIL = 0x01, COPY_READFAIL = 0x02, COPY_WRITEFAIL = 0x03,
  COPY_CANCELED = 0x06
}
enum  NUX_STATUS {
  NUX_OK, NUX_ERROR, NUX_FILENOTFOUND, NUX_COPYFILE_ERROR,
  NUX_DELETEFILE_ERROR
}
enum  ThreadState {
  THREADINIT, THREADRUNNING, THREADSUSPENDED, THREADSTOP,
  THREAD_START_ERROR, THREAD_STOP_ERROR, THREAD_SUSPEND_ERROR, THREAD_RESUME_ERROR
}
enum  ThreadWaitTimeout { THREAD_WAIT_TIMEOUT_NONE = 0, THREAD_WAIT_TIMEOUT_FOREVER = 0xFFFFFFFF }
enum  ThreadWaitResult { THREAD_WAIT_RESULT_COMPLETED = 0, THREAD_WAIT_RESULT_ABANDONED = 1, THREAD_WAIT_RESULT_TIMEOUT = 2, THREAD_WAIT_RESULT_FAILED = 3 }
enum  BitmapFormat {
  BITFMT_UNKNOWN = 0, BITFMT_R8G8B8A8, BITFMT_B8G8R8A8, BITFMT_R8G8B8,
  BITFMT_R5G6B5, BITFMT_D24S8, BITFMT_A8, BITFMT_DXT1,
  BITFMT_DXT2, BITFMT_DXT3, BITFMT_DXT4, BITFMT_DXT5,
  BITFMT_A8R8G8B8, BITFMT_A8B8G8R8, BITFMT_B8G8R8, BITFMT_RGBA16F,
  BITFMT_RGB32F, BITFMT_RGBA32F, BITFMT_R10G10B10A2, BITFMT_B10G10R10A2,
  BITFMT_A2R10G10B10, BITFMT_A2B10G10R10, BITFMT_END_GFX_FORMATS
}
enum  MouseButton {
  MOUSE_BUTTON_INVALID = 0, MOUSE_BUTTON1 = 1, MOUSE_BUTTON2 = 2, MOUSE_BUTTON3 = 3,
  MOUSE_BUTTON4 = 4, MOUSE_BUTTON5 = 5, MOUSE_BUTTON6 = 6, MOUSE_BUTTON7 = 7,
  NUX_INVALID_MOUSE_BUTTON = MOUSE_BUTTON_INVALID, NUX_MOUSE_BUTTON1 = MOUSE_BUTTON1, NUX_MOUSE_BUTTON2 = MOUSE_BUTTON2, NUX_MOUSE_BUTTON3 = MOUSE_BUTTON3,
  NUX_MOUSE_BUTTON4 = MOUSE_BUTTON4, NUX_MOUSE_BUTTON5 = MOUSE_BUTTON5, NUX_MOUSE_BUTTON6 = MOUSE_BUTTON6, NUX_LEFT_MOUSE = NUX_MOUSE_BUTTON1,
  NUX_MIDDLE_MOUSE = NUX_MOUSE_BUTTON2, NUX_RIGHT_MOUSE = NUX_MOUSE_BUTTON3
}
enum  KeyModifier {
  KEY_MODIFIER_SHIFT = 0x00010000, KEY_MODIFIER_CAPS_LOCK = 0x00020000, KEY_MODIFIER_CTRL = 0x00040000, KEY_MODIFIER_ALT = 0x00080000,
  KEY_MODIFIER_NUMLOCK = 0x00100000, KEY_MODIFIER_SUPER = 0x00200000, KEY_MODIFIER_SCROLLLOCK = 0x00400000, NUX_STATE_SHIFT = KEY_MODIFIER_SHIFT,
  NUX_STATE_CAPS_LOCK = KEY_MODIFIER_CAPS_LOCK, NUX_STATE_CTRL = KEY_MODIFIER_CTRL, NUX_STATE_ALT = KEY_MODIFIER_ALT, NUX_STATE_NUMLOCK = KEY_MODIFIER_NUMLOCK,
  NUX_STATE_SUPER = KEY_MODIFIER_SUPER, NUX_STATE_SCROLLLOCK = KEY_MODIFIER_SCROLLLOCK
}
enum  EventType {
  EVENT_NONE = 0, EVENT_MOUSE_DOWN, EVENT_MOUSE_UP, EVENT_MOUSE_MOVE,
  EVENT_MOUSE_DOUBLECLICK, EVENT_MOUSE_WHEEL, EVENT_KEY_DOWN, EVENT_KEY_UP,
  EVENT_WINDOW_SIZE_CONFIGURATION, EVENT_WINDOW_MAP, EVENT_WINDOW_UNMAP, EVENT_NC_WINDOW_CONFIGURATION,
  EVENT_WINDOW_ENTER_FOCUS, EVENT_WINDOW_EXIT_FOCUS, EVENT_WINDOW_DIRTY, EVENT_WINDOW_MOUSELEAVE,
  EVENT_DESTROY_WINDOW, EVENT_TERMINATE_APP, EVENT_TAKE_FOCUS, EVENT_DND_MOVE,
  EVENT_DND_DROP, EVENT_DND_ENTER, EVENT_DND_LEAVE, EVENT_DND_ENTER_WINDOW,
  EVENT_DND_LEAVE_WINDOW, NUX_NO_EVENT = EVENT_NONE, NUX_MOUSE_PRESSED = EVENT_MOUSE_DOWN, NUX_MOUSE_RELEASED = EVENT_MOUSE_UP,
  NUX_MOUSE_MOVE = EVENT_MOUSE_MOVE, NUX_MOUSE_DOUBLECLICK = EVENT_MOUSE_DOUBLECLICK, NUX_MOUSE_WHEEL = EVENT_MOUSE_WHEEL, NUX_MOUSEWHEEL = EVENT_MOUSE_WHEEL,
  NUX_KEYDOWN = EVENT_KEY_DOWN, NUX_KEYUP = EVENT_KEY_UP, NUX_SIZE_CONFIGURATION = EVENT_WINDOW_SIZE_CONFIGURATION, NUX_WINDOW_MAP = EVENT_WINDOW_MAP,
  NUX_WINDOW_UNMAP = EVENT_WINDOW_UNMAP, NUX_NC_WINDOW_CONFIGURATION = EVENT_NC_WINDOW_CONFIGURATION, NUX_WINDOW_ENTER_FOCUS = EVENT_WINDOW_ENTER_FOCUS, NUX_WINDOW_EXIT_FOCUS = EVENT_WINDOW_EXIT_FOCUS,
  NUX_WINDOW_DIRTY = EVENT_WINDOW_DIRTY, NUX_WINDOW_MOUSELEAVE = EVENT_WINDOW_MOUSELEAVE, NUX_DESTROY_WINDOW = EVENT_DESTROY_WINDOW, NUX_TERMINATE_APP = EVENT_TERMINATE_APP,
  NUX_TAKE_FOCUS = EVENT_TAKE_FOCUS, NUX_DND_MOVE = EVENT_DND_MOVE, NUX_DND_DROP = EVENT_DND_DROP, NUX_DND_ENTER = EVENT_DND_ENTER,
  NUX_DND_LEAVE = EVENT_DND_LEAVE, NUX_DND_ENTER_WINDOW = EVENT_DND_ENTER_WINDOW, NUX_DND_LEAVE_WINDOW = EVENT_DND_LEAVE_WINDOW
}
enum  _TextAlignment { eAlignTextNone = 0, eAlignTextLeft = 1, eAlignTextRight = 2, eAlignTextCenter = 3 }
enum  {
  GFXRS_FRONT_POLYGONMODE, GFXRS_BACK_POLYGONMODE, GFXRS_CULLFACEENABLE, GFXRS_CULLFACE,
  GFXRS_FRONTFACE, GFXRS_SCISSORTESTENABLE, GFXRS_FOGENABLE, GFXRS_ZTESTENABLE,
  GFXRS_ZWRITEENABLE, GFXRS_ZFUNC, GFXRS_ZNEAR, GFXRS_ZFAR,
  GFXRS_ALPHABLENDENABLE, GFXRS_BLENDOP, GFXRS_BLENDOPALPHA, GFXRS_SRCBLEND,
  GFXRS_DESTBLEND, GFXRS_SRCBLENDALPHA, GFXRS_DESTBLENDALPHA, GFXRS_ALPHATESTENABLE,
  GFXRS_ALPHATESTREF, GFXRS_ALPHATESTFUNC, GFXRS_STENCILENABLE, GFXRS_TWOSIDEDSTENCILENABLE,
  GFXRS_FRONT_STENCILWRITEMASK, GFXRS_BACK_STENCILWRITEMASK, GFXRS_FRONT_STENCILFUNC, GFXRS_FRONT_STENCILREF,
  GFXRS_FRONT_STENCILMASK, GFXRS_FRONT_STENCILFAIL, GFXRS_FRONT_STENCILZFAIL, GFXRS_FRONT_STENCILZPASS,
  GFXRS_BACK_STENCILFUNC, GFXRS_BACK_STENCILREF, GFXRS_BACK_STENCILMASK, GFXRS_BACK_STENCILFAIL,
  GFXRS_BACK_STENCILZFAIL, GFXRS_BACK_STENCILZPASS, GFXRS_POINTSMOOTHENABLE, GFXRS_LINESMOOTHENABLE,
  GFXRS_POINTSIZE, GFXRS_LINEWIDTH, GFXRS_POINTHINT, GFXRS_LINEHINT,
  GFXRS_COLORWRITEENABLE_R, GFXRS_COLORWRITEENABLE_G, GFXRS_COLORWRITEENABLE_B, GFXRS_COLORWRITEENABLE_A,
  GFXRS_POLYGONOFFSETENABLE, GFXRS_POLYGONOFFSETFACTOR, GFXRS_POLYGONOFFSETUNITS, GFXRS_MAX_RENDERSTATES
}
enum  {
  GFXSS_ADDRESSU, GFXSS_ADDRESSV, GFXSS_ADDRESSW, GFXSS_MINFILTER,
  GFXSS_MAGFILTER, GFXSS_MIPMAPFILTER, GFXSS_MIPMAPLODBIAS, GFXSS_MAXANISOTROPY,
  GFXSS_SRGBWRITEENABLE, GFXSS_MAX_SAMPLERSTATES
}
enum  PorterDuffOperator {
  CLEAR = 0, SRC, DST, SRC_OVER,
  DST_OVER, SRC_IN, DST_IN, SRC_OUT,
  DST_OUT, SRC_ATOP, DST_ATOP, XOR,
  PLUS
}
enum  {
  OGL_OK = 0, OGL_ERROR, OGL_ERROR_UNKNOWN, OGL_INVALID_SURFACE_LEVEL,
  OGL_INVALID_CALL, OGL_INVALID_LOCK, OGL_INVALID_UNLOCK, OGL_INVALID_TEXTURE,
  OGL_FORCE_DWORD = 0x7fffffff
}
enum  TEXTURE_FORMAT {
  TEXTURE_FMT_UNKNOWN = 0, TEXTURE_FMT_ALPHA = GL_ALPHA, TEXTURE_FMT_ALPHA8 = GL_ALPHA8, TEXTURE_FMT_ALPHA16 = GL_ALPHA16,
  TEXTURE_FMT_LUMINANCE = GL_LUMINANCE, TEXTURE_FMT_LUMINANCE8 = GL_LUMINANCE8, TEXTURE_FMT_LUMINANCE16 = GL_LUMINANCE16, TEXTURE_FMT_LUMINANCE_ALPHA = GL_LUMINANCE_ALPHA,
  TEXTURE_FMT_LUMINANCE8_ALPHA8 = GL_LUMINANCE8_ALPHA8, TEXTURE_FMT_LUMINANCE16_ALPHA16 = GL_LUMINANCE16_ALPHA16, TEXTURE_FMT_INTENSITY = GL_INTENSITY, TEXTURE_FMT_INTENSITY8 = GL_INTENSITY8,
  TEXTURE_FMT_INTENSITY16 = GL_INTENSITY16, TEXTURE_FMT_GL_DEPTH_COMPONENT = GL_DEPTH_COMPONENT, TEXTURE_FMT_GL_DEPTH_COMPONENT24 = GL_DEPTH_COMPONENT24, TEXTURE_FMT_RGBA = GL_RGBA,
  TEXTURE_FMT_RGBA8 = GL_RGBA8, TEXTURE_FMT_RGBA16 = GL_RGBA16, TEXTURE_FMT_RGBA16F_ARB = GL_RGBA16F_ARB, TEXTURE_FMT_RGBA32F_ARB = GL_RGBA32F_ARB,
  TEXTURE_FMT_RGB = GL_RGB, TEXTURE_FMT_RGB8 = GL_RGB8, TEXTURE_FMT_RGB16 = GL_RGB16, TEXTURE_FMT_RGB16F_ARB = GL_RGB16F_ARB,
  TEXTURE_FMT_RGB32F_ARB = GL_RGB32F_ARB, TEXTURE_FMT_COMPRESSED_RGB_S3TC_DXT1_EXT = GL_COMPRESSED_RGB_S3TC_DXT1_EXT, TEXTURE_FMT_COMPRESSED_RGBA_S3TC_DXT1_EXT = GL_COMPRESSED_RGBA_S3TC_DXT1_EXT, TEXTURE_FMT_COMPRESSED_RGBA_S3TC_DXT3_EXT = GL_COMPRESSED_RGBA_S3TC_DXT3_EXT,
  TEXTURE_FMT_COMPRESSED_RGBA_S3TC_DXT5_EXT = GL_COMPRESSED_RGBA_S3TC_DXT5_EXT, TEXTURE_FMT_FORCE_DWORD = 0x7fffffff
}
enum  eCUBEMAP_FACES {
  CUBEMAP_FACE_POSITIVE_X = GL_TEXTURE_CUBE_MAP_POSITIVE_X, CUBEMAP_FACE_NEGATIVE_X = GL_TEXTURE_CUBE_MAP_NEGATIVE_X, CUBEMAP_FACE_POSITIVE_Y = GL_TEXTURE_CUBE_MAP_POSITIVE_Y, CUBEMAP_FACE_NEGATIVE_Y = GL_TEXTURE_CUBE_MAP_NEGATIVE_Y,
  CUBEMAP_FACE_POSITIVE_Z = GL_TEXTURE_CUBE_MAP_POSITIVE_Z, CUBEMAP_FACE_NEGATIVE_Z = GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, CUBEMAP_FACE_FORCE_DWORD = 0x7fffffff
}
enum  VBO_USAGE {
  VBO_USAGE_UNKNOWN = 0, VBO_USAGE_STATIC = GL_STATIC_DRAW, VBO_USAGE_DYNAMIC = GL_DYNAMIC_DRAW, VBO_USAGE_STREAM = GL_STREAM_DRAW,
  VBO_USAGE_FORCE_DWORD = 0x7fffffff
}
enum  INDEX_FORMAT { INDEX_FORMAT_UNKNOWN = 0, INDEX_FORMAT_USHORT = GL_UNSIGNED_SHORT, INDEX_FORMAT_UINT = GL_UNSIGNED_INT, INDEX_FORMAT_FORCE_DWORD = 0x7fffffff }
enum  PRIMITIVE_TYPE {
  PRIMITIVE_TYPE_POINTLIST = GL_POINTS, PRIMITIVE_TYPE_LINELIST = GL_LINES, PRIMITIVE_TYPE_LINESTRIP = GL_LINE_STRIP, PRIMITIVE_TYPE_TRIANGLELIST = GL_TRIANGLES,
  PRIMITIVE_TYPE_TRIANGLESTRIP = GL_TRIANGLE_STRIP, PRIMITIVE_TYPE_TRIANGLEFAN = GL_TRIANGLE_FAN, PRIMITIVE_TYPE_QUADLIST = GL_QUADS, PRIMITIVE_TYPE_QUADSTRIP = GL_QUAD_STRIP,
  PRIMITIVE_TYPE_FORCE_DWORD = 0x7fffffff
}
enum  OpenGLResourceType {
  RTINDEXBUFFER, RTVERTEXBUFFER, RTSURFACE, RTVOLUME,
  RTBASETEXTURE, RTTEXTURE, RTTEXTURERECTANGLE, RTCUBETEXTURE,
  RTVOLUMETEXTURE, RTANIMATEDTEXTURE, RTVERTEXDECLARATION, RTQUERY,
  RTFRAMEBUFFEROBJECT, RT_GLSL_VERTEXSHADER, RT_GLSL_PIXELSHADER, RT_GLSL_GEOMETRYSHADER,
  RT_GLSL_SHADERPROGRAM, RT_CG_VERTEXSHADER, RT_CG_PIXELSHADER, RT_FORCE_DWORD = 0x7fffffff
}
enum  MULTISAMPLE_TYPE {
  MULTISAMPLE_TYPE_NONE = 0, MULTISAMPLE_TYPE_NONMASKABLE = 1, MULTISAMPLE_TYPE_2_SAMPLES = 2, MULTISAMPLE_TYPE_3_SAMPLES = 3,
  MULTISAMPLE_TYPE_4_SAMPLES = 4, MULTISAMPLE_TYPE_5_SAMPLES = 5, MULTISAMPLE_TYPE_6_SAMPLES = 6, MULTISAMPLE_TYPE_7_SAMPLES = 7,
  MULTISAMPLE_TYPE_8_SAMPLES = 8, MULTISAMPLE_TYPE_9_SAMPLES = 9, MULTISAMPLE_TYPE_10_SAMPLES = 10, MULTISAMPLE_TYPE_11_SAMPLES = 11,
  MULTISAMPLE_TYPE_12_SAMPLES = 12, MULTISAMPLE_TYPE_13_SAMPLES = 13, MULTISAMPLE_TYPE_14_SAMPLES = 14, MULTISAMPLE_TYPE_15_SAMPLES = 15,
  MULTISAMPLE_TYPE_16_SAMPLES = 16, MULTISAMPLE_TYPE_FORCE_DWORD = 0x7fffffff
}
enum  MEM_POOL {
  MEM_POOL_DEFAULT = 0, MEM_POOL_MANAGED = 1, MEM_POOL_SYSTEMMEM = 2, MEM_POOL_SCRATCH = 3,
  MEM_POOL_FORCE_DWORD = 0x7fffffff
}
enum  _ATTRIB_DECL_TYPE {
  ATTRIB_DECLTYPE_UNKNOWN = 0, ATTRIB_DECLTYPE_FLOAT1, ATTRIB_DECLTYPE_FLOAT2, ATTRIB_DECLTYPE_FLOAT3,
  ATTRIB_DECLTYPE_FLOAT4, ATTRIB_DECLTYPE_COLOR, ATTRIB_DECLTYPE_UBYTE4, ATTRIB_DECLTYPE_SHORT2,
  ATTRIB_DECLTYPE_SHORT4, ATTRIB_DECLTYPE_UBYTE4N, ATTRIB_DECLTYPE_SHORT2N, ATTRIB_DECLTYPE_SHORT4N,
  ATTRIB_DECLTYPE_USHORT2N, ATTRIB_DECLTYPE_USHORT4N, ATTRIB_DECLTYPE_UDEC3, ATTRIB_DECLTYPE_DEC3N,
  ATTRIB_DECLTYPE_FLOAT16_2, ATTRIB_DECLTYPE_FLOAT16_4, ATTRIB_DECLTYPE_UNUSED, ATTRIB_DECLTYPE_FORCE_DWORD = 0x7fffffff
}
enum  _ATTRIB_COMPONENT_TYPE {
  ATTRIB_CT_UNKNOWN = 0, ATTRIB_CT_BYTE = GL_BYTE, ATTRIB_CT_UNSIGNED_BYTE = GL_UNSIGNED_BYTE, ATTRIB_CT_SHORT = GL_SHORT,
  ATTRIB_CT_UNSIGNED_SHORT = GL_UNSIGNED_SHORT, ATTRIB_CT_INT = GL_INT, ATTRIB_CT_UNSIGNED_INT = GL_UNSIGNED_INT, ATTRIB_CT_FLOAT = GL_FLOAT,
  ATTRIB_CT_HALF_FLOAT = GL_HALF_FLOAT_ARB, ATTRIB_CT_DOUBLE = GL_DOUBLE, ATTRIB_CT_FORCE_DWORD = 0x7fffffff
}
enum  ATTRIB_USAGE_DECL {
  ATTRIB_USAGE_DECL_POSITION = 0, ATTRIB_USAGE_DECL_BLENDWEIGHT = 1, ATTRIB_USAGE_DECL_NORMAL = 2, ATTRIB_USAGE_DECL_COLOR = 3,
  ATTRIB_USAGE_DECL_COLOR1 = 4, ATTRIB_USAGE_DECL_FOGCOORD = 5, ATTRIB_USAGE_DECL_PSIZE = 6, ATTRIB_USAGE_DECL_BLENDINDICES = 7,
  ATTRIB_USAGE_DECL_TEXCOORD = 8, ATTRIB_USAGE_DECL_TEXCOORD0 = 8, ATTRIB_USAGE_DECL_TEXCOORD1 = 9, ATTRIB_USAGE_DECL_TEXCOORD2 = 10,
  ATTRIB_USAGE_DECL_TEXCOORD3 = 11, ATTRIB_USAGE_DECL_TEXCOORD4 = 12, ATTRIB_USAGE_DECL_TEXCOORD5 = 13, ATTRIB_USAGE_DECL_TEXCOORD6 = 14,
  ATTRIB_USAGE_DECL_TEXCOORD7 = 15, ATTRIB_USAGE_DECL_TANGENT = 14, ATTRIB_USAGE_DECL_BINORMAL = 15, ATTRIB_USAGE_DECL_FORCE_DWORD = 0x7fffffff
}
enum  QUERY_TYPE {
  QUERY_TYPE_VCACHE = 4, QUERY_TYPE_RESOURCEMANAGER = 5, QUERY_TYPE_VERTEXSTATS = 6, QUERY_TYPE_EVENT = 8,
  QUERY_TYPE_OCCLUSION = 9, QUERY_TYPE_SCREENEXTENT = 10, QUERY_TYPE_FORCE_DWORD = 0x7fffffff
}
enum  EResourceUpdateHint { RUH_Static, RUH_CacheableDynamic, RUH_Dynamic }
enum  eShaderParameterType { eVERTEXUNIFORMTYPE, eFRAGMENTUNIFORMTYPE, eSAMPLERUNIFORMTYPE }
 Type of shader in a shader. More...
enum  eShaderType { eVERTEXSHADERTYPE, eFRAGMENTSHADERTYPE }
 Type of shader. More...
enum  {
  GFXTS_ADDRESSU, GFXTS_ADDRESSV, GFXTS_ADDRESSW, GFXTS_MINFILTER,
  GFXTS_MAGFILTER, GFXTS_MIPFILTER, GFXTS_MIP_BASE_LEVEL, GFXTS_MIP_MAX_LEVEL,
  GFXTS_MIN_LOD, GFXTS_MAX_LOD, GFXTS_BORDERCOLOR, GFXTS_MAX_TEXTURESTATES
}
enum  GpuBrand { GPU_VENDOR_UNKNOWN = 0, GPU_BRAND_AMD, GPU_BRAND_NVIDIA, GPU_BRAND_INTEL }
 Brand of GPUs. More...
enum  WindowStyle {
  WINDOWSTYLE_NORMAL, WINDOWSTYLE_PANEL, WINDOWSTYLE_DIALOG, WINDOWSTYLE_TOOL,
  WINDOWSTYLE_NOBORDER, WINDOWSTYLE_NORMAL, WINDOWSTYLE_PANEL, WINDOWSTYLE_DIALOG,
  WINDOWSTYLE_TOOL, WINDOWSTYLE_NOBORDER
}
enum  WindowStyle {
  WINDOWSTYLE_NORMAL, WINDOWSTYLE_PANEL, WINDOWSTYLE_DIALOG, WINDOWSTYLE_TOOL,
  WINDOWSTYLE_NOBORDER, WINDOWSTYLE_NORMAL, WINDOWSTYLE_PANEL, WINDOWSTYLE_DIALOG,
  WINDOWSTYLE_TOOL, WINDOWSTYLE_NOBORDER
}
enum  DndAction {
  DNDACTION_COPY, DNDACTION_MOVE, DNDACTION_LINK, DNDACTION_ASK,
  DNDACTION_PRIVATE, DNDACTION_NONE
}
enum  LayerBlendMode {
  LAYER_BLEND_MODE_NORMAL, LAYER_BLEND_MODE_LIGHTEN, LAYER_BLEND_MODE_DARKEN, LAYER_BLEND_MODE_MULTIPLY,
  LAYER_BLEND_MODE_AVERAGE, LAYER_BLEND_MODE_ADD, LAYER_BLEND_MODE_SUBTRACT, LAYER_BLEND_MODE_DIFFERENCE,
  LAYER_BLEND_MODE_NEGATION, LAYER_BLEND_MODE_EXCLUSION, LAYER_BLEND_MODE_SCREEN, LAYER_BLEND_MODE_OVERLAY,
  LAYER_BLEND_MODE_SOFT_LIGHT, LAYER_BLEND_MODE_HARD_LIGHT, LAYER_BLEND_MODE_COLOR_DODGE, LAYER_BLEND_MODE_LINEAR_DODGE,
  LAYER_BLEND_MODE_COLOR_BURN, LAYER_BLEND_MODE_LINEAR_BLUR, LAYER_BLEND_MODE_LINEAR_LIGHT, LAYER_BLEND_MODE_VIVID_LIGHT,
  LAYER_BLEND_MODE_PIN_LIGHT, LAYER_BLEND_MODE_HARD_MIX, LAYER_BLEND_MODE_REFLECT, LAYER_BLEND_MODE_GLOW,
  LAYER_BLEND_MODE_PHOENIX, LAYER_BLEND_MODE_OPACITY, LAYER_BLEND_MODE_LAST
}
enum  VtxAttributeIndex {
  VTXATTRIB_INVALID = -1, VTXATTRIB_POSITION = 0, VTXATTRIB_WEIGHT = 1, VTXATTRIB_NORMAL = 2,
  VTXATTRIB_COLOR = 3, VTXATTRIB_COLOR_PRIMARY = 3, VTXATTRIB_COLOR_SECONDARY = 4, VTXATTRIB_FOGCOORD = 5,
  VTXATTRIB_TEXCOORD = 8, VTXATTRIB_TEXCOORD0 = 8, VTXATTRIB_TEXCOORD1 = 9, VTXATTRIB_TEXCOORD2 = 10,
  VTXATTRIB_TEXCOORD3 = 11, VTXATTRIB_TEXCOORD4 = 12, VTXATTRIB_TEXCOORD5 = 13, VTXATTRIB_TEXCOORD6 = 14,
  VTXATTRIB_TEXCOORD7 = 15
}
enum  VertexAttributeType {
  VAT_UNDEFINED = 0, VAT_FLOAT = 1, VAT_FLOAT2, VAT_FLOAT3,
  VAT_FLOAT4, VAT_FLOAT_MAT2, VAT_FLOAT_MAT3, VAT_FLOAT_MAT4
}
enum  ShaderType { SHADER_TYPE_GLSL = 0, SHADER_TYPE_CG, SHADER_TYPE_FORCE_DWORD = 0x7fffffff }
enum  NuxMeshPrimitiveType {
  NUX_MESH_PRIMITIVE_UNKNOWN = 0, NUX_MESH_TRIANGLE, NUX_MESH_TRIANGLE_STRIP, NUX_MESH_TRIANGLE_FAN,
  NUX_MESH_LINE, NUX_MESH_LINE_STRIP, NUX_MESH_LINE_LOOP, NUX_MESH_POINT,
  NUX_MESH_QUAD, NUX_MESH_QUAD_STRIP
}
enum  TexWrap {
  TEXWRAP_UNKNOWN = 0, TEXWRAP_REPEAT, TEXWRAP_CLAMP, TEXWRAP_CLAMP_TO_EDGE,
  TEXWRAP_CLAMP_TO_BORDER, TEXWRAP_MIRRORED_REPEAT, TEXWRAP_MIRROR_CLAMP_EXT, TEXWRAP_MIRROR_CLAMP_TO_EDGE_EXT,
  TEXWRAP_MIRROR_CLAMP_TO_BORDER_EXT
}
 Graphics wraping modes. More...
enum  TexFilter {
  TEXFILTER_UNKNOWN = 0, TEXFILTER_LINEAR, TEXFILTER_NEAREST, TEXFILTER_NEAREST_MIPMAP_NEAREST,
  TEXFILTER_LINEAR_MIPMAP_NEAREST, TEXFILTER_NEAREST_MIPMAP_LINEAR, TEXFILTER_LINEAR_MIPMAP_LINEAR
}
 Graphics filtering modes. More...
enum  RopBlend {
  ROPBLEND_UNKNOWN = 0, ROPBLEND_ZERO, ROPBLEND_ONE, ROPBLEND_SRC_COLOR,
  ROPBLEND_ONE_MINUS_SRC_COLOR, ROPBLEND_DST_COLOR, ROPBLEND_ONE_MINUS_DST_COLOR, ROPBLEND_SRC_ALPHA,
  ROPBLEND_ONE_MINUS_SRC_ALPHA, ROPBLEND_DST_ALPHA, ROPBLEND_ONE_MINUS_DST_ALPHA, ROPBLEND_CONSTANT_COLOR,
  ROPBLEND_ONE_MINUS_CONSTANT_COLOR, ROPBLEND_CONSTANT_ALPHA, ROPBLEND_ONE_MINUS_CONSTANT_ALPHA, ROPBLEND_SRC_ALPHA_SATURATE
}
 Graphics blend modes. More...

Functions

 NUX_IMPLEMENT_OBJECT_TYPE (AbstractButton)
 NUX_IMPLEMENT_OBJECT_TYPE (AbstractCheckedButton)
 NUX_IMPLEMENT_OBJECT_TYPE (AbstractThread)
 NUX_IMPLEMENT_OBJECT_TYPE (ActionItem)
 NUX_IMPLEMENT_OBJECT_TYPE (Area)
static void MatrixXFormGeometry (const Matrix4 &matrix, Geometry &geo)
 NUX_IMPLEMENT_OBJECT_TYPE (BaseWindow)
 NUX_IMPLEMENT_OBJECT_TYPE (Button)
 NUX_IMPLEMENT_OBJECT_TYPE (CheckBox)
static void ThreadColorEditorDialog (NThread *thread, void *InitData)
bool TooOld (VelocityEvent event)
 NUX_IMPLEMENT_OBJECT_TYPE (Coverflow)
 NUX_IMPLEMENT_OBJECT_TYPE (CoverflowItem)
 NUX_IMPLEMENT_OBJECT_TYPE (CoverflowModel)
 NUX_IMPLEMENT_OBJECT_TYPE (FloatingWindow)
 NUX_IMPLEMENT_OBJECT_TYPE (GridHLayout)
 NUX_IMPLEMENT_OBJECT_TYPE (HLayout)
 NUX_IMPLEMENT_OBJECT_TYPE (HSplitter)
 NUX_IMPLEMENT_OBJECT_TYPE (InputArea)
 NUX_IMPLEMENT_OBJECT_TYPE (LayeredLayout)
 NUX_IMPLEMENT_OBJECT_TYPE (Layout)
 NUX_IMPLEMENT_OBJECT_TYPE (SpaceLayout)
 NUX_IMPLEMENT_OBJECT_TYPE (LinearLayout)
static void nux_glib_threads_lock (void)
static void nux_glib_threads_unlock (void)
gboolean nux_timeout_dispatch (gpointer user_data)
static gboolean nux_event_prepare (GSource *source, gint *timeout)
static gboolean nux_event_check (GSource *source)
gboolean nux_event_dispatch (GSource *source, GSourceFunc callback, gpointer user_data)
static gboolean nux_timeline_prepare (GSource *source, gint *timeout)
static gboolean nux_timeline_check (GSource *source)
static gboolean nux_timeline_dispatch (GSource *source, GSourceFunc callback, gpointer user_data)
 NUX_IMPLEMENT_ROOT_OBJECT_TYPE (MenuBarItem)
 NUX_IMPLEMENT_OBJECT_TYPE (MenuBar)
 NUX_IMPLEMENT_OBJECT_TYPE (MenuItem)
 NUX_IMPLEMENT_OBJECT_TYPE (MenuSeparator)
 NUX_IMPLEMENT_OBJECT_TYPE (MenuPage)
void NuxInitialize (const char *CommandLine)
static WindowThread_CreateModalWindowThread (const char *window_title, int width, int height, WindowThread *parent, ThreadUserInitFunc user_init_func, void *data, bool Modal)
WindowThreadCreateGUIThread (const char *window_title, int width, int height, WindowThread *parent=NULL, ThreadUserInitFunc user_init_func=NULL, void *data=NULL)
 Create a Nux window.
WindowThreadCreateNuxWindow (const char *window_title, int width, int height, WindowStyle window_border_style=WINDOWSTYLE_NORMAL, AbstractThread *parent=NULL, bool modal=false, ThreadUserInitFunc user_init_func=NULL, void *data=NULL)
 Create the only Nux window for the current system thread.
WindowThreadCreateNuxWindowNewThread (const char *window_title, int width, int height, WindowStyle window_border_style=WINDOWSTYLE_NORMAL, AbstractThread *parent=NULL, bool modal=false, ThreadUserInitFunc user_init_func=NULL, void *data=NULL)
 Create a Nux window to be run in a new thread.
WindowThreadCreateWindowThread (WindowStyle window_style, const char *window_title, int width, int height, WindowThread *parent, ThreadUserInitFunc user_init_func=NULL, void *data=NULL)
WindowThreadCreateModalWindowThread (WindowStyle window_style, const char *window_title, int width, int height, WindowThread *parent, ThreadUserInitFunc user_init_func=NULL, void *data=NULL)
SystemThreadCreateSystemThread (AbstractThread *parent, ThreadUserInitFunc user_init_func, void *data)
bool RegisterNuxThread (NThread *ThreadPtr)
void UnregisterNuxThread (NThread *ThreadPtr)
ObjectPtr< FontTextureGetSysFont ()
ObjectPtr< FontTextureGetSysBoldFont ()
WindowCompositorGetWindowCompositor ()
WindowThreadGetWindowThread ()
WindowThreadGetThreadNuxWindow ()
BasePainterGetPainter ()
UXThemeGetTheme ()
TimerHandlerGetTimer ()
 inlDeclareThreadLocalStorage (NThread *, 0, ThreadLocal_InalogicAppImpl)
static void SystemStart ()
static void SystemShutdown ()
Geometry ComputeGeometryPositioning (const Geometry &container_geo, const Geometry &content_geo, GeometryPositioning gctx)
 Compute the position of one geometry inside an other.
 NUX_IMPLEMENT_OBJECT_TYPE (TestTextEntry)
 NUX_IMPLEMENT_OBJECT_TYPE (TestView)
 NUX_IMPLEMENT_OBJECT_TYPE (RadioButton)
 NUX_IMPLEMENT_OBJECT_TYPE (RadioButtonGroup)
 NUX_IMPLEMENT_OBJECT_TYPE (RangeValue)
 NUX_IMPLEMENT_OBJECT_TYPE (RGBValuator)
 NUX_IMPLEMENT_OBJECT_TYPE (ScrollView)
float ConvertPointSizeToDIP (float points)
 NUX_IMPLEMENT_OBJECT_TYPE (StaticText)
 NUX_IMPLEMENT_OBJECT_TYPE (StaticTextBox)
 NUX_IMPLEMENT_OBJECT_TYPE (SystemThread)
static const Color kStrongCursorColor (0.9f, 0.9f, 0.9f, 1.0f)
static const Color kWeakCursorColor (1.0f, 1.0f, 1.0f, 0.5f)
static const Color kDefaultTextColor (0, 0, 0, 1.0f)
static const Color kDefaultBackgroundColor (1, 1, 1, 1.0f)
static const Color kDefaultSelectionBackgroundColor (0.5, 0.5, 0.5, 1.0f)
static const Color kDefaultSelectionTextColor (1, 1, 1, 1.0f)
static unsigned long long GetCurrentTime ()
static std::string CleanupLineBreaks (const char *source)
 NUX_IMPLEMENT_OBJECT_TYPE (TextEntry)
 NUX_IMPLEMENT_OBJECT_TYPE (TextureArea)
static UXStyleImageRef GetStyleImageRef (const char *style_name)
static bool TimeIsGreater (TimeStruct t1, TimeStruct t2)
 Return true if t1 is a time reference that will happen after time t2 has expired.
static void TimeRightNow (TimeStruct *tv)
static void Addmillisecs (TimeStruct *tv, unsigned int milliseconds)
bool IsMouseOwned ()
 NUX_IMPLEMENT_OBJECT_TYPE (View)
 NUX_IMPLEMENT_OBJECT_TYPE (VLayout)
 NUX_IMPLEMENT_OBJECT_TYPE (VSplitter)
 NUX_IMPLEMENT_OBJECT_TYPE (WindowThread)
unsigned int SpawnThread (NThread &thread)
TCHAR ToUpperCase (TCHAR c)
TCHAR ToLowerCase (TCHAR c)
bool IsUpperCase (TCHAR c)
bool IsLowerCase (TCHAR c)
bool IsAlphaChar (TCHAR c)
bool IsDigitChar (TCHAR c)
bool IsAlphanumericChar (TCHAR c)
bool IsWhitespaceChar (TCHAR c)
bool IsLinebreakChar (TCHAR c)
bool IsSpaceChar (TCHAR c)
 Returns nonzero if character is a space character.
ConversionResult ConvertUTF32toUTF16 (const unsigned int **sourceStart, const unsigned int *sourceEnd, wchar_t **targetStart, wchar_t *targetEnd, ConversionFlags flags)
ConversionResult ConvertUTF16toUTF32 (const wchar_t **sourceStart, const wchar_t *sourceEnd, unsigned int **targetStart, unsigned int *targetEnd, ConversionFlags flags)
ConversionResult ConvertUTF16toUTF8 (const wchar_t **sourceStart, const wchar_t *sourceEnd, unsigned char **targetStart, unsigned char *targetEnd, ConversionFlags flags)
static bool isLegalUTF8 (const unsigned char *source, int length)
bool isLegalUTF8Sequence (const unsigned char *source, const unsigned char *sourceEnd)
bool tr_utf8_validate (const char *str, int max_len, const char **end)
 This is a variation of isLegalUTF8Sequence() that behaves like g_utf8_validate().
ConversionResult ConvertUTF8toUTF16 (const unsigned char **sourceStart, const unsigned char *sourceEnd, wchar_t **targetStart, wchar_t *targetEnd, ConversionFlags flags)
ConversionResult ConvertUTF32toUTF8 (const unsigned int **sourceStart, const unsigned int *sourceEnd, unsigned char **targetStart, unsigned char *targetEnd, ConversionFlags flags)
ConversionResult ConvertUTF8toUTF32 (const unsigned char **sourceStart, const unsigned char *sourceEnd, unsigned int **targetStart, unsigned int *targetEnd, ConversionFlags flags)
TCHAR ConvertUnicodeCharToTCHAR (UNICHAR In)
UNICHAR ConvertTCHARToUnicodeChar (TCHAR In)
TCHAR ConvertAnsiCharToTCHAR (ANSICHAR In)
ANSICHAR ConvertTCHARToAnsiChar (TCHAR In)
ANSICHAR ConvertUnicodeCharToAnsiChar (UNICHAR In)
 Convert a single UNICHAR to ANSICHAR.
UNICHAR ConvertAnsiCharToUnicodeChar (ANSICHAR In)
 Convert a single ANSICHAR to UNICHAR.
bool LoadFileToArray (std::vector< BYTE > &Result, const TCHAR *Filename, NFileManager &FileManager)
bool LoadTextFileToAnsiArray (std::vector< ANSICHAR > &Result, const TCHAR *Filename, NFileManager &FileManager)
 Load a text file the a ANSICHAR array.
bool LoadTextFileToUnicodeArray (std::vector< UNICHAR > &Result, const TCHAR *Filename, NFileManager &FileManager)
 Load a text file in an ANSICHAR array.
bool LoadFileToString (NString &Result, const TCHAR *Filename, NFileManager &FileManager)
 Load a text file to an NString.
bool SaveArrayToFile (const std::vector< BYTE > &Array, const TCHAR *Filename, NFileManager &FileManager)
 Save BYTE array to file.
bool SaveStringToFile (const NString &String, const TCHAR *Filename, NFileManager &FileManager)
 Save string to File.
 NUX_IMPLEMENT_GLOBAL_OBJECT (NFileManagerGNU)
NUX_INLINE NSerializeroperator<< (NSerializer &Sr, bool &v)
NUX_INLINE NSerializeroperator<< (NSerializer &Sr, char &v)
NUX_INLINE NSerializeroperator<< (NSerializer &Sr, unsigned char &v)
NUX_INLINE NSerializeroperator<< (NSerializer &Sr, unsigned short &v)
NUX_INLINE NSerializeroperator<< (NSerializer &Sr, short &v)
NUX_INLINE NSerializeroperator<< (NSerializer &Sr, unsigned int &v)
NUX_INLINE NSerializeroperator<< (NSerializer &Sr, int &v)
NUX_INLINE NSerializeroperator<< (NSerializer &Sr, long &v)
NUX_INLINE NSerializeroperator<< (NSerializer &Sr, unsigned long &v)
NUX_INLINE NSerializeroperator<< (NSerializer &Sr, float &v)
NUX_INLINE NSerializeroperator<< (NSerializer &Sr, double &v)
NUX_INLINE NSerializeroperator<< (NSerializer &Sr, unsigned long long &v)
NUX_INLINE NSerializeroperator<< (NSerializer &Sr, long long &v)
 NUX_IMPLEMENT_OBJECT_TYPE (InitiallyUnownedObject)
int PointInside2DPolygon (Point2 *polygon, int n, Point2 pt, const int onedge)
 Determine if a point lies inside a polygon.
NUX_DECLSPEC_DLL double * Bernstein (int n, double t)
 Evaluate the Bernstein polynomial of degree n, at parameter t.
NUX_DECLSPEC_DLL void Bezier_XY (int n, double t, double xcon[], double ycon[], double *xval, double *yval)
 Evaluate 2D Bezier curve of degree n.
NUX_DECLSPEC_DLL void Bezier_XYZ (int n, double t, double xcon[], double ycon[], double zcon[], double *xval, double *yval, double *zval)
 Evaluate 2D Bezier curve of degree n.
const ComplexNumber operator+ (const ComplexNumber &lhs, const ComplexNumber &rhs)
const ComplexNumber operator- (const ComplexNumber &lhs, const ComplexNumber &rhs)
const ComplexNumber operator* (const ComplexNumber &lhs, const ComplexNumber &rhs)
const ComplexNumber operator/ (const ComplexNumber &lhs, const ComplexNumber &rhs)
int Factorial (int n)
double BinomialCoefficient (int n, int k)
double Power (double x, double y)
double Log2 (double d)
double Floor (double d)
template<class T >
PowerInt (T _X, int _Y)
template<typename T >
Square (const T A)
template<typename T >
Clamp (const T X, const T min_value, const T max_value)
template<typename T >
ClampUp (const T X, const T min_value)
template<typename T >
ClampDown (const T X, const T max_value)
template<typename T >
Align (const T Ptr, int Alignment)
template<typename T >
const T Rol (const T &a, const unsigned int n=1)
template<typename T >
const T Ror (const T &a, const unsigned int n=1)
template<typename T >
const T Abs (const T &a)
 Return the absolute value of a.
template<typename T >
const T & Min (const T &a, const T &b)
 Return the minimum between a and b.
template<typename T >
const T & Min (const T &a, const T &b, const T &c)
 Return the minimum between a, b and c.
template<typename T >
const T & Min (const T &a, const T &b, const T &c, const T &d)
 Return the minimum between a, b, c and d.
template<typename T >
const T & Max (const T &a, const T &b)
 Return the maximum between a and b.
template<typename T >
const T & Max (const T &a, const T &b, const T &c)
 Return the maximum between a, b and c.
template<typename T >
const T & Max (const T &a, const T &b, const T &c, const T &d)
 Return the maximum between a,b,c and d.
template<typename T >
Max3 (const T A, const T B, const T C)
template<typename T >
Min3 (const T A, const T B, const T C)
template<typename T >
Sign (const T &x)
 Return the sign of x.
template<typename T >
Modulo (const T &x, const T &m)
int ModuloInt (const int x, const int m)
template<typename T >
MinMod (const T &a, const T &b)
double Random ()
 Return a random variable between [0,1[ (uniform distribution).
double CRandom ()
 Return a random variable between [-1,1[ (uniform distribution).
double RandomGaussian ()
 Return a random variable using a gaussian distribution and a variance of 1.
unsigned int RandomUInt ()
unsigned int RandomUInt (unsigned int max_random)
size_t DiffPointer (void *Ptr0, void *Ptr1)
template<typename T >
SubstractPointer (void *Ptr, size_t Value)
template<typename T >
AddPointer (void *Ptr, size_t Value)
template<typename T >
RoundUp (T Value, int Alignment)
 Round up to the nearest multiple of Alignment that is greater or equal to Value.
template<typename T >
RoundDown (T Value, int Alignment)
 Round down to the nearest multiple of Alignment that is smaller or equal to Value.
template<typename T >
bool IsAligned (T Value, int Alignment)
 Return true is Value is aligned on Alignment.
unsigned short ReverseByteOrdering (unsigned short value)
 Revert Byte order 0x0011 -> 0x1100.
unsigned int ReverseByteOrdering (unsigned int value)
 Revert Byte order 0x00112233 -> 0x33221100.
unsigned long long ReverseByteOrdering (unsigned long long value)
 Revert Byte order 0x0011223344556677 -> 0x7766554433221100.
bool IsPowerOf2 (unsigned int n)
unsigned int NextPowerOfTwo (unsigned int x)
unsigned int GetLowerPowerOfTwoExponent (unsigned int x)
unsigned int PowerOfTwo (int i)
unsigned int Hak32_ClearLSBBit (unsigned int N)
unsigned int Hak32_CountNumBits (unsigned int N)
unsigned int Hak32_BitParity (unsigned int N)
bool Hak32_CPULittleEndian ()
unsigned int Hak32_Log2 (unsigned int N)
unsigned int Hak32_Log10 (unsigned int N)
unsigned int Hack32_TrailingZeroRight (unsigned int N)
template<typename T >
Matrix2x2< T > operator* (const T &lhs, const Matrix2x2< T > &rhs)
template<typename T >
Matrix3x3< T > operator* (const T &lhs, const Matrix3x3< T > &rhs)
template<typename T >
Matrix4x4< T > operator* (const T &lhs, const Matrix4x4< T > &rhs)
template<typename T >
bool operator== (const Point2D< T > &lhs, const Point2D< T > &rhs)
template<typename T >
bool operator!= (const Point2D< T > &lhs, const Point2D< T > &rhs)
Quaternion operator* (float f, const Quaternion &quat)
Quaternion Slerp (const float t, const Quaternion &lhs, const Quaternion &rhs)
double * d3_np_fs (int n, double a[], double b[])
double * spline_cubic_set (int n, double t[], double y[], int ibcbeg, double ybcbeg, int ibcend, double ybcend)
double spline_cubic_val (int n, double t[], double tval, double y[], double ypp[], double *ypval, double *yppval)
Vector3 SphericalToCartesianXBaseDeg (float r, float theta, float phi)
Vector3 SphericalToCartesianXBaseRad (float r, float theta, float phi)
Vector3 SphericalToCartesianZBaseDeg (float r, float theta, float phi)
Vector3 SphericalToCartesianZBaseRad (float r, float theta, float phi)
Vector3 CartesianToSphericalXBaseRad (float x, float y, float z)
Vector3 CartesianToSphericalZBaseDeg (float x, float y, float z)
double BackEaseIn (double t, double b, double c, double d, double s)
double BackEaseOut (double t, double b, double c, double d, double s)
double BackEaseInOut (double t, double b, double c, double d, double s)
double BounceEaseOut (double t, double b, double c, double d)
double BounceEaseIn (double t, double b, double c, double d)
double BounceEaseInOut (double t, double b, double c, double d)
double CircEaseIn (double t, double b, double c, double d)
double CircEaseOut (double t, double b, double c, double d)
double CircEaseInOut (double t, double b, double c, double d)
double CubicEaseIn (double t, double b, double c, double d)
double CubicEaseOut (double t, double b, double c, double d)
double CubicEaseInOut (double t, double b, double c, double d)
double ElasticEaseIn (double t, double b, double c, double d, double a, double p)
double ElasticEaseOut (double t, double b, double c, double d, double a, double p)
double ElasticEaseInOut (double t, double b, double c, double d, double a, double p)
double ExpoEaseIn (double t, double b, double c, double d)
double ExpoEaseOut (double t, double b, double c, double d)
double ExpoEaseInOut (double t, double b, double c, double d)
double LinearEaseNone (double t, double b, double c, double d)
double LinearEaseIn (double t, double b, double c, double d)
double LinearEaseOut (double t, double b, double c, double d)
double LinearEaseInOut (double t, double b, double c, double d)
double QuadEaseIn (double t, double b, double c, double d)
double QuadEaseOut (double t, double b, double c, double d)
double QuadEaseInOut (double t, double b, double c, double d)
double QuartEaseIn (double t, double b, double c, double d)
double QuartEaseOut (double t, double b, double c, double d)
double QuartEaseInOut (double t, double b, double c, double d)
double QuintEaseIn (double t, double b, double c, double d)
double QuintEaseOut (double t, double b, double c, double d)
double QuintEaseInOut (double t, double b, double c, double d)
double SineEaseIn (double t, double b, double c, double d)
double SineEaseOut (double t, double b, double c, double d)
double SineEaseInOut (double t, double b, double c, double d)
template<typename T >
DotProduct (const Vec2< T > &lhs, const Vec2< T > &rhs)
template<typename T >
CrossProduct (const Vec2< T > &lhs, const Vec2< T > &rhs)
template<typename U >
Vec2< U > operator* (const U &f, const Vec2< U > &v)
template<typename T >
DotProduct (const Vec3< T > &lhs, const Vec3< T > &rhs)
template<typename T >
const Vec3< T > CrossProduct (const Vec3< T > &lhs, const Vec3< T > &rhs)
template<typename U >
Vec3< U > operator* (const U &f, const Vec3< U > &v)
template<typename T >
Vec4< T > operator* (T f, const Vec4< T > &v)
template<typename U >
Vec4< U > operator* (const U &f, const Vec4< U > &v)
unsigned int Memcmp (const void *Buf1, const void *Buf2, unsigned int Count)
bool MemIsZero (const void *V, size_t Count)
void * Memmove (void *Dest, const void *Src, size_t Count)
void Memset (void *Dest, int C, size_t Count)
void Memzero (void *Dest, size_t Count)
void Memcpy (void *Dest, const void *Src, size_t Count)
void Memswap (void *Ptr1, void *Ptr2, size_t Size)
bool IsMemoryAligned (void *data, unsigned int alignment)
 Check that the alignment is a power of two.
void * Malloc (size_t Count, unsigned int Alignment)
void * Realloc (void *Original, size_t Count, unsigned int Alignment)
NString IntegerToChar (int value, int base)
 From: http://www.strudel.org.uk/itoa/ C++ version 0.4 char* style "itoa": Written by Lukás Chmela Released under GPLv3.
double CharToDouble (const TCHAR *digit)
 Convert a TCHAR string to a double value.
NString DoubleToChar (double d)
 Convert a double to an NString.
int CharToInteger (const TCHAR *digit)
 Convert a TCHAR string to a 32 bits long value.
unsigned int HexCharToInteger (const TCHAR *s)
 Convert an Hex TCHAR string to an integer value.
int IntegerToChar (const TCHAR *digit)
 Convert an string to an integer.
 NUX_IMPLEMENT_GLOBAL_OBJECT (UniqueIndex)
unsigned int GetVariableArgs (TCHAR *Dest, unsigned int Size, unsigned int Count, const TCHAR *&Fmt, va_list ArgPtr)
unsigned int GetVariableArgsAnsi (ANSICHAR *Dest, unsigned int Size, unsigned int Count, const ANSICHAR *&Fmt, va_list ArgPtr)
void PrintOutputDebugString (const TCHAR *Format,...)
 Log an outpout message to console or visual studio output. To be used while the log redirector is not initialized.
void LogOutputAssertMessage (const ANSICHAR *File, int Line, const TCHAR *Format=TEXT(""),...)
 Log an assertion failure to registered output.
void LogOutputErrorMessage (const ANSICHAR *File, int Line, const TCHAR *Format=TEXT(""),...)
 Log an error message to registered output.
void LogOutputDebugMessage (const TCHAR *Format,...)
 Log and output message with a severity factor to registered output. Print colored output in XTerm.
void LogOutputSeverityMessage (int Severity, const TCHAR *Format,...)
 Log and output message with a severity factor to registered output. Print colored output in XTerm.
bool OutputRedirectorReady ()
 NUX_IMPLEMENT_ROOT_OBJECT_TYPE (Trackable)
 NUX_IMPLEMENT_OBJECT_TYPE (Object)
 NUX_IMPLEMENT_GLOBAL_OBJECT (ObjectStats)
template<typename T >
bool operator== (T *ptr, const ObjectPtr< T > &a)
template<typename T >
bool operator!= (T *ptr, const ObjectPtr< T > &a)
template<typename T >
bool operator== (T *ptr, const ObjectWeakPtr< T > &a)
template<typename T >
bool operator!= (T *ptr, const ObjectWeakPtr< T > &a)
 NUX_IMPLEMENT_GLOBAL_OBJECT (NullOutput)
 NUX_IMPLEMENT_GLOBAL_OBJECT (LogOutputRedirector)
 NUX_IMPLEMENT_GLOBAL_OBJECT (LogFileOutput)
bool ParseCommand (const TCHAR **Stream, const TCHAR *Match)
 Parse a stream of characters and look for a string of TCHAR at the start of the stream.
bool Parse_tchar (const TCHAR *stream, const TCHAR *Match, TCHAR *value, int size, int MaxLen)
 Parses a string of N character from a character stream after a named token.
bool ParseParam (const TCHAR *Stream, const TCHAR *Param)
 Checks if a Token command-line parameter exists in the stream.
bool Parse_string (const TCHAR *Stream, const TCHAR *Match, NString &Value)
 Parse a NString after the named token.
bool Parse_u64 (const TCHAR *Stream, const TCHAR *Match, QWORD &Value)
 Parse a QUADWORD after the named token.
bool Parse_s64 (const TCHAR *Stream, const TCHAR *Match, SQWORD &Value)
 Parse a SIGNED QUADWORD after the named token.
bool Parse_u32 (const TCHAR *stream, const TCHAR *Match, DWORD &value)
 Parse a stream of characters and look for a t_32 value after the token string.
bool Parse_u8 (const TCHAR *Stream, const TCHAR *Match, BYTE &Value)
 Parse a BYTE after the named token.
bool Parse_s8 (const TCHAR *Stream, const TCHAR *Match, SBYTE &Value)
 Parse a signed BYTE after the named token.
bool Parse_u16 (const TCHAR *Stream, const TCHAR *Match, WORD &Value)
 Parse a WORD after the named token.
bool Parse_s16 (const TCHAR *Stream, const TCHAR *Match, SWORD &Value)
 Parse a signed WORD after the named token.
bool Parse_float (const TCHAR *Stream, const TCHAR *Match, float &Value)
 Parse a floating point value after the named token.
bool Parse_int (const TCHAR *Stream, const TCHAR *Match, int &Value)
 Parse a double WORD after the named token.
bool Parse_bool (const TCHAR *Stream, const TCHAR *Match, bool &OnOff)
 Parse a BOOLEAN after the named token.
void ParseToNextLine (const TCHAR **Stream, TCHAR CommentChar)
 Go to the next token in the stream.
bool ParseToken (const TCHAR *Str, TCHAR *TokenBuffer, int BufferSize)
 Parse the next space-delimited string from the input stream. If the next token starts with a quote, gets entire quoted string.
bool ParseToken (const TCHAR *Str, NString &TokenString)
 Parse the next space-delimited string from the input stream. If the next token starts with a quote, gets entire quoted string.
NString ParseToken (const TCHAR *Str, bool UseEscape)
bool ParseLine (const TCHAR **Stream, TCHAR *LineBuffer, int BufferSize)
 Extract a line of Stream (everything up to, but not including, CR/LF).
bool ParseLine (const TCHAR **Stream, NString &LineString)
 Extract a line of Stream (everything up to, but not including, CR/LF).
NString ParseToken (const TCHAR *Str)
 Parse the next space-delimited string from the input stream. If the next token starts with a quote, gets entire quoted string.
 NUX_IMPLEMENT_GLOBAL_OBJECT (NGlobalData)
void NuxCoreInitialize (const TCHAR *CommandLine)
void ExitSystem ()
void inlInitRandomGenerator ()
static NString _GetProgramDirectory ()
static NString _GetComputerName ()
static NString _GetUserName ()
NString GetComputerName ()
 Get computer name.
NString GetProgramDirectory ()
 Get startup directory.
NString GetUserName ()
 Get user name.
NString GetCmdLine ()
 Get the program command line.
NString GetLogDirectory ()
 Return the logs directory.
void inlPreInitializePlatform ()
void inlInitializePlatform ()
void inlPostInitializePlatform ()
void inlExitSystem ()
template<template< typename T > class PROP_TYPE, typename VALUE_TYPE , typename TEST_TYPE , typename VT = typename PROP_TYPE<VALUE_TYPE>::ValueType>
bool operator== (TEST_TYPE const &lhs, PROP_TYPE< VALUE_TYPE > const &rhs)
 This is a very boring file.
template<template< typename T > class PROP_TYPE, typename VALUE_TYPE , typename TEST_TYPE , typename VT = typename PROP_TYPE<VALUE_TYPE>::ValueType>
bool operator== (PROP_TYPE< VALUE_TYPE > const &lhs, TEST_TYPE const &rhs)
template<template< typename T > class PROP_TYPE, typename VALUE_TYPE , typename VT = typename PROP_TYPE<VALUE_TYPE>::ValueType>
bool operator== (PROP_TYPE< VALUE_TYPE > const &lhs, PROP_TYPE< VALUE_TYPE > const &rhs)
template<template< typename T > class PROP_TYPE, typename VALUE_TYPE , typename TEST_TYPE , typename VT = typename PROP_TYPE<VALUE_TYPE>::ValueType>
bool operator!= (TEST_TYPE const &lhs, PROP_TYPE< VALUE_TYPE > const &rhs)
template<template< typename T > class PROP_TYPE, typename VALUE_TYPE , typename TEST_TYPE , typename VT = typename PROP_TYPE<VALUE_TYPE>::ValueType>
bool operator!= (PROP_TYPE< VALUE_TYPE > const &lhs, TEST_TYPE const &rhs)
template<template< typename T > class PROP_TYPE, typename VALUE_TYPE , typename VT = typename PROP_TYPE<VALUE_TYPE>::ValueType>
bool operator!= (PROP_TYPE< VALUE_TYPE > const &lhs, PROP_TYPE< VALUE_TYPE > const &rhs)
template<template< typename T > class PROP_TYPE, typename VALUE_TYPE , typename TEST_TYPE , typename VT = typename PROP_TYPE<VALUE_TYPE>::ValueType>
bool operator< (TEST_TYPE const &lhs, PROP_TYPE< VALUE_TYPE > const &rhs)
template<template< typename T > class PROP_TYPE, typename VALUE_TYPE , typename TEST_TYPE , typename VT = typename PROP_TYPE<VALUE_TYPE>::ValueType>
bool operator< (PROP_TYPE< VALUE_TYPE > const &lhs, TEST_TYPE const &rhs)
template<template< typename T > class PROP_TYPE, typename VALUE_TYPE , typename VT = typename PROP_TYPE<VALUE_TYPE>::ValueType>
bool operator< (PROP_TYPE< VALUE_TYPE > const &lhs, PROP_TYPE< VALUE_TYPE > const &rhs)
template<template< typename T > class PROP_TYPE, typename VALUE_TYPE , typename TEST_TYPE , typename VT = typename PROP_TYPE<VALUE_TYPE>::ValueType>
bool operator<= (TEST_TYPE const &lhs, PROP_TYPE< VALUE_TYPE > const &rhs)
template<template< typename T > class PROP_TYPE, typename VALUE_TYPE , typename TEST_TYPE , typename VT = typename PROP_TYPE<VALUE_TYPE>::ValueType>
bool operator<= (PROP_TYPE< VALUE_TYPE > const &lhs, TEST_TYPE const &rhs)
template<template< typename T > class PROP_TYPE, typename VALUE_TYPE , typename VT = typename PROP_TYPE<VALUE_TYPE>::ValueType>
bool operator<= (PROP_TYPE< VALUE_TYPE > const &lhs, PROP_TYPE< VALUE_TYPE > const &rhs)
template<template< typename T > class PROP_TYPE, typename VALUE_TYPE , typename TEST_TYPE , typename VT = typename PROP_TYPE<VALUE_TYPE>::ValueType>
bool operator> (TEST_TYPE const &lhs, PROP_TYPE< VALUE_TYPE > const &rhs)
template<template< typename T > class PROP_TYPE, typename VALUE_TYPE , typename TEST_TYPE , typename VT = typename PROP_TYPE<VALUE_TYPE>::ValueType>
bool operator> (PROP_TYPE< VALUE_TYPE > const &lhs, TEST_TYPE const &rhs)
template<template< typename T > class PROP_TYPE, typename VALUE_TYPE , typename VT = typename PROP_TYPE<VALUE_TYPE>::ValueType>
bool operator> (PROP_TYPE< VALUE_TYPE > const &lhs, PROP_TYPE< VALUE_TYPE > const &rhs)
template<template< typename T > class PROP_TYPE, typename VALUE_TYPE , typename TEST_TYPE , typename VT = typename PROP_TYPE<VALUE_TYPE>::ValueType>
bool operator>= (TEST_TYPE const &lhs, PROP_TYPE< VALUE_TYPE > const &rhs)
template<template< typename T > class PROP_TYPE, typename VALUE_TYPE , typename TEST_TYPE , typename VT = typename PROP_TYPE<VALUE_TYPE>::ValueType>
bool operator>= (PROP_TYPE< VALUE_TYPE > const &lhs, TEST_TYPE const &rhs)
template<template< typename T > class PROP_TYPE, typename VALUE_TYPE , typename VT = typename PROP_TYPE<VALUE_TYPE>::ValueType>
bool operator>= (PROP_TYPE< VALUE_TYPE > const &lhs, PROP_TYPE< VALUE_TYPE > const &rhs)
bool operator== (const Size &lhs, const Size &rhs)
bool operator!= (const Size &lhs, const Size &rhs)
TCHARStrncpy (TCHAR *Dest, size_t Size, const TCHAR *Src, size_t MaxLen)
TCHARStrncat (TCHAR *Dest, size_t Size, const TCHAR *Src, size_t Max)
 Concatenate a string with length checking.
const TCHARStrfind (const TCHAR *Str, const TCHAR *Find)
bool IsLastChar (const TCHAR *CharString, const TCHAR Chr)
NString Itoa (int InNum)
TCHARStrdup (const TCHAR *str)
 Duplicate a null terminated string using new[]. The resulting string is NULL terminated. Use delete[] to destroy.
ANSICHARStrdupA (const ANSICHAR *str)
 Duplicate a null terminated ANSICHAR string using new[]. The resulting string is NULL terminated. Use delete[] to destroy.
UNICHARStrdupU (const UNICHAR *str)
 Duplicate a null terminated UNICHAR string using new[]. The resulting string is NULL terminated. Use delete[] to destroy.
size_t ValueToLiteralString (char *buffer, unsigned int len, unsigned short value)
size_t ValueToLiteralString (char *buffer, unsigned int len, short value)
size_t ValueToLiteralString (char *buffer, unsigned int len, unsigned int value)
size_t ValueToLiteralString (char *buffer, unsigned int len, int value)
size_t ValueToLiteralString (char *buffer, unsigned int len, unsigned long value)
size_t ValueToLiteralString (char *buffer, unsigned int len, long value)
size_t ValueToLiteralString (char *buffer, unsigned int len, unsigned long long value)
size_t ValueToLiteralString (char *buffer, unsigned int len, long long value)
size_t ValueToLiteralString (char *buffer, unsigned int len, float value)
size_t ValueToLiteralString (char *buffer, unsigned int len, double value)
size_t ValueToLiteralString (char *buffer, unsigned int len, unsigned char value)
size_t ValueToLiteralString (char *buffer, unsigned int len, char value)
bool ValueFromLiteralString (const char *buffer, unsigned int len, unsigned short &value)
bool ValueFromLiteralString (const char *buffer, unsigned int len, short &value)
bool ValueFromLiteralString (const char *buffer, unsigned int len, unsigned int &value)
bool ValueFromLiteralString (const char *buffer, unsigned int len, int &value)
bool ValueFromLiteralString (const char *buffer, unsigned int len, unsigned long &value)
bool ValueFromLiteralString (const char *buffer, unsigned int len, long &value)
bool ValueFromLiteralString (const char *buffer, unsigned int len, unsigned long long &value)
bool ValueFromLiteralString (const char *buffer, unsigned int len, long long &value)
bool ValueFromLiteralString (const char *buffer, unsigned int len, float &value)
bool ValueFromLiteralString (const char *buffer, unsigned int len, double &value)
bool ValueFromLiteralString (const char *buffer, unsigned int len, unsigned char &value)
bool ValueFromLiteralString (const char *buffer, unsigned int len, char &value)
 VARARG_BODY (int, Snprintf, const TCHAR *, VARARG_EXTRA(TCHAR *Dest) VARARG_EXTRA(int Size) VARARG_EXTRA(int Count))
bool operator!= (const NString &left, const NString &right)
bool operator== (const NString &left, const NString &right)
bool operator< (const NString &left, const NString &right)
bool operator<= (const NString &left, const NString &right)
bool operator> (const NString &left, const NString &right)
bool operator>= (const NString &left, const NString &right)
NString operator+ (const NString &left, const NString &right)
NString operator+ (const NString &left, const TCHAR *right)
NString operator+ (const NString &left, const TCHAR right)
NString operator+ (const TCHAR *left, const NString &right)
NString operator+ (const TCHAR left, const NString &right)
tostreamoperator<< (tostream &o, const NString &s)
 VARARG_BODY (NString, NString::Printf, const TCHAR *, VARARG_NONE)
 Behave like printf.
template<typename T >
ToLowerCase (T c)
template<typename T >
ToUpperCase (T c)
template<typename T , typename U >
static int StringCompareWithOperator (const T *lhs, const T *rhs, U functor)
 Compare two strings of char or TCHAR.
template<typename T , typename U >
static int StringCompareWithOperator (const T *lhs, const T *rhs, unsigned int numCharToCompare, U functor)
 Compare the first N characters of two strings of char or TCHAR (case insensitive).
template<typename T >
static int StringCompare (const T *lhs, const T *rhs)
 Compare two strings of char or TCHAR for equality.
template<class T >
static int StringCompare (const T *lhs, const T *rhs, unsigned int len)
 Compare the first N characters of two strings of char or TCHAR for equality.
template<typename T >
static int StringCompareCaseInsensitive (const T *lhs, const T *rhs)
 Compare two strings of char or TCHAR for equality (case insensitive).
template<typename T >
static unsigned int StringCopy (T *dest, const T *src)
 Copy one string to another without controls of buffer size for the destination.
template<typename T >
static unsigned int StringCopy (T *dest, unsigned int bufferSize, const T *src, unsigned int lengthToCopy=0xFFFFFFFF)
 Copy one string to another with controls of buffer size for the destination.
template<typename T , typename U >
static T * FindString (const T *src, const T *str, U functor)
 Find a string inside a char or TCHAR string.
template<typename T >
static T * FindString (const T *src, const T *str)
template<class T >
static size_t StringLength (const T *s)
 Returns a TCHAR length.
template<class T >
size_t ToCharString (char *buffer, size_t bufferlen, const char *format, T value)
template<class T >
int ToTCharString (TCHAR *buffer, size_t bufferlen, const TCHAR *format, T value)
size_t ValueToLiteralString (char *buffer, size_t len, unsigned short value)
size_t ValueToLiteralString (char *buffer, size_t len, short value)
size_t ValueToLiteralString (char *buffer, size_t len, unsigned int value)
size_t ValueToLiteralString (char *buffer, size_t len, int value)
size_t ValueToLiteralString (char *buffer, size_t len, unsigned long value)
size_t ValueToLiteralString (char *buffer, size_t len, long value)
size_t ValueToLiteralString (char *buffer, size_t len, unsigned long long value)
size_t ValueToLiteralString (char *buffer, size_t len, long long value)
size_t ValueToLiteralString (char *buffer, size_t len, float value)
size_t ValueToLiteralString (char *buffer, size_t len, double value)
size_t ValueToLiteralString (char *buffer, size_t len, unsigned char value)
size_t ValueToLiteralString (char *buffer, size_t len, char value)
template<class T >
bool FromCharString (const char *buffer, size_t bufferlen, const char *format, T &value)
template<class T >
bool FromTCharString (const TCHAR *buffer, size_t bufferlen, const TCHAR *format, T &value)
bool ValueFromLiteralString (const char *buffer, size_t len, unsigned short &value)
bool ValueFromLiteralString (const char *buffer, size_t len, short &value)
bool ValueFromLiteralString (const char *buffer, size_t len, unsigned int &value)
bool ValueFromLiteralString (const char *buffer, size_t len, int &value)
bool ValueFromLiteralString (const char *buffer, size_t len, unsigned long &value)
bool ValueFromLiteralString (const char *buffer, size_t len, long &value)
bool ValueFromLiteralString (const char *buffer, size_t len, unsigned long long &value)
bool ValueFromLiteralString (const char *buffer, size_t len, long long &value)
bool ValueFromLiteralString (const char *buffer, size_t len, float &value)
bool ValueFromLiteralString (const char *buffer, size_t len, double &value)
bool ValueFromLiteralString (const char *buffer, size_t len, unsigned char &value)
bool ValueFromLiteralString (const char *buffer, size_t len, char &value)
TCHARinlStringCopy (TCHAR *Dest, size_t numberOfElements, const TCHAR *Src)
 Copy a string.
TCHARinlTCharStringConcat (TCHAR *Dest, size_t numberOfElements, const TCHAR *Src)
 Append a string.
TCHARinlStrupr (TCHAR *String, size_t numberOfElements)
 Convert a string to uppercase. Returns a pointer to the altered string. Return 0 if not successful.
TCHARStrstr (const TCHAR *String, const TCHAR *Find)
 Return a pointer to the first occurrence of a search string in a string.
TCHARStrchr (const TCHAR *String, int c)
 Find the first occurrence a character in a string. Returns a pointer to that character in the string or NULL if it is not found.
TCHARStrrchr (const TCHAR *String, int c)
 Find the last occurrence a character in a string. Returns a pointer to that character in the string or NULL if it is not found.
int TCharStringCompare (const TCHAR *String1, const TCHAR *String2)
 Performs a case-sensitive comparison. The return value indicates the lexicographic relation of String1 to String2.
int Stricmp (const TCHAR *String1, const TCHAR *String2)
 Performs a case-insensitive comparison. The return value indicates the lexicographic relation of String1 to String2.
int Strtoi (const TCHAR *Start, TCHAR **End, int Base)
int TCharStringNCompare (const TCHAR *A, const TCHAR *B, size_t Count)
int TCharStringNICompare (const TCHAR *A, const TCHAR *B, size_t Count)
 VARARG_DECL (int, static int, return, Snprintf, VARARG_NONE, const TCHAR *, VARARG_EXTRA(TCHAR *Dest) VARARG_EXTRA(int Size) VARARG_EXTRA(int Count), VARARG_EXTRA(Dest) VARARG_EXTRA(Size) VARARG_EXTRA(Count))
 Formatted Printf.
 NUX_IMPLEMENT_ROOT_OBJECT_TYPE (NThread)
NString GetFormattedLocalTime ()
 Returns the time formatted in a string.
void GetLocalTime (unsigned int &Year, unsigned int &Month, unsigned int &Day, unsigned int &Hour, unsigned int &Min, unsigned int &Sec, unsigned int &MicroSec)
void GetUTCTime (unsigned int &Year, unsigned int &Month, unsigned int &Day, unsigned int &Hour, unsigned int &Min, unsigned int &Sec, unsigned int &MicroSec)
long GetTimeZone ()
void SleepForMilliseconds (unsigned int Milliseconds)
 Suspend thread execution for an interval measured in microseconds.
double Seconds ()
 Returns the time that has passed in seconds. The origin is unknown.
double MilliSeconds ()
 Returns the time that has passed in milliseconds. The origin is unknown.
void inlCopyTextToClipboard (const TCHAR *text)
NString inlReadTextToClipboard ()
static double _align (double val)
static void _blurinner (guchar *pixel, gint *zR, gint *zG, gint *zB, gint *zA, gint alpha, gint aprec, gint zprec)
static void _blurrow (guchar *pixels, gint width, gint height, gint channels, gint line, gint alpha, gint aprec, gint zprec)
static void _blurcol (guchar *pixels, gint width, gint height, gint channels, gint x, gint alpha, gint aprec, gint zprec)
void _expblur (guchar *pixels, gint width, gint height, gint channels, gint radius, gint aprec, gint zprec)
MouseButton GetEventButton (unsigned long button_state)
 Returns index of the mouse button that triggered an event.
bool GetButtonState (unsigned long button_state, MouseButton button)
 Returns the state of a mouse button: pressed or released.
bool GetKeyModifierState (unsigned long key_modifiers_states, KeyModifier key_modifier)
 Returns the state of a special key: CTRL, Shift, Alt, NumLock...
 NUX_IMPLEMENT_OBJECT_TYPE (FontTexture)
 NUX_IMPLEMENT_OBJECT_TYPE (IOpenGLResource)
int CheckGLError (const char *GLcall, const char *file, int line)
void DecomposeTypeDeclaraction (ATTRIB_DECL_TYPE Type, int &NumComponent, ATTRIB_COMPONENT_TYPE &ComponentType)
UINT GetVertexElementSize (VERTEXELEMENT vtxelement)
void AddVertexElement (std::vector< VERTEXELEMENT > &Elements, WORD Stream, WORD Offset, ATTRIB_DECL_TYPE Type, ATTRIB_USAGE_DECL Usage, BYTE UsageIndex)
unsigned int GetGLElementCount (PRIMITIVE_TYPE InPrimitiveType, unsigned int InPrimitiveCount)
void DecomposeTypeDeclaraction (ATTRIB_DECL_TYPE Type, BYTE &NumComponent, ATTRIB_COMPONENT_TYPE &ComponentType)
GLenum GetGLPrimitiveType (PRIMITIVE_TYPE InPrimitiveType)
 NUX_IMPLEMENT_OBJECT_TYPE (ResourceData)
 NUX_IMPLEMENT_OBJECT_TYPE (CachedResourceData)
 NUX_IMPLEMENT_OBJECT_TYPE (BaseTexture)
 NUX_IMPLEMENT_OBJECT_TYPE (Texture2D)
 NUX_IMPLEMENT_OBJECT_TYPE (TextureRectangle)
 NUX_IMPLEMENT_OBJECT_TYPE (TextureCube)
 NUX_IMPLEMENT_OBJECT_TYPE (TextureVolume)
 NUX_IMPLEMENT_OBJECT_TYPE (TextureFrameAnimation)
 NUX_IMPLEMENT_OBJECT_TYPE (CachedBaseTexture)
 NUX_IMPLEMENT_OBJECT_TYPE (CachedTexture2D)
 NUX_IMPLEMENT_OBJECT_TYPE (CachedTextureRectangle)
 NUX_IMPLEMENT_OBJECT_TYPE (CachedTextureCube)
 NUX_IMPLEMENT_OBJECT_TYPE (CachedTextureVolume)
 NUX_IMPLEMENT_OBJECT_TYPE (CachedTextureFrameAnimation)
template<class T , class U >
static T * UpCastResource (U *Src)
 Up cast a Resource.
BaseTextureCreateTexture2DFromPixbuf (GdkPixbuf *pixbuf, bool premultiply)
 Create and load a 2D texture filled with RGBA pixels loaded from the GdkPixbuf pointed by pixbuf.
BaseTextureCreateTexture2DFromFile (const char *filename, int max_size, bool premultiply)
 Create and load a 2D texture filled with RGBA pixels loaded from the image file pointed by filename.
BaseTextureCreateTextureFromPixbuf (GdkPixbuf *pixbuf)
BaseTextureCreateTextureFromFile (const char *TextureFilename)
BaseTextureCreateTextureFromBitmapData (const NBitmapData *BitmapData)
BaseTextureLoadTextureFromFile (const std::string &filename)
 NUX_IMPLEMENT_OBJECT_TYPE (VertexBuffer)
 NUX_IMPLEMENT_OBJECT_TYPE (IndexBuffer)
 NUX_IMPLEMENT_OBJECT_TYPE (VertexDeclaration)
 NUX_IMPLEMENT_OBJECT_TYPE (MeshBuffer)
 NUX_IMPLEMENT_OBJECT_TYPE (CachedVertexBuffer)
 NUX_IMPLEMENT_OBJECT_TYPE (CachedIndexBuffer)
 NUX_IMPLEMENT_OBJECT_TYPE (CachedVertexDeclaration)
 NUX_IMPLEMENT_OBJECT_TYPE (CachedMeshBuffer)
static void InitTextureFormats ()
void ClipOrCenterRectToMonitor (LPRECT prc, unsigned int flags)
static int mouse_event (HWND window, Event *event, int what, int button, WPARAM wParam, LPARAM lParam)
unsigned int GetModifierKeyState ()
LRESULT CALLBACK WndProcManager (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
static Bool WaitForNotify (Display *dpy, XEvent *event, XPointer arg)
unsigned int GetModifierKeyState (unsigned int modifier_key_state)
NBitmapDataLoadGdkPixbuf (GdkPixbuf *pixbuf)
 Return and object that has to be destroyed with delete.
NBitmapDataLoadImageFile (const TCHAR *Filename)
 Return and object that has to be destroyed with delete.
bool HasOpenEXRSupport ()
void MakeCheckBoardImage (ImageSurface &Image, int width, int height, Color const &dark, Color const &light, int TileWidth, int TileHeight)
 NUX_IMPLEMENT_OBJECT_TYPE (IOpenGLAnimatedTexture)
 NUX_IMPLEMENT_OBJECT_TYPE (IOpenGLAsmShader)
 NUX_IMPLEMENT_OBJECT_TYPE (IOpenGLAsmVertexShader)
 NUX_IMPLEMENT_OBJECT_TYPE (IOpenGLAsmPixelShader)
 NUX_IMPLEMENT_OBJECT_TYPE (IOpenGLAsmShaderProgram)
bool ExtractShaderString3 (const NString &ShaderToken, const NString &ShaderSource, NString &RetSource, NString ShaderPreprocessorDefines)
 NUX_IMPLEMENT_OBJECT_TYPE (IOpenGLBaseTexture)
int GetTextureSize (IOpenGLBaseTexture *pTexture)
void GetTextureDesc (IOpenGLBaseTexture *pTexture, unsigned int Level, TEXTURE_DESC *pDesc)
 NUX_IMPLEMENT_OBJECT_TYPE (IOpenGLCubeTexture)
 NUX_IMPLEMENT_OBJECT_TYPE (IOpenGLFrameBufferObject)
 NUX_IMPLEMENT_OBJECT_TYPE (IOpenGLShader)
 NUX_IMPLEMENT_OBJECT_TYPE (IOpenGLVertexShader)
 NUX_IMPLEMENT_OBJECT_TYPE (IOpenGLPixelShader)
 NUX_IMPLEMENT_OBJECT_TYPE (IOpenGLShaderProgram)
static void InsertPreProcessorDefinitions (const NString &ShaderSource, NString &RetSource, NString &ShaderPreprocessorDefines)
 NUX_IMPLEMENT_OBJECT_TYPE (IOpenGLIndexBuffer)
 NUX_IMPLEMENT_OBJECT_TYPE (IOpenGLPixelBufferObject)
 NUX_IMPLEMENT_OBJECT_TYPE (IOpenGLQuery)
 NUX_IMPLEMENT_OBJECT_TYPE (IOpenGLRectangleTexture)
 NUX_IMPLEMENT_OBJECT_TYPE (IOpenGLSurface)
 NUX_IMPLEMENT_OBJECT_TYPE (IOpenGLTexture2D)
 NUX_IMPLEMENT_OBJECT_TYPE (IOpenGLVertexBuffer)
 NUX_IMPLEMENT_OBJECT_TYPE (IOpenGLVertexDeclaration)
 NUX_IMPLEMENT_OBJECT_TYPE (IOpenGLVolume)
 NUX_IMPLEMENT_OBJECT_TYPE (IOpenGLVolumeTexture)
MeshDataLoadMeshFile_OBJ (const char *filename)
void NuxGraphicsInitialize ()
GraphicsDisplayGetGraphicsDisplay ()
 inlDeclareThreadLocalStorage (GraphicsDisplay *, 1, _TLS_GraphicsDisplay)
 NUX_IMPLEMENT_GLOBAL_OBJECT (NuxGraphicsResources)
GLenum TexWrapGLMapping (TexWrap tex_wrap_mode)
GLenum TexFilterGLMapping (TexFilter tex_filter_mode)
GLenum RopBlendGLMapping (RopBlend rop_blend_mode)
void QRP_Compute_Texture_Coord (int quad_width, int quad_height, ObjectPtr< IOpenGLBaseTexture > tex, TexCoordXForm &texxform)
 Compute texture coordinates and wrapping mode according to TexCoordXForm.
 NUX_IMPLEMENT_GLOBAL_OBJECT (RenderingStats)

Variables

const int SizeGripWidth = 20
const int SizeGripHeight = 20
const int TitleBarHeight = 20
static Color DummyColor
static const int GRAPH_MARGIN = 1
Color FILESELECTOR_BUTTON_COLOR = Color(0xFF4D4D4D)
Color FILESELECTOR_BUTTON_MOUSEOVER_COLOR = Color(0xFF222222)
static const int HERROR = 0
const int HSCROLLBAR_WIDTH = 10
const int HSCROLLBAR_HEIGHT = 10
static const int HSPLITTERHEIGHT = 5
static const int HSTICK_SIZE = 5
static GMutex * gLibEventMutex = 0
static GSourceFuncs event_funcs
static GSourceFuncs timeline_funcs
static const unsigned int MENU_MINIMUM_WIDTH = 10
static const unsigned int MENU_MINIMUM_HEIGHT = 16
static const unsigned int MENUBAR_ICON_WIDTH = 24
static const unsigned int MENUBAR_ICON_HEIGHT = 24
static const int MENU_ICONE_WIDTH = 18
static const int MENU_ICON_HEIGHT = 18
static const int MENU_ITEM_MIN_WIDTH = 90
static const int MENU_ITEM_MIN_HEIGHT = 20
static const int MENU_ITEM_BORDER_TO_ICON_MARGIN = 5
static const int MENU_ITEM_ICON_TO_TEXT_MARGIN = 5
static const int MENU_ITEM_TEXT_TO_BORDER_MARGIN = 5
const int BTN_WIDTH = 14
const int BTN_HEIGHT = 14
static NCriticalSection ThreadArrayLock
std::vector< NThread * > ThreadArray
static
NuxGlobalSingletonInitializer
GNuxGlobalInitializer = 0
static NuxGlobalInitializer sNuxGlobalInitializer
const unsigned int STENCIL_TEST_REF = 0xFF
const unsigned int STENCIL_TEST_MASK = 0xFFFFFFFF
const unsigned int STENCIL_CLEAR = 0x0
const float ALPHA_TEST_REF = 0.0f
const Color SPINBOX_BUTTON_COLOR = Color(0xFF4D4D4D)
const Color SPINBOX_BUTTON_MOUSEOVER_COLOR = Color(0xFF222222)
const Color SPINBOX_DOUBLE_BUTTON_COLOR = Color(0xFF4D4D4D)
const Color SPINBOX_DOUBLE_BUTTON_MOUSEOVER_COLOR = Color(0xFF222222)
static const int kInnerBorderX = 2
static const int kInnerBorderY = 0
static const int kCursorBlinkTimeout = 400
static const double kStrongCursorLineWidth = 1
static const double kStrongCursorBarWidth = 1
static const double kWeakCursorLineWidth = 3
static const double kWeakCursorBarWidth = 3
static const unsigned long long kTripleClickTimeout = 500
static const std::string kDefaultFontName = "Ubuntu"
UXStyle UXStyleArray []
static NThreadSafeCounter TimerUID = 0x01234567
static const int VERROR = 0
const int VSCROLLBAR_WIDTH = 5
const int VSCROLLBAR_HEIGHT = 10
static const int VSPLITTERWIDTH = 5
static const int VSTICK_SIZE = 5
const Color COLOR_BLACK = Color(0xFF000000)
const Color COLOR_RED = Color(0xFFFF0000)
const Color COLOR_GREEN = Color(0xFF00FF00)
const Color COLOR_BLUE = Color(0xFF0000FF)
const Color COLOR_WHITE = Color(0xFFFFFFFF)
const Color COLOR_BACKGROUND_PRIMARY = Color(0xFF4D4D4D)
const Color COLOR_BACKGROUND_SECONDARY = Color(0xFF868686)
const Color COLOR_FOREGROUND_PRIMARY = Color(0xFF424242)
const Color COLOR_FOREGROUND_SECONDARY = Color(0xFFEFEFEF)
const Color COLOR_SELECTION_SECONDARY = Color(0xFFAAAAAA)
const Color COLOR_TEXTEDIT_BACKGROUNG = Color(0xFF9F9F9F)
const Color COLOR_TEXTSTATIC_BACKGROUNG = Color(0xFF909090)
const Color COLOR_WIDGET_BACKGROUND = Color(0xFF6E6E6E)
const Color COLOR_WIDGET_MOUSEOVER = Color(0xFF969664)
const Color COLOR_WINDOW_BACKGROUND = Color(0xFFa0a0a0)
const Color COLOR_PRIMARY_LEFT = Color(0xFFC0C0C0)
const Color COLOR_PRIMARY_RIGHT = Color(0xFF7D7D7D)
const Color COLOR_SCROLLBAR_TRACK = Color(0xFF636363)
const Color COLOR_SCROLLBAR_SLIDER = Color(0xFF373737)
const Color COLOR_DARK_0 = Color(0xFF575757)
const Color COLOR_LIGHT_0 = Color(0xFF737373)
const int AREA_MIN_WIDTH = 1
const int AREA_MAX_WIDTH = 0x7FFFFFFF
const int AREA_MIN_HEIGHT = 1
const int AREA_MAX_HEIGHT = 0x7FFFFFFF
const int DEFAULT_WIDGET_HEIGHT = 8
const int PRACTICAL_WIDGET_HEIGHT = 18
const int DEFAULT_WIDGET_WIDTH = 32
const int PRACTICAL_WIDGET_WIDTH = 32
const int DEFAULT_TEXT_X_MARGIN = 0
const int DEFAULT_TEXT_Y_MARGIN = 0
const float DEFAULT_REPEAT_DELAY = 150
TimerFunctorm_ScrollTimerFunctor
TimerHandle m_ScrollTimerHandler
EventToNameStruct EventToName []
static const int halfShift = 10
static const unsigned int halfBase = 0x0010000UL
static const unsigned int halfMask = 0x3FFUL
static const char trailingBytesForUTF8 [256]
static const unsigned int offsetsFromUTF8 [6]
static const unsigned char firstByteMark [7] = { 0x00, 0x00, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC }
const BYTE UTF32_BE [] = {0x04 , 0x00, 0x00, 0xFE, 0xFF }
const BYTE UTF32_LE [] = {0x04 , 0xFF, 0xFE, 0x00, 0x00 }
const BYTE UTF16_BE [] = {0x02 , 0xFE, 0xFF }
const BYTE UTF16_LE [] = {0x02 , 0xFF, 0xFE }
const BYTE UTF8 [] = {0x03 , 0xEF, 0xBB, 0xBF }
static GlobalSingletonInitializerGGlobalInitializer = 0
static GlobalInitializer sGlobalInitializer
const bool GNoDialog = false
const BYTE NUX_UTF32_BE [] = {0x04 , 0x00, 0x00, 0xFE, 0xFF }
const BYTE NUX_UTF32_LE [] = {0x04 , 0xFF, 0xFE, 0x00, 0x00 }
const BYTE NUX_UTF16_BE [] = {0x02 , 0xFE, 0xFF }
const BYTE NUX_UTF16_LE [] = {0x02 , 0xFF, 0xFE }
const BYTE NUX_UTF8 [] = {0x03 , 0xEF, 0xBB, 0xBF }
PixelFormatInfo GPixelFormats []
ReadBackPixelFormatInfo GReadBackPixelFormats []
const long I_ExposureMask = (1L << 15)
const long I_StructureNotifyMask = (1L << 17)
const long I_SubstructureNotifyMask = (1L << 19)
const int CURSOR_OFFSET = 0
static int CURSOR_SIZE = 2
NString gFontVtxShader
NString gFontFragShader
NString FontAsmVtx
NString FontAsmFrg
NString FontAsmFrgRect
GLenum AttachmentBuffer []
static
NuxGraphicsGlobalSingletonInitializer
GNuxGraphicsGlobalInitializer = 0
static NuxGraphicsGlobalInitializer sNuxGraphicsGlobalInitializer
struct nux::StateLookUpTable s_StateLUT
const char * OGLDeviceErrorMessages []
static NString VtxShader
static NString RedFrgShader
static NString GreenFrgShader
static NString BlueFrgShader
static NString HueFrgShader
static NString SaturationFrgShader
static NString ValueFrgShader
static NString HSV_To_RGBFrgShader
static NString AsmVtxShader
NString AsmRedFrgShader
NString AsmGreenFrgShader
NString AsmBlueFrgShader
NString AsmHueFrgShader
NString AsmSaturationFrgShader
NString AsmValueFrgShader
static NString FrgShader
NString AsmFrgShader
struct nux::TextureStateLookUpTable s_TextureStateLUT
const char * WINDOW_CLASS_NAME
static OpenGLVersion OpenGLVersionTable []
static STREAMSOURCE _StreamSource [MAX_NUM_STREAM]
static NCriticalSection CreateOpenGLWindow_CriticalSection
const float RASTERIZATION_OFFSET = 0.0f
static const char *const BlendNormalShader
static const char *const BlendLightenShader
static const char *const BlendDarkenShader
static const char *const BlendMultiplyShader
static const char *const BlendAverageShader
static const char *const BlendAddShader
static const char *const BlendSubstractShader
static const char *const BlendDifferenceShader
static const char *const BlendNegationShader
static const char *const BlendExclusionShader
static const char *const BlendScreenShader
static const char *const BlendOverlayShader
static const char *const BlendSoftLightShader
static const char *const BlendHardLightShader
static const char *const BlendColorDodgeShader
static const char *const BlendLinearDodgeShader
static const char *const BlendColorBurnShader
static const char *const BlendLinearBurnShader
static const char *const BlendLinearLightShader
static const char *const BlendVividLightShader
static const char *const BlendPinLightShader
static const char *const BlendHardMixShader
static const char *const BlendReflectShader
static const char *const BlendGlowShader
static const char *const BlendPhoenixShader
static const char *const BlendOpacityShader

Detailed Description

The Writer singleton is responsible for controlling where the logging message go.

FramebufferObject Class.

Much of this property work is based on the work by Lois Goldthwaite, SC22/WG21/N1615=04-0055 - C++ Properties -- a Library Solution.

For testing purposes it is able to define the logging stream, normally a std::stringstream.

The default behaviour is to output to std::cout.

As far as logging the timestamp goes, we only go to second precision in the logging format itself. If a high performance timer is needed it should be managed by the caller.

The basic ideas were extended to add update notifications, and serialisation and introspection.

This class encapsulates the FramebufferObject (FBO) OpenGL spec. See the official spec at: http://oss.sgi.com/projects/ogl-sample/registry/EXT/framebuffer_object.txt

for details.

A framebuffer object(FBO) is conceptually a structure containing pointers to GPU memory. The memory pointed to is either an OpenGL texture or an OpenGL RenderBuffer. FBOs can be used to render to one or more textures, share depth buffers between multiple sets of color buffers/textures and are a complete replacement for pbuffers.

Performance Notes: 1) It is more efficient(but not required) to call Bind() on an FBO before making multiple method calls. For example:

FramebufferObject fbo; fbo.Bind(); fbo.AttachTexture(GL_COLOR_ATTACHMENT0_EXT, texId0); fbo.AttachTexture(GL_COLOR_ATTACHMENT1_EXT, texId1); fbo.IsValid();

To provide a complete encapsulation, the following usage pattern works correctly but is less efficient:

FramebufferObject fbo; NOTE : No Bind() call fbo.AttachTexture(GL_COLOR_ATTACHMENT0_EXT, texId0); fbo.AttachTexture(GL_COLOR_ATTACHMENT1_EXT, texId1); fbo.IsValid();

The first usage pattern binds the FBO only once, whereas the second usage binds/unbinds the FBO for each method call.

2) Use FramebufferObject::Disable() sparingly. We have intentionally left out an "Unbind()" method because it is largely unnecessary and encourages rendundant Bind/Unbind coding. Binding an FBO is usually much faster than enabling/disabling a pbuffer, but is still a costly operation. When switching between multiple FBOs and a visible OpenGL framebuffer, the following usage pattern is recommended:

FramebufferObject fbo1, fbo2; fbo1.Bind(); ... Render ... NOTE : No Unbind/Disable here...

fbo2.Bind(); ... Render ...

Disable FBO rendering and return to visible window OpenGL framebuffer. FramebufferObject::Disable();


Class Documentation

struct nux::ClientAreaDraw

Definition at line 36 of file ClientArea.h.

Collaboration diagram for nux::ClientAreaDraw:
Class Members
ClientArea * clientarea
Geometry clipgeometry
struct nux::TimeoutData

Definition at line 42 of file MainLoopGLib.cpp.

Collaboration diagram for nux::TimeoutData:
Class Members
unsigned int id
WindowThread * window_thread
struct nux::UXStyle

Definition at line 33 of file Theme.cpp.

Class Members
const char * style
UXStyleImageRef value
struct nux::PainterImage

Definition at line 120 of file Theme.h.

Collaboration diagram for nux::PainterImage:
Class Members
int border_bottom
int border_left
int border_right
int border_top
bool draw_borders_only
UXStyleImageRef style
BaseTexture * texture
struct nux::TimeStruct

Definition at line 33 of file TimerProc.cpp.

Class Members
long sec
long usec
class nux::TimeOutSignal

A timeout callback. Fires a signal when a timer expires.

Definition at line 33 of file TimerProc.h.

Class Members
signal< void, void * > time_expires
struct nux::DrawAreaContext

Definition at line 101 of file Utils.h.

Class Members
int height
int height_clipregion
int width
int width_clipregion
int x
int x_clipregion
int y
int y_clipregion
struct nux::PixelFormatInfo

Definition at line 29 of file BitmapFormats.h.

Class Members
int BlockBytes
int BlockSizeX
int BlockSizeY
int BlockSizeZ
unsigned int Flags
int Format
const TCHAR * Name
int NumComponents
unsigned int PlatformFormat
int RowMemoryAlignment
bool Supported
int type
struct nux::ReadBackPixelFormatInfo

Definition at line 45 of file BitmapFormats.h.

Class Members
int BlockBytes
unsigned int Flags
unsigned int Format
const TCHAR * Name
int NumComponents
bool Supported
int type
struct nux::EventToNameStruct

Definition at line 156 of file Events.h.

Class Members
int event
const char * EventName
struct nux::Glyph

Definition at line 162 of file FontTexture.h.

Class Members
int advance
float tex_x1
float tex_x2
float tex_y1
struct nux::_DeviceModes

Definition at line 37 of file Gfx_Interface.h.

Class Members
int format
bool fullscreen
int height
int refresh_rate
int width
struct nux::RenderStateMap

Definition at line 132 of file GLRenderStates.h.

Class Members
unsigned int Checked
float fValue
unsigned int iValue
unsigned int State
struct nux::PixelFormatReadInfo

Definition at line 218 of file GLResource.h.

Class Members
DWORD Flags
GLenum Format
const char * Name
bool Supported
GLenum type
struct nux::TEXTURE_DESC

Definition at line 330 of file GLResource.h.

Class Members
unsigned int BitsPerPixel
unsigned int BytesPerBlock
unsigned int Depth
unsigned int DepthInBlocks
int ExpBias
DWORD Flags
unsigned int Height
unsigned int HeightInBlocks
MULTISAMPLE_TYPE MultiSampleType
BitmapFormat PixelFormat
OpenGLResourceType ResourceType
unsigned int RowPitch
unsigned int SlicePitch
unsigned int Width
unsigned int WidthInBlocks
struct nux::_SURFACE_DESC

Definition at line 349 of file GLResource.h.

Class Members
unsigned int Height
DWORD MultiSampleQuality
MULTISAMPLE_TYPE MultiSampleType
BitmapFormat PixelFormat
MEM_POOL Pool
OpenGLResourceType Type
DWORD Usage
unsigned int Width
struct nux::_VOLUME_DESC

Definition at line 362 of file GLResource.h.

Class Members
unsigned int Depth
unsigned int Height
BitmapFormat PixelFormat
MEM_POOL Pool
OpenGLResourceType Type
DWORD Usage
unsigned int Width
struct nux::_ANIMATEDTEXTURE_DESC

Definition at line 373 of file GLResource.h.

Class Members
unsigned int Depth
unsigned int Height
BitmapFormat PixelFormat
MEM_POOL Pool
OpenGLResourceType Type
DWORD Usage
unsigned int Width
struct nux::_VERTEXBUFFER_DESC

Definition at line 384 of file GLResource.h.

Class Members
unsigned int Size
VBO_USAGE Usage
struct nux::_INDEXBUFFER_DESC

Definition at line 390 of file GLResource.h.

Class Members
INDEX_FORMAT Format
unsigned int Size
VBO_USAGE Usage
struct nux::_LOCKED_RECT

Definition at line 397 of file GLResource.h.

Class Members
void * pBits
int Pitch
struct nux::_SURFACE_RECT

Definition at line 403 of file GLResource.h.

Class Members
long bottom
long left
long right
long top
struct nux::_VOLUME_BOX

Definition at line 413 of file GLResource.h.

Class Members
int Back
int Bottom
int Front
int Left
int Right
int Top
struct nux::_VOLUME_LOCKED_BOX

Definition at line 423 of file GLResource.h.

Class Members
void * pBits
int RowPitch
int SlicePitch
struct nux::QuadAttributeParam

Definition at line 33 of file GLTemplatePrimitiveBuffer.h.

Collaboration diagram for nux::QuadAttributeParam:
Class Members
Vector4 v0
Vector4 v1
Vector4 v2
Vector4 v3
struct nux::OpenGLVersion

Definition at line 41 of file GpuDevice.cpp.

Class Members
int major
int minor
struct nux::OpenGLContext

Definition at line 96 of file GraphicsEngine.h.

Class Members
int height
int width
int x
int y
struct nux::DXTColBlock

Definition at line 62 of file ImageSurface.h.

Class Members
unsigned short col0
unsigned short col1
unsigned char row
struct nux::DXT3AlphaBlock

Definition at line 70 of file ImageSurface.h.

Class Members
unsigned short row
struct nux::DXT5AlphaBlock

Definition at line 75 of file ImageSurface.h.

Class Members
unsigned char alpha0
unsigned char alpha1
unsigned char row
struct nux::ImageInfo

Definition at line 508 of file ImageSurface.h.

Collaboration diagram for nux::ImageInfo:
Class Members
int bytes_per_pixel
string format
int height
bool isDelegate
int planes
int width
struct nux::ShaderAttributeDefinition

Definition at line 63 of file IOpenGLResource.h.

Collaboration diagram for nux::ShaderAttributeDefinition:
Class Members
int attribute_index
string attribute_name
int type
bool valid
struct nux::ObjMeshVertex

Definition at line 15 of file MeshFileLoader-OBJ.cpp.

Collaboration diagram for nux::ObjMeshVertex:
Class Members
Vector3 normal
Vector3 pos
Vector2 texcoord
struct nux::ObjMeshFace

Definition at line 23 of file MeshFileLoader-OBJ.cpp.

Collaboration diagram for nux::ObjMeshFace:
Class Members
ObjMeshVertex vertices
struct nux::ObjMesh

Definition at line 29 of file MeshFileLoader-OBJ.cpp.

Collaboration diagram for nux::ObjMesh:
Class Members
vector< ObjMeshFace > faces
struct nux::_ObjMeshFaceIndex

Definition at line 35 of file MeshFileLoader-OBJ.cpp.

Class Members
int nor_index
int pos_index
int tex_index
struct nux::TexWrapMapping

Definition at line 33 of file RenderingPipe.cpp.

Class Members
unsigned int opengl_wrap_mode
TexWrap tex_wrap_mode
struct nux::TexFilterMapping

Definition at line 72 of file RenderingPipe.cpp.

Class Members
unsigned int opengl_filter_mode
TexFilter tex_filter_mode
struct nux::RopBlendMapping

Definition at line 107 of file RenderingPipe.cpp.

Class Members
unsigned int opengl_blend_op
RopBlend rop_blend_mode

Typedef Documentation

typedef void(* nux::ConfigureNotifyCallback)(int, int, Geometry &, void *)

A user provided callback to assert the size and position of a floating area.

The callback receives a proposed size and position for the floating area. Inside the callback, the size and position of the floating area can be modified.

Parameters:
intThe width of the window.
intThe height of the window.
Geometry&The tentative size of the window.

Definition at line 60 of file BaseWindow.h.

Definition at line 38 of file InputArea.h.

typedef sigc::slot<void, Geometry const&, cairo_t*> nux::DrawCanvasCallback

Definition at line 28 of file CairoWrapper.h.

typedef int(* nux::EventInspector)(Area *area, Event *event, void *data)

Event Inspector function prototype.

If an event inspector return true, then the event is discarded.

Definition at line 55 of file WindowThread.h.

Definition at line 99 of file Utils.h.

Definition at line 103 of file TextureArea.h.

typedef Matrix3x3<float> nux::Matrix3

Definition at line 747 of file Matrix3.h.

typedef Matrix4x4<float> nux::Matrix4

Definition at line 1513 of file Matrix4.h.

Definition at line 264 of file Events.h.

typedef Point2D<int> nux::Point

Definition at line 30 of file Point.h.

typedef Point2D<float> nux::Point2

Definition at line 46 of file Point2D.h.

typedef Point3D<float> nux::Point3

Definition at line 102 of file Point3D.h.

typedef void(* nux::ThreadMainFunc)(NThread *, void *MainData)

Definition at line 31 of file AbstractThread.h.

typedef void*(* nux::ThreadRoutineFunc)(void *)

Definition at line 293 of file ThreadGNU.h.

typedef void(* nux::ThreadUserExitFunc)(NThread *, void *ExitData)

Definition at line 30 of file AbstractThread.h.

typedef void(* nux::ThreadUserInitFunc)(NThread *, void *InitData)

Definition at line 29 of file AbstractThread.h.

Definition at line 38 of file TimerProc.h.

typedef unsigned char nux::uchar

Definition at line 153 of file Events.h.

typedef unsigned long nux::ulong

Definition at line 154 of file Events.h.

typedef Vec2<float> nux::Vector2

Definition at line 284 of file Vector2.h.

typedef Vec3<float> nux::Vector3

Definition at line 322 of file Vector3.h.

typedef Vec4<float> nux::Vector4

Definition at line 285 of file Vector4.h.

typedef Vec2<float> nux::Vertex2

Definition at line 285 of file Vector2.h.

typedef Vec3<float> nux::Vertex3

Definition at line 323 of file Vector3.h.

Definition at line 43 of file BaseWindow.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
UNICODE_UTF32_BE 

Definition at line 32 of file NUnicode.h.

{UNICODE_UTF32_BE   = 0x0000FEFF };
anonymous enum
Enumerator:
UNICODE_UTF32_LE 

Definition at line 33 of file NUnicode.h.

{UNICODE_UTF32_LE   = 0xFFFE0000 };
anonymous enum
Enumerator:
UNICODE_UTF16_BE 

Definition at line 34 of file NUnicode.h.

{UNICODE_UTF16_BE   = 0xFEFF };
anonymous enum
Enumerator:
GFXRS_FRONT_POLYGONMODE 
GFXRS_BACK_POLYGONMODE 
GFXRS_CULLFACEENABLE 
GFXRS_CULLFACE 
GFXRS_FRONTFACE 
GFXRS_SCISSORTESTENABLE 
GFXRS_FOGENABLE 
GFXRS_ZTESTENABLE 
GFXRS_ZWRITEENABLE 
GFXRS_ZFUNC 
GFXRS_ZNEAR 
GFXRS_ZFAR 
GFXRS_ALPHABLENDENABLE 
GFXRS_BLENDOP 
GFXRS_BLENDOPALPHA 
GFXRS_SRCBLEND 
GFXRS_DESTBLEND 
GFXRS_SRCBLENDALPHA 
GFXRS_DESTBLENDALPHA 
GFXRS_ALPHATESTENABLE 
GFXRS_ALPHATESTREF 
GFXRS_ALPHATESTFUNC 
GFXRS_STENCILENABLE 
GFXRS_TWOSIDEDSTENCILENABLE 
GFXRS_FRONT_STENCILWRITEMASK 
GFXRS_BACK_STENCILWRITEMASK 
GFXRS_FRONT_STENCILFUNC 
GFXRS_FRONT_STENCILREF 
GFXRS_FRONT_STENCILMASK 
GFXRS_FRONT_STENCILFAIL 
GFXRS_FRONT_STENCILZFAIL 
GFXRS_FRONT_STENCILZPASS 
GFXRS_BACK_STENCILFUNC 
GFXRS_BACK_STENCILREF 
GFXRS_BACK_STENCILMASK 
GFXRS_BACK_STENCILFAIL 
GFXRS_BACK_STENCILZFAIL 
GFXRS_BACK_STENCILZPASS 
GFXRS_POINTSMOOTHENABLE 
GFXRS_LINESMOOTHENABLE 
GFXRS_POINTSIZE 
GFXRS_LINEWIDTH 
GFXRS_POINTHINT 
GFXRS_LINEHINT 
GFXRS_COLORWRITEENABLE_R 
GFXRS_COLORWRITEENABLE_G 
GFXRS_COLORWRITEENABLE_B 
GFXRS_COLORWRITEENABLE_A 
GFXRS_POLYGONOFFSETENABLE 
GFXRS_POLYGONOFFSETFACTOR 
GFXRS_POLYGONOFFSETUNITS 
GFXRS_MAX_RENDERSTATES 

Definition at line 32 of file GLRenderStates.h.

  {
    GFXRS_FRONT_POLYGONMODE,                                    // GL_FILL
    GFXRS_BACK_POLYGONMODE,                                     // GL_FILL
    GFXRS_CULLFACEENABLE,                                       // GL_FALSE
    GFXRS_CULLFACE,                                             // GL_BACK
    GFXRS_FRONTFACE,                                            // GL_CCW

    GFXRS_SCISSORTESTENABLE,                                    // GL_FALSE
    GFXRS_FOGENABLE,                                            // GL_FALSE

    GFXRS_ZTESTENABLE,                                          // GL_TRUE
    GFXRS_ZWRITEENABLE,                                         // GL_TRUE
    GFXRS_ZFUNC,                                                // GL_LESS
    GFXRS_ZNEAR,                                                // 0.0f
    GFXRS_ZFAR,                                                 // 1.0f

    GFXRS_ALPHABLENDENABLE,                                     // GL_FALSE
    GFXRS_BLENDOP,                                              // GL_FUNC_ADD
    GFXRS_BLENDOPALPHA,                                         // GL_FUNC_ADD
    GFXRS_SRCBLEND,                                             // GL_ONE
    GFXRS_DESTBLEND,                                            // GL_ZERO
    GFXRS_SRCBLENDALPHA,                                        // GL_ONE
    GFXRS_DESTBLENDALPHA,                                       // GL_ZERO

    GFXRS_ALPHATESTENABLE,                                      // GL_FALSE
    GFXRS_ALPHATESTREF,                                         // 0x0
    GFXRS_ALPHATESTFUNC,                                        // GL_ALWAYS

    GFXRS_STENCILENABLE,                                        // GL_FALSE
    GFXRS_TWOSIDEDSTENCILENABLE,                                // GL_FALSE
    GFXRS_FRONT_STENCILWRITEMASK,                               // 0xFFFFFFFF
    GFXRS_BACK_STENCILWRITEMASK,                                // 0xFFFFFFFF

    GFXRS_FRONT_STENCILFUNC,                                    // GL_ALWAYS
    GFXRS_FRONT_STENCILREF,                                     // 0x0
    GFXRS_FRONT_STENCILMASK,                                    // 0xFF
    GFXRS_FRONT_STENCILFAIL,                                    // GL_KEEP
    GFXRS_FRONT_STENCILZFAIL,                                   // GL_KEEP
    GFXRS_FRONT_STENCILZPASS,                                   // GL_KEEP

    GFXRS_BACK_STENCILFUNC,                                     // GL_ALWAYS
    GFXRS_BACK_STENCILREF,                                      // 0x0
    GFXRS_BACK_STENCILMASK,                                     // 0xFF
    GFXRS_BACK_STENCILFAIL,                                     // GL_KEEP
    GFXRS_BACK_STENCILZFAIL,                                    // GL_KEEP
    GFXRS_BACK_STENCILZPASS,                                    // GL_KEEP


    GFXRS_POINTSMOOTHENABLE,                                    // GL_FLASE
    GFXRS_LINESMOOTHENABLE,                                     // GL_FALSE
    GFXRS_POINTSIZE,                                            // 1.0f
    GFXRS_LINEWIDTH,                                            // 1.0f
    GFXRS_POINTHINT,                                            // GL_FASTEST
    GFXRS_LINEHINT,                                             // GL_FASTEST

    GFXRS_COLORWRITEENABLE_R,                                   // TRUE or FALSE
    GFXRS_COLORWRITEENABLE_G,                                   // TRUE or FALSE
    GFXRS_COLORWRITEENABLE_B,                                   // TRUE or FALSE
    GFXRS_COLORWRITEENABLE_A,                                   // TRUE or FALSE

    GFXRS_POLYGONOFFSETENABLE,                                  // GL_FALSE
    GFXRS_POLYGONOFFSETFACTOR,                                  // 0.0f
    GFXRS_POLYGONOFFSETUNITS,                                   // 0.0f

    GFXRS_MAX_RENDERSTATES,
  };
anonymous enum
Enumerator:
GFXSS_ADDRESSU 
GFXSS_ADDRESSV 
GFXSS_ADDRESSW 
GFXSS_MINFILTER 
GFXSS_MAGFILTER 
GFXSS_MIPMAPFILTER 
GFXSS_MIPMAPLODBIAS 
GFXSS_MAXANISOTROPY 
GFXSS_SRGBWRITEENABLE 
GFXSS_MAX_SAMPLERSTATES 

Definition at line 100 of file GLRenderStates.h.

anonymous enum
Enumerator:
OGL_OK 
OGL_ERROR 
OGL_ERROR_UNKNOWN 
OGL_INVALID_SURFACE_LEVEL 
OGL_INVALID_CALL 
OGL_INVALID_LOCK 
OGL_INVALID_UNLOCK 
OGL_INVALID_TEXTURE 
OGL_FORCE_DWORD 

Definition at line 133 of file GLResource.h.

anonymous enum
Enumerator:
GFXTS_ADDRESSU 
GFXTS_ADDRESSV 
GFXTS_ADDRESSW 
GFXTS_MINFILTER 
GFXTS_MAGFILTER 
GFXTS_MIPFILTER 
GFXTS_MIP_BASE_LEVEL 
GFXTS_MIP_MAX_LEVEL 
GFXTS_MIN_LOD 
GFXTS_MAX_LOD 
GFXTS_BORDERCOLOR 
GFXTS_MAX_TEXTURESTATES 

Definition at line 31 of file GLTextureStates.h.

  {
    GFXTS_ADDRESSU,                          // GL_REPEAT
    GFXTS_ADDRESSV,                          // GL_REPEAT
    GFXTS_ADDRESSW,                          // GL_REPEAT

    GFXTS_MINFILTER,                         // GL_NEAREST
    GFXTS_MAGFILTER,                         // GL_NEAREST
    GFXTS_MIPFILTER,                         // GL_NEAREST

    GFXTS_MIP_BASE_LEVEL,                    // 0
    GFXTS_MIP_MAX_LEVEL,                     // 1000
    GFXTS_MIN_LOD,                           // -1000
    GFXTS_MAX_LOD,                           // +1000

    GFXTS_BORDERCOLOR,                       // 0x00000000


    GFXTS_MAX_TEXTURESTATES,
  };
anonymous enum
Enumerator:
UNICODE_UTF16_LE 

Definition at line 35 of file NUnicode.h.

{UNICODE_UTF16_LE   = 0xFFFE };
anonymous enum
Enumerator:
UNICODE_UTF8 

Definition at line 36 of file NUnicode.h.

{UNICODE_UTF8       = 0xEFBBBF };
anonymous enum
Enumerator:
UNICODE_BOM 

Definition at line 44 of file NUnicode.h.

{UNICODE_BOM   = 0xfeff};
Enumerator:
ATTRIB_CT_UNKNOWN 
ATTRIB_CT_BYTE 
ATTRIB_CT_UNSIGNED_BYTE 
ATTRIB_CT_SHORT 
ATTRIB_CT_UNSIGNED_SHORT 
ATTRIB_CT_INT 
ATTRIB_CT_UNSIGNED_INT 
ATTRIB_CT_FLOAT 
ATTRIB_CT_HALF_FLOAT 
ATTRIB_CT_DOUBLE 
ATTRIB_CT_FORCE_DWORD 

Definition at line 454 of file GLResource.h.

  {
    ATTRIB_CT_UNKNOWN           =   0,
    ATTRIB_CT_BYTE              =   GL_BYTE,
    ATTRIB_CT_UNSIGNED_BYTE     =   GL_UNSIGNED_BYTE,
    ATTRIB_CT_SHORT             =   GL_SHORT,
    ATTRIB_CT_UNSIGNED_SHORT    =   GL_UNSIGNED_SHORT,
    ATTRIB_CT_INT               =   GL_INT,
    ATTRIB_CT_UNSIGNED_INT      =   GL_UNSIGNED_INT,
    ATTRIB_CT_FLOAT             =   GL_FLOAT,
#ifndef NUX_OPENGLES_20
    ATTRIB_CT_HALF_FLOAT        =   GL_HALF_FLOAT_ARB,
//    ATTRIB_CT_2_BYTES           =   GL_2_BYTES,
//    ATTRIB_CT_3_BYTES           =   GL_3_BYTES,
//    ATTRIB_CT_4_BYTES           =   GL_4_BYTES,
    ATTRIB_CT_DOUBLE            =   GL_DOUBLE,
#endif
// Type can be GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, GL_DOUBLE
    ATTRIB_CT_FORCE_DWORD           = 0x7fffffff /* force 32-bit size enum */
  } ATTRIB_COMPONENT_TYPE;
Enumerator:
ATTRIB_DECLTYPE_UNKNOWN 
ATTRIB_DECLTYPE_FLOAT1 
ATTRIB_DECLTYPE_FLOAT2 
ATTRIB_DECLTYPE_FLOAT3 
ATTRIB_DECLTYPE_FLOAT4 
ATTRIB_DECLTYPE_COLOR 
ATTRIB_DECLTYPE_UBYTE4 
ATTRIB_DECLTYPE_SHORT2 
ATTRIB_DECLTYPE_SHORT4 
ATTRIB_DECLTYPE_UBYTE4N 
ATTRIB_DECLTYPE_SHORT2N 
ATTRIB_DECLTYPE_SHORT4N 
ATTRIB_DECLTYPE_USHORT2N 
ATTRIB_DECLTYPE_USHORT4N 
ATTRIB_DECLTYPE_UDEC3 
ATTRIB_DECLTYPE_DEC3N 
ATTRIB_DECLTYPE_FLOAT16_2 
ATTRIB_DECLTYPE_FLOAT16_4 
ATTRIB_DECLTYPE_UNUSED 
ATTRIB_DECLTYPE_FORCE_DWORD 

Definition at line 430 of file GLResource.h.

Enumerator:
eAlignTextNone 
eAlignTextLeft 
eAlignTextRight 
eAlignTextCenter 

Definition at line 31 of file FontTexture.h.

Enumerator:
ATTRIB_USAGE_DECL_POSITION 
ATTRIB_USAGE_DECL_BLENDWEIGHT 
ATTRIB_USAGE_DECL_NORMAL 
ATTRIB_USAGE_DECL_COLOR 
ATTRIB_USAGE_DECL_COLOR1 
ATTRIB_USAGE_DECL_FOGCOORD 
ATTRIB_USAGE_DECL_PSIZE 
ATTRIB_USAGE_DECL_BLENDINDICES 
ATTRIB_USAGE_DECL_TEXCOORD 
ATTRIB_USAGE_DECL_TEXCOORD0 
ATTRIB_USAGE_DECL_TEXCOORD1 
ATTRIB_USAGE_DECL_TEXCOORD2 
ATTRIB_USAGE_DECL_TEXCOORD3 
ATTRIB_USAGE_DECL_TEXCOORD4 
ATTRIB_USAGE_DECL_TEXCOORD5 
ATTRIB_USAGE_DECL_TEXCOORD6 
ATTRIB_USAGE_DECL_TEXCOORD7 
ATTRIB_USAGE_DECL_TANGENT 
ATTRIB_USAGE_DECL_BINORMAL 
ATTRIB_USAGE_DECL_FORCE_DWORD 

Definition at line 476 of file GLResource.h.

Enumerator:
BITFMT_UNKNOWN 
BITFMT_R8G8B8A8 
BITFMT_B8G8R8A8 
BITFMT_R8G8B8 
BITFMT_R5G6B5 
BITFMT_D24S8 
BITFMT_A8 
BITFMT_DXT1 
BITFMT_DXT2 
BITFMT_DXT3 
BITFMT_DXT4 
BITFMT_DXT5 
BITFMT_A8R8G8B8 
BITFMT_A8B8G8R8 
BITFMT_B8G8R8 
BITFMT_RGBA16F 
BITFMT_RGB32F 
BITFMT_RGBA32F 
BITFMT_R10G10B10A2 
BITFMT_B10G10R10A2 
BITFMT_A2R10G10B10 
BITFMT_A2B10G10R10 
BITFMT_END_GFX_FORMATS 

Definition at line 56 of file BitmapFormats.h.

  {
    BITFMT_UNKNOWN          = 0,
    BITFMT_R8G8B8A8,            // 32-bit RGBA pixel format with alpha, using 8 bits per channel.
    BITFMT_B8G8R8A8,            // 32-bit BGRA pixel format with alpha, using 8 bits per channel.
    BITFMT_R8G8B8,              // 24-bit RGB pixel format with 8 bits per channel.
    BITFMT_R5G6B5,             // 16-bit RGB pixel format with 5 bits for red, 6 bits for green, and 5 bits for blue.
    BITFMT_D24S8,
    BITFMT_A8,                  // Gray level 8 bits

    BITFMT_DXT1,
    BITFMT_DXT2,
    BITFMT_DXT3,
    BITFMT_DXT4,
    BITFMT_DXT5,

#ifndef NUX_OPENGLES_20
    BITFMT_A8R8G8B8,            // 32-bit ARGB pixel format with alpha, using 8 bits per channel.
    BITFMT_A8B8G8R8,            // 32-bit ABGR pixel format with alpha, using 8 bits per channel.
    BITFMT_B8G8R8,              // 24-bit RGB pixel format with 8 bits per channel.
    BITFMT_RGBA16F,
    BITFMT_RGB32F,
    BITFMT_RGBA32F,

    BITFMT_R10G10B10A2,         // 32-bit pixel format using 10 bits for each color and 2 bits for alpha.
    BITFMT_B10G10R10A2,         // 32-bit pixel format using 10 bits for each color and 2 bits for alpha.
    BITFMT_A2R10G10B10,         // 32-bit pixel format using 10 bits for each color and 2 bits for alpha.
    BITFMT_A2B10G10R10,         // 32-bit pixel format using 10 bits for each color and 2 bits for alpha.
#endif
    BITFMT_END_GFX_FORMATS,
  } BitmapFormat;
Enumerator:
VISUAL_STATE_PRESSED 
VISUAL_STATE_NORMAL 
VISUAL_STATE_PRELIGHT 
VISUAL_STATE_DISABLED 

Definition at line 32 of file AbstractButton.h.

Enumerator:
strictConversion 
lenientConversion 

Definition at line 139 of file NUni.h.

Enumerator:
conversionOK 
sourceExhausted 
targetExhausted 
sourceIllegal 

Definition at line 131 of file NUni.h.

  {
    conversionOK = 0,           /* conversion successful */
    sourceExhausted,        /* partial character in source, but hit end */
    targetExhausted,        /* insuff. room in target for conversion */
    sourceIllegal           /* source sequence is illegal/malformed */
  } ConversionResult;
Enumerator:
DNDACTION_COPY 
DNDACTION_MOVE 
DNDACTION_LINK 
DNDACTION_ASK 
DNDACTION_PRIVATE 
DNDACTION_NONE 

Definition at line 60 of file GraphicsDisplayX11.h.

Enumerator:
COPY_OK 
COPY_MISCFAIL 
COPY_READFAIL 
COPY_WRITEFAIL 
COPY_CANCELED 

Definition at line 650 of file NuxCore.h.

  {
    COPY_OK                     = 0x00,
    COPY_MISCFAIL               = 0x01,
    COPY_READFAIL               = 0x02,
    COPY_WRITEFAIL              = 0x03,
    COPY_CANCELED               = 0x06,
  };
Enumerator:
CUBEMAP_FACE_POSITIVE_X 
CUBEMAP_FACE_NEGATIVE_X 
CUBEMAP_FACE_POSITIVE_Y 
CUBEMAP_FACE_NEGATIVE_Y 
CUBEMAP_FACE_POSITIVE_Z 
CUBEMAP_FACE_NEGATIVE_Z 
CUBEMAP_FACE_FORCE_DWORD 

Definition at line 228 of file GLResource.h.

  {
    CUBEMAP_FACE_POSITIVE_X     = GL_TEXTURE_CUBE_MAP_POSITIVE_X,
    CUBEMAP_FACE_NEGATIVE_X     = GL_TEXTURE_CUBE_MAP_NEGATIVE_X,
    CUBEMAP_FACE_POSITIVE_Y     = GL_TEXTURE_CUBE_MAP_POSITIVE_Y,
    CUBEMAP_FACE_NEGATIVE_Y     = GL_TEXTURE_CUBE_MAP_NEGATIVE_Y,
    CUBEMAP_FACE_POSITIVE_Z     = GL_TEXTURE_CUBE_MAP_POSITIVE_Z,
    CUBEMAP_FACE_NEGATIVE_Z     = GL_TEXTURE_CUBE_MAP_NEGATIVE_Z,

    CUBEMAP_FACE_FORCE_DWORD    = 0x7fffffff
  };
Enumerator:
FILEWRITE_NOFAIL 
FILEWRITE_NOREPLACEEXISTING 
FILEWRITE_EVENIFREADONLY 
FILEWRITE_UNBUFFERED 
FILEWRITE_APPEND 
FILEWRITE_ALLOWREAD 

Definition at line 640 of file NuxCore.h.

Enumerator:
RUH_Static 
RUH_CacheableDynamic 
RUH_Dynamic 

Definition at line 103 of file GLResourceManager.h.

  {
    RUH_Static,                           // The resource is updated once, at creation time.
    RUH_CacheableDynamic,   // The resource is updated occasionally, but not every frame.
    RUH_Dynamic                           // The resource changes every frame.
  };

Type of shader in a shader.

Enumerator:
eVERTEXUNIFORMTYPE 
eFRAGMENTUNIFORMTYPE 
eSAMPLERUNIFORMTYPE 

Definition at line 33 of file GLShaderParameter.h.

Type of shader.

Enumerator:
eVERTEXSHADERTYPE 
eFRAGMENTSHADERTYPE 

Definition at line 41 of file GLShaderParameter.h.

Enumerator:
eSolveNone 
eMouseEventSolved 
eKeyEventSolved 
eDoNotProcess 
EVENT_CYCLE_EXCLUSIVE 

Value of ProcessEventInfo when processing the event cycle of the input area that has the exclusivity.

EVENT_CYCLE_EXCLUSIVE_CONTINUE 

Return value of the cycle of the exclusive input area.

If it is returned, allow other areas to process the event.

EVENT_CYCLE_SOLVED 
EVENT_CYCLE_DO_NOT_PROCESS 
EVENT_CYCLE_RESET_AREA_STATE 

Reset the mouse event processor of an InputArea.

Definition at line 38 of file Utils.h.

Enumerator:
EVENT_NONE 
EVENT_MOUSE_DOWN 
EVENT_MOUSE_UP 
EVENT_MOUSE_MOVE 
EVENT_MOUSE_DOUBLECLICK 
EVENT_MOUSE_WHEEL 
EVENT_KEY_DOWN 
EVENT_KEY_UP 
EVENT_WINDOW_SIZE_CONFIGURATION 
EVENT_WINDOW_MAP 
EVENT_WINDOW_UNMAP 
EVENT_NC_WINDOW_CONFIGURATION 

Non-client event on the window borders.

EVENT_WINDOW_ENTER_FOCUS 
EVENT_WINDOW_EXIT_FOCUS 
EVENT_WINDOW_DIRTY 
EVENT_WINDOW_MOUSELEAVE 
EVENT_DESTROY_WINDOW 
EVENT_TERMINATE_APP 
EVENT_TAKE_FOCUS 
EVENT_DND_MOVE 
EVENT_DND_DROP 
EVENT_DND_ENTER 

Synthetic event generated when the dnd action enters an InputArea.

This is not the event sent when the dnd action enters the window.

EVENT_DND_LEAVE 

Synthetic event generated when the dnd action leaves an InputArea.

This is not the event sent when the dnd action leaves the window.

EVENT_DND_ENTER_WINDOW 

Emitted when the DND action goes inside(XdndLeave) a window.

EVENT_DND_LEAVE_WINDOW 

Emitted when the DND action goes outside(XdndEnter) a window.

NUX_NO_EVENT 
NUX_MOUSE_PRESSED 
NUX_MOUSE_RELEASED 
NUX_MOUSE_MOVE 
NUX_MOUSE_DOUBLECLICK 
NUX_MOUSE_WHEEL 
NUX_MOUSEWHEEL 

Deprecated.

Use NUX_MOUSE_WHEEL.

NUX_KEYDOWN 
NUX_KEYUP 
NUX_SIZE_CONFIGURATION 
NUX_WINDOW_MAP 
NUX_WINDOW_UNMAP 
NUX_NC_WINDOW_CONFIGURATION 
NUX_WINDOW_ENTER_FOCUS 
NUX_WINDOW_EXIT_FOCUS 
NUX_WINDOW_DIRTY 
NUX_WINDOW_MOUSELEAVE 
NUX_DESTROY_WINDOW 
NUX_TERMINATE_APP 
NUX_TAKE_FOCUS 
NUX_DND_MOVE 
NUX_DND_DROP 
NUX_DND_ENTER 

Synthetic event generated when the dnd action enters an InputArea.

This is not the event sent when the dnd action enters the window.

NUX_DND_LEAVE 

Synthetic event generated when the dnd action leaves an InputArea.

This is not the event sent when the dnd action leaves the window.

NUX_DND_ENTER_WINDOW 

Emitted when the DND action goes inside(XdndLeave) a window.

NUX_DND_LEAVE_WINDOW 

Emitted when the DND action goes outside(XdndEnter) a window.

Definition at line 206 of file Events.h.

  {
    EVENT_NONE         = 0,
    EVENT_MOUSE_DOWN,
    EVENT_MOUSE_UP,
    EVENT_MOUSE_MOVE,
    EVENT_MOUSE_DOUBLECLICK,
    EVENT_MOUSE_WHEEL,
    EVENT_KEY_DOWN,
    EVENT_KEY_UP,
    EVENT_WINDOW_SIZE_CONFIGURATION,
    EVENT_WINDOW_MAP,
    EVENT_WINDOW_UNMAP,
    EVENT_NC_WINDOW_CONFIGURATION,  
    EVENT_WINDOW_ENTER_FOCUS,
    EVENT_WINDOW_EXIT_FOCUS,
    EVENT_WINDOW_DIRTY,
    EVENT_WINDOW_MOUSELEAVE,
    EVENT_DESTROY_WINDOW,
    EVENT_TERMINATE_APP,
    EVENT_TAKE_FOCUS, // ClientMessage for window with WM_TAKE_FOCUS protocol-atom set
    EVENT_DND_MOVE,
    EVENT_DND_DROP,
    EVENT_DND_ENTER,  
    EVENT_DND_LEAVE,  
    EVENT_DND_ENTER_WINDOW,  
    EVENT_DND_LEAVE_WINDOW,   


    // The following values are deprecated. Use the ones above.
    NUX_NO_EVENT                  = EVENT_NONE,
    NUX_MOUSE_PRESSED             = EVENT_MOUSE_DOWN,
    NUX_MOUSE_RELEASED            = EVENT_MOUSE_UP,
    NUX_MOUSE_MOVE                = EVENT_MOUSE_MOVE,
    NUX_MOUSE_DOUBLECLICK         = EVENT_MOUSE_DOUBLECLICK,
    NUX_MOUSE_WHEEL               = EVENT_MOUSE_WHEEL,
    NUX_MOUSEWHEEL                = EVENT_MOUSE_WHEEL, 
    NUX_KEYDOWN                   = EVENT_KEY_DOWN,
    NUX_KEYUP                     = EVENT_KEY_UP,
    NUX_SIZE_CONFIGURATION        = EVENT_WINDOW_SIZE_CONFIGURATION,
    NUX_WINDOW_MAP                = EVENT_WINDOW_MAP,
    NUX_WINDOW_UNMAP              = EVENT_WINDOW_UNMAP,
    NUX_NC_WINDOW_CONFIGURATION   = EVENT_NC_WINDOW_CONFIGURATION,
    NUX_WINDOW_ENTER_FOCUS        = EVENT_WINDOW_ENTER_FOCUS,
    NUX_WINDOW_EXIT_FOCUS         = EVENT_WINDOW_EXIT_FOCUS,
    NUX_WINDOW_DIRTY              = EVENT_WINDOW_DIRTY,
    NUX_WINDOW_MOUSELEAVE         = EVENT_WINDOW_MOUSELEAVE,
    NUX_DESTROY_WINDOW            = EVENT_DESTROY_WINDOW,
    NUX_TERMINATE_APP             = EVENT_TERMINATE_APP,
    NUX_TAKE_FOCUS                = EVENT_TAKE_FOCUS,         // ClientMessage for window with WM_TAKE_FOCUS protocol-atom set
    NUX_DND_MOVE                  = EVENT_DND_MOVE,
    NUX_DND_DROP                  = EVENT_DND_DROP,
    NUX_DND_ENTER                 = EVENT_DND_ENTER,          
    NUX_DND_LEAVE                 = EVENT_DND_LEAVE,          
    NUX_DND_ENTER_WINDOW          = EVENT_DND_ENTER_WINDOW,   
    NUX_DND_LEAVE_WINDOW          = EVENT_DND_LEAVE_WINDOW,   
  };

Brand of GPUs.

Enumerator:
GPU_VENDOR_UNKNOWN 
GPU_BRAND_AMD 
GPU_BRAND_NVIDIA 
GPU_BRAND_INTEL 

Definition at line 37 of file GpuDevice.h.

Enumerator:
eHACenter 
eHALeft 
eHARight 

Definition at line 92 of file Utils.h.

Enumerator:
INDEX_FORMAT_UNKNOWN 
INDEX_FORMAT_USHORT 
INDEX_FORMAT_UINT 
INDEX_FORMAT_FORCE_DWORD 

Definition at line 249 of file GLResource.h.

  {
    INDEX_FORMAT_UNKNOWN   = 0,
    INDEX_FORMAT_USHORT    = GL_UNSIGNED_SHORT,
    INDEX_FORMAT_UINT      = GL_UNSIGNED_INT,
    INDEX_FORMAT_FORCE_DWORD    = 0x7fffffff /* force 32-bit size enum */
  };
Enumerator:
KEY_MODIFIER_SHIFT 
KEY_MODIFIER_CAPS_LOCK 
KEY_MODIFIER_CTRL 
KEY_MODIFIER_ALT 
KEY_MODIFIER_NUMLOCK 
KEY_MODIFIER_SUPER 
KEY_MODIFIER_SCROLLLOCK 
NUX_STATE_SHIFT 
NUX_STATE_CAPS_LOCK 
NUX_STATE_CTRL 
NUX_STATE_ALT 
NUX_STATE_NUMLOCK 
NUX_STATE_SUPER 
NUX_STATE_SCROLLLOCK 

Definition at line 186 of file Events.h.

Enumerator:
KEY_NAV_NONE 
KEY_NAV_UP 
KEY_NAV_DOWN 
KEY_NAV_RIGHT 
KEY_NAV_LEFT 
KEY_NAV_TAB_NEXT 
KEY_NAV_TAB_PREVIOUS 
KEY_NAV_ENTER 

Definition at line 131 of file Area.h.

Enumerator:
LAYER_BLEND_MODE_NORMAL 
LAYER_BLEND_MODE_LIGHTEN 
LAYER_BLEND_MODE_DARKEN 
LAYER_BLEND_MODE_MULTIPLY 
LAYER_BLEND_MODE_AVERAGE 
LAYER_BLEND_MODE_ADD 
LAYER_BLEND_MODE_SUBTRACT 
LAYER_BLEND_MODE_DIFFERENCE 
LAYER_BLEND_MODE_NEGATION 
LAYER_BLEND_MODE_EXCLUSION 
LAYER_BLEND_MODE_SCREEN 
LAYER_BLEND_MODE_OVERLAY 
LAYER_BLEND_MODE_SOFT_LIGHT 
LAYER_BLEND_MODE_HARD_LIGHT 
LAYER_BLEND_MODE_COLOR_DODGE 
LAYER_BLEND_MODE_LINEAR_DODGE 
LAYER_BLEND_MODE_COLOR_BURN 
LAYER_BLEND_MODE_LINEAR_BLUR 
LAYER_BLEND_MODE_LINEAR_LIGHT 
LAYER_BLEND_MODE_VIVID_LIGHT 
LAYER_BLEND_MODE_PIN_LIGHT 
LAYER_BLEND_MODE_HARD_MIX 
LAYER_BLEND_MODE_REFLECT 
LAYER_BLEND_MODE_GLOW 
LAYER_BLEND_MODE_PHOENIX 
LAYER_BLEND_MODE_OPACITY 
LAYER_BLEND_MODE_LAST 

Definition at line 115 of file GraphicsEngine.h.

Control how a layout distribute its children position.

Applies to layouts that have more space than their children can use. These options control how a layouts places its children inside of itself.

Enumerator:
MAJOR_POSITION_CENTER 

Stack elements in the center of the layout(for HLayout and VLayout).

MAJOR_POSITION_START 

Stack elements at the begining of the layout(for HLayout and VLayout).

MAJOR_POSITION_END 

Stack elements at the end of the layout(for HLayout and VLayout).

MAJOR_POSITION_SPREAD 

Spread elements evenly inside the layout(for HLayout and VLayout).

MAJOR_POSITION_TOP 

Deprecated.

MAJOR_POSITION_BOTTOM 

Deprecated.

MAJOR_POSITION_LEFT 

Deprecated.

MAJOR_POSITION_RIGHT 

Deprecated.

eStackTop 

Deprecated.

eStackBottom 

Deprecated.

eStackLeft 

Deprecated.

eStackRight 

Deprecated.

eStackCenter 

Deprecated.

eStackExpand 

Deprecated.

Definition at line 87 of file Area.h.

Enumerator:
NUX_LAYOUT_BEGIN 
NUX_LAYOUT_END 

Definition at line 32 of file Layout.h.

Enumerator:
MEM_POOL_DEFAULT 
MEM_POOL_MANAGED 
MEM_POOL_SYSTEMMEM 
MEM_POOL_SCRATCH 
MEM_POOL_FORCE_DWORD 

Definition at line 320 of file GLResource.h.

  {
    MEM_POOL_DEFAULT = 0,
    MEM_POOL_MANAGED = 1,
    MEM_POOL_SYSTEMMEM = 2,
    MEM_POOL_SCRATCH = 3,
    MEM_POOL_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
  } MEM_POOL;
Enumerator:
NUX_MSG_SEVERITY_CRITICAL 
NUX_MSG_SEVERITY_ALERT 
NUX_MSG_SEVERITY_WARNING 
NUX_MSG_SEVERITY_INFO 
NUX_MSG_SEVERITY_NONE 

Definition at line 166 of file NuxCore.h.

Policy for and element position in the minor dimension of a layout.

Enumerator:
MINOR_POSITION_START 

Place the element at the start of the layout(Hlayout and VLayout)

MINOR_POSITION_CENTER 

Place the element at the center of the layout(Hlayout and VLayout)

MINOR_POSITION_END 

Place the element at the end of the layout(Hlayout and VLayout)

MINOR_POSITION_TOP 

Deprecated.

MINOR_POSITION_LEFT 

Deprecated.

MINOR_POSITION_BOTTOM 

Deprecated.

MINOR_POSITION_RIGHT 

Deprecated.

eAbove 

Deprecated.

eBelow 

Deprecated.

eLeft 

Deprecated.

eRight 

Deprecated.

eCenter 

Deprecated.

Definition at line 65 of file Area.h.

Enumerator:
MINOR_SIZE_FULL 
MINOR_SIZE_PERCENTAGE 
MINOR_SIZE_FIX 
MINOR_SIZE_MATCHCONTENT 
eFull 

Deprecated.

ePercentage 

Deprecated.

eFix 

Deprecated.

eMatchContent 

Deprecated.

Definition at line 52 of file Area.h.

Enumerator:
MOUSE_BUTTON_INVALID 
MOUSE_BUTTON1 
MOUSE_BUTTON2 
MOUSE_BUTTON3 
MOUSE_BUTTON4 
MOUSE_BUTTON5 
MOUSE_BUTTON6 
MOUSE_BUTTON7 
NUX_INVALID_MOUSE_BUTTON 
NUX_MOUSE_BUTTON1 
NUX_MOUSE_BUTTON2 
NUX_MOUSE_BUTTON3 
NUX_MOUSE_BUTTON4 
NUX_MOUSE_BUTTON5 
NUX_MOUSE_BUTTON6 
NUX_LEFT_MOUSE 
NUX_MIDDLE_MOUSE 
NUX_RIGHT_MOUSE 

Definition at line 162 of file Events.h.

Enumerator:
MULTISAMPLE_TYPE_NONE 
MULTISAMPLE_TYPE_NONMASKABLE 
MULTISAMPLE_TYPE_2_SAMPLES 
MULTISAMPLE_TYPE_3_SAMPLES 
MULTISAMPLE_TYPE_4_SAMPLES 
MULTISAMPLE_TYPE_5_SAMPLES 
MULTISAMPLE_TYPE_6_SAMPLES 
MULTISAMPLE_TYPE_7_SAMPLES 
MULTISAMPLE_TYPE_8_SAMPLES 
MULTISAMPLE_TYPE_9_SAMPLES 
MULTISAMPLE_TYPE_10_SAMPLES 
MULTISAMPLE_TYPE_11_SAMPLES 
MULTISAMPLE_TYPE_12_SAMPLES 
MULTISAMPLE_TYPE_13_SAMPLES 
MULTISAMPLE_TYPE_14_SAMPLES 
MULTISAMPLE_TYPE_15_SAMPLES 
MULTISAMPLE_TYPE_16_SAMPLES 
MULTISAMPLE_TYPE_FORCE_DWORD 

Definition at line 298 of file GLResource.h.

Enumerator:
NUX_OK 
NUX_ERROR 
NUX_FILENOTFOUND 
NUX_COPYFILE_ERROR 
NUX_DELETEFILE_ERROR 

Definition at line 659 of file NuxCore.h.

Enumerator:
NUX_MESH_PRIMITIVE_UNKNOWN 
NUX_MESH_TRIANGLE 
NUX_MESH_TRIANGLE_STRIP 
NUX_MESH_TRIANGLE_FAN 
NUX_MESH_LINE 
NUX_MESH_LINE_STRIP 
NUX_MESH_LINE_LOOP 
NUX_MESH_POINT 
NUX_MESH_QUAD 
NUX_MESH_QUAD_STRIP 

Definition at line 6 of file MeshData.h.

Enumerator:
RTINDEXBUFFER 
RTVERTEXBUFFER 
RTSURFACE 
RTVOLUME 
RTBASETEXTURE 
RTTEXTURE 
RTTEXTURERECTANGLE 
RTCUBETEXTURE 
RTVOLUMETEXTURE 
RTANIMATEDTEXTURE 
RTVERTEXDECLARATION 
RTQUERY 
RTFRAMEBUFFEROBJECT 
RT_GLSL_VERTEXSHADER 
RT_GLSL_PIXELSHADER 
RT_GLSL_GEOMETRYSHADER 
RT_GLSL_SHADERPROGRAM 
RT_CG_VERTEXSHADER 
RT_CG_PIXELSHADER 
RT_FORCE_DWORD 

Definition at line 273 of file GLResource.h.

Enumerator:
CLEAR 
SRC 
DST 
SRC_OVER 
DST_OVER 
SRC_IN 
DST_IN 
SRC_OUT 
DST_OUT 
SRC_ATOP 
DST_ATOP 
XOR 
PLUS 

Definition at line 115 of file GLRenderStates.h.

Enumerator:
NUX_POSITION_LEFT 
NUX_POSITION_RIGHT 
NUX_POSITION_TOP 
NUX_POSITION_BOTTOM 

Definition at line 36 of file Button.h.

  {
    NUX_POSITION_LEFT,    // image on left, text on the right
    NUX_POSITION_RIGHT,   // text on the left, image on right
    NUX_POSITION_TOP,     // image above text
    NUX_POSITION_BOTTOM   // image below text
  };
Enumerator:
ePositionLeft 
ePositionRight 
ePositionCenter 
ePositionFull 
ePositionProportional 

Definition at line 51 of file Utils.h.

Enumerator:
PRIMITIVE_TYPE_POINTLIST 
PRIMITIVE_TYPE_LINELIST 
PRIMITIVE_TYPE_LINESTRIP 
PRIMITIVE_TYPE_TRIANGLELIST 
PRIMITIVE_TYPE_TRIANGLESTRIP 
PRIMITIVE_TYPE_TRIANGLEFAN 
PRIMITIVE_TYPE_QUADLIST 
PRIMITIVE_TYPE_QUADSTRIP 
PRIMITIVE_TYPE_FORCE_DWORD 

Definition at line 258 of file GLResource.h.

  {
    PRIMITIVE_TYPE_POINTLIST             = GL_POINTS,
    PRIMITIVE_TYPE_LINELIST              = GL_LINES,
    PRIMITIVE_TYPE_LINESTRIP             = GL_LINE_STRIP,
    PRIMITIVE_TYPE_TRIANGLELIST          = GL_TRIANGLES,
    PRIMITIVE_TYPE_TRIANGLESTRIP         = GL_TRIANGLE_STRIP,
    PRIMITIVE_TYPE_TRIANGLEFAN           = GL_TRIANGLE_FAN,
#ifndef NUX_OPENGLES_20
    PRIMITIVE_TYPE_QUADLIST              = GL_QUADS,
    PRIMITIVE_TYPE_QUADSTRIP             = GL_QUAD_STRIP,
#endif
    PRIMITIVE_TYPE_FORCE_DWORD           = 0x7fffffff /* force 32-bit size enum */
  } PRIMITIVE_TYPE;
Enumerator:
QUERY_TYPE_VCACHE 
QUERY_TYPE_RESOURCEMANAGER 
QUERY_TYPE_VERTEXSTATS 
QUERY_TYPE_EVENT 
QUERY_TYPE_OCCLUSION 
QUERY_TYPE_SCREENEXTENT 
QUERY_TYPE_FORCE_DWORD 

Definition at line 500 of file GLResource.h.

Graphics blend modes.

Defines the blending modes. The values are matched to openGL blending modes.

Enumerator:
ROPBLEND_UNKNOWN 
ROPBLEND_ZERO 
ROPBLEND_ONE 
ROPBLEND_SRC_COLOR 
ROPBLEND_ONE_MINUS_SRC_COLOR 
ROPBLEND_DST_COLOR 
ROPBLEND_ONE_MINUS_DST_COLOR 
ROPBLEND_SRC_ALPHA 
ROPBLEND_ONE_MINUS_SRC_ALPHA 
ROPBLEND_DST_ALPHA 
ROPBLEND_ONE_MINUS_DST_ALPHA 
ROPBLEND_CONSTANT_COLOR 
ROPBLEND_ONE_MINUS_CONSTANT_COLOR 
ROPBLEND_CONSTANT_ALPHA 
ROPBLEND_ONE_MINUS_CONSTANT_ALPHA 
ROPBLEND_SRC_ALPHA_SATURATE 

Definition at line 72 of file RenderingPipe.h.

Enumerator:
SHADER_TYPE_GLSL 
SHADER_TYPE_CG 
SHADER_TYPE_FORCE_DWORD 

Definition at line 57 of file IOpenGLResource.h.

  {
    SHADER_TYPE_GLSL = 0,
    SHADER_TYPE_CG,
    SHADER_TYPE_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
  };
Enumerator:
eCornerNone 
eCornerTopLeft 
eCornerTopRight 
eCornerBottomLeft 
eCornerBottomRight 
eAllCorners 

Definition at line 66 of file Utils.h.

For internal use only.

Enumerator:
SIZE_EQUAL_WIDTH 
SIZE_EQUAL_HEIGHT 
SIZE_SMALLER_WIDTH 
SIZE_SMALLER_HEIGHT 
SIZE_LARGER_WIDTH 
SIZE_LARGER_HEIGHT 
SIZE_FORCE_COMPLY 
eCompliantWidth 

Deprecated.

eCompliantHeight 

Deprecated.

eSmallerWidth 

Deprecated.

eSmallerHeight 

Deprecated.

eLargerWidth 

Deprecated.

eLargerHeight 

Deprecated.

eForceComply 

Deprecated.

Definition at line 112 of file Area.h.

Enumerator:
eSizeFixed 
eSizeResizeable 

Definition at line 60 of file Utils.h.

Graphics filtering modes.

Defines the filtering modes of TexCoordXForm. The values are matched to openGL filtering modes.

See also:
TexCoordXForm.
Enumerator:
TEXFILTER_UNKNOWN 
TEXFILTER_LINEAR 
TEXFILTER_NEAREST 
TEXFILTER_NEAREST_MIPMAP_NEAREST 
TEXFILTER_LINEAR_MIPMAP_NEAREST 
TEXFILTER_NEAREST_MIPMAP_LINEAR 
TEXFILTER_LINEAR_MIPMAP_LINEAR 

Definition at line 56 of file RenderingPipe.h.

Enumerator:
TEXTURE_FMT_UNKNOWN 
TEXTURE_FMT_ALPHA 
TEXTURE_FMT_ALPHA8 
TEXTURE_FMT_ALPHA16 
TEXTURE_FMT_LUMINANCE 
TEXTURE_FMT_LUMINANCE8 
TEXTURE_FMT_LUMINANCE16 
TEXTURE_FMT_LUMINANCE_ALPHA 
TEXTURE_FMT_LUMINANCE8_ALPHA8 
TEXTURE_FMT_LUMINANCE16_ALPHA16 
TEXTURE_FMT_INTENSITY 
TEXTURE_FMT_INTENSITY8 
TEXTURE_FMT_INTENSITY16 
TEXTURE_FMT_GL_DEPTH_COMPONENT 
TEXTURE_FMT_GL_DEPTH_COMPONENT24 
TEXTURE_FMT_RGBA 
TEXTURE_FMT_RGBA8 
TEXTURE_FMT_RGBA16 
TEXTURE_FMT_RGBA16F_ARB 
TEXTURE_FMT_RGBA32F_ARB 
TEXTURE_FMT_RGB 
TEXTURE_FMT_RGB8 
TEXTURE_FMT_RGB16 
TEXTURE_FMT_RGB16F_ARB 
TEXTURE_FMT_RGB32F_ARB 
TEXTURE_FMT_COMPRESSED_RGB_S3TC_DXT1_EXT 
TEXTURE_FMT_COMPRESSED_RGBA_S3TC_DXT1_EXT 
TEXTURE_FMT_COMPRESSED_RGBA_S3TC_DXT3_EXT 
TEXTURE_FMT_COMPRESSED_RGBA_S3TC_DXT5_EXT 
TEXTURE_FMT_FORCE_DWORD 

Definition at line 159 of file GLResource.h.

  {
    TEXTURE_FMT_UNKNOWN              = 0,
    TEXTURE_FMT_ALPHA                = GL_ALPHA,
    TEXTURE_FMT_ALPHA8               = GL_ALPHA8,
    TEXTURE_FMT_ALPHA16              = GL_ALPHA16,

    TEXTURE_FMT_LUMINANCE            = GL_LUMINANCE,
    TEXTURE_FMT_LUMINANCE8           = GL_LUMINANCE8,
    TEXTURE_FMT_LUMINANCE16          = GL_LUMINANCE16,

    TEXTURE_FMT_LUMINANCE_ALPHA      = GL_LUMINANCE_ALPHA,
    TEXTURE_FMT_LUMINANCE8_ALPHA8    = GL_LUMINANCE8_ALPHA8,
    TEXTURE_FMT_LUMINANCE16_ALPHA16  = GL_LUMINANCE16_ALPHA16,

    TEXTURE_FMT_INTENSITY            = GL_INTENSITY,
    TEXTURE_FMT_INTENSITY8           = GL_INTENSITY8,
    TEXTURE_FMT_INTENSITY16          = GL_INTENSITY16,

    TEXTURE_FMT_GL_DEPTH_COMPONENT   = GL_DEPTH_COMPONENT,
    TEXTURE_FMT_GL_DEPTH_COMPONENT24 = GL_DEPTH_COMPONENT24,

    TEXTURE_FMT_RGBA                 = GL_RGBA,
    TEXTURE_FMT_RGBA8                = GL_RGBA8,
    TEXTURE_FMT_RGBA16               = GL_RGBA16,

    TEXTURE_FMT_RGBA16F_ARB          = GL_RGBA16F_ARB,
    TEXTURE_FMT_RGBA32F_ARB          = GL_RGBA32F_ARB,
    TEXTURE_FMT_RGB                  = GL_RGB,
    TEXTURE_FMT_RGB8                 = GL_RGB8,
    TEXTURE_FMT_RGB16                = GL_RGB16,
    TEXTURE_FMT_RGB16F_ARB           = GL_RGB16F_ARB,
    TEXTURE_FMT_RGB32F_ARB           = GL_RGB32F_ARB,

    TEXTURE_FMT_COMPRESSED_RGB_S3TC_DXT1_EXT   = GL_COMPRESSED_RGB_S3TC_DXT1_EXT,
    TEXTURE_FMT_COMPRESSED_RGBA_S3TC_DXT1_EXT  = GL_COMPRESSED_RGBA_S3TC_DXT1_EXT,
    TEXTURE_FMT_COMPRESSED_RGBA_S3TC_DXT3_EXT  = GL_COMPRESSED_RGBA_S3TC_DXT3_EXT,
    TEXTURE_FMT_COMPRESSED_RGBA_S3TC_DXT5_EXT  = GL_COMPRESSED_RGBA_S3TC_DXT5_EXT,
    TEXTURE_FMT_FORCE_DWORD                    = 0x7fffffff /* force 32-bit size enum */
  };
Enumerator:
eTACenter 
eTALeft 
eTARight 
eTATop 
eTABottom 

Definition at line 76 of file Utils.h.

Graphics wraping modes.

Defines the wraping modes of TexCoordXForm. The values are matched to OpenGL wraping modes.

See also:
TexCoordXForm.
Enumerator:
TEXWRAP_UNKNOWN 
TEXWRAP_REPEAT 
TEXWRAP_CLAMP 
TEXWRAP_CLAMP_TO_EDGE 
TEXWRAP_CLAMP_TO_BORDER 
TEXWRAP_MIRRORED_REPEAT 
TEXWRAP_MIRROR_CLAMP_EXT 
TEXWRAP_MIRROR_CLAMP_TO_EDGE_EXT 
TEXWRAP_MIRROR_CLAMP_TO_BORDER_EXT 

Definition at line 37 of file RenderingPipe.h.

Enumerator:
THREADINIT 
THREADRUNNING 
THREADSUSPENDED 
THREADSTOP 
THREAD_START_ERROR 
THREAD_STOP_ERROR 
THREAD_SUSPEND_ERROR 
THREAD_RESUME_ERROR 

Definition at line 265 of file ThreadGNU.h.

Enumerator:
THREAD_WAIT_RESULT_COMPLETED 
THREAD_WAIT_RESULT_ABANDONED 
THREAD_WAIT_RESULT_TIMEOUT 
THREAD_WAIT_RESULT_FAILED 

Definition at line 283 of file ThreadGNU.h.

Enumerator:
THREAD_WAIT_TIMEOUT_NONE 
THREAD_WAIT_TIMEOUT_FOREVER 

Definition at line 277 of file ThreadGNU.h.

Enumerator:
eIMAGE_STYLE_NONE 
eSTROKE_CORNER_SQUARE 
eSTROKE_CORNER_ROUND1 
eSTROKE_CORNER_ROUND2 
eSTROKE_CORNER_ROUND4 
eSTROKE_CORNER_ROUND10 
eSHAPE_CORNER_SQUARE 
eSHAPE_CORNER_ROUND1 
eSHAPE_CORNER_ROUND2 
eSHAPE_CORNER_ROUND4 
eSHAPE_CORNER_ROUND5 
eSHAPE_CORNER_ROUND6 
eSHAPE_CORNER_ROUND10 
eSHAPE_CORNER_ROUND10_SHADOW 
eSHAPE_CORNER_ROUND4_SHADOW 
eSHAPE_CORNER_SHADOW 
eTRIANGLE_UP 
eTRIANGLE_DOWN 
eTRIANGLE_LEFT 
eTRIANGLE_RIGHT 
eWINDOW_SIZEGRIP 
eSHAPE_CHECK_MARK 
eSHAPE_CHECK_BOX_FOCUS 
eSHAPE_CHECK_BOX_PRELIGHT 
eSHAPE_CHECK_BOX 
eCHECKBOX_NORMAL_ON 
eCHECKBOX_NORMAL_OFF 
eCHECKBOX_FOCUS_ON 
eCHECKBOX_FOCUS_OFF 
eCHECKBOX_PRELIGHT_ON 
eCHECKBOX_PRELIGHT_OFF 
eRADIO_NORMAL_ON 
eRADIO_NORMAL_OFF 
eRADIO_FOCUS_ON 
eRADIO_FOCUS_OFF 
eRADIO_PRELIGHT_ON 
eRADIO_PRELIGHT_OFF 
eBUTTON_NORMAL 
eBUTTON_FOCUS 
eBUTTON_PRELIGHT 
eSPINNERUP 
eSPINNERDOWN 
eCOMBOBOX_OPEN_BUTTON 
eTAB_LEFT 
eTAB_RIGHT 
eSPINER_UP 
eSPINER_DOWN 
eTREE_NODE_OPEN 
eTREE_NODE_CLOSE 
eSCROLLBAR_TRIANGLE_UP 
eSCROLLBAR_TRIANGLE_DOWN 
eSCROLLBAR_TRIANGLE_LEFT 
eSCROLLBAR_TRIANGLE_RIGHT 
eVECTORXLABEL 
eVECTORYLABEL 
eVECTORZLABEL 
eVECTORWLABEL 
eVALUATORVERTICALMOVE 
eVALUATORHORIZONTALMOVE 
eVALUATORMOVE 
eHSCROLLBAR 
eVSCROLLBAR 
eMATRIX3PREVIEW 
eMATRIX4PREVIEW 
eDOT6x6 
eGraphIcon 
eGraphBarIcon 
eWindowCloseButton 

Definition at line 30 of file Theme.h.

Enumerator:
VBO_USAGE_UNKNOWN 
VBO_USAGE_STATIC 
VBO_USAGE_DYNAMIC 
VBO_USAGE_STREAM 
VBO_USAGE_FORCE_DWORD 

Definition at line 240 of file GLResource.h.

  {
    VBO_USAGE_UNKNOWN   = 0,
    VBO_USAGE_STATIC    = GL_STATIC_DRAW,
    VBO_USAGE_DYNAMIC   = GL_DYNAMIC_DRAW,
    VBO_USAGE_STREAM    = GL_STREAM_DRAW,
    VBO_USAGE_FORCE_DWORD    = 0x7fffffff /* force 32-bit size enum */
  };
Enumerator:
VAT_UNDEFINED 
VAT_FLOAT 
VAT_FLOAT2 
VAT_FLOAT3 
VAT_FLOAT4 
VAT_FLOAT_MAT2 
VAT_FLOAT_MAT3 
VAT_FLOAT_MAT4 

Definition at line 45 of file IOpenGLResource.h.

Enumerator:
eVACenter 
eVATop 
eVABottom 

Definition at line 85 of file Utils.h.

Enumerator:
VTXATTRIB_INVALID 
VTXATTRIB_POSITION 
VTXATTRIB_WEIGHT 
VTXATTRIB_NORMAL 
VTXATTRIB_COLOR 
VTXATTRIB_COLOR_PRIMARY 
VTXATTRIB_COLOR_SECONDARY 
VTXATTRIB_FOGCOORD 
VTXATTRIB_TEXCOORD 
VTXATTRIB_TEXCOORD0 
VTXATTRIB_TEXCOORD1 
VTXATTRIB_TEXCOORD2 
VTXATTRIB_TEXCOORD3 
VTXATTRIB_TEXCOORD4 
VTXATTRIB_TEXCOORD5 
VTXATTRIB_TEXCOORD6 
VTXATTRIB_TEXCOORD7 

Definition at line 29 of file IOpenGLAsmShader.h.

Enumerator:
WINDOWSTYLE_NORMAL 
WINDOWSTYLE_PANEL 
WINDOWSTYLE_DIALOG 
WINDOWSTYLE_TOOL 
WINDOWSTYLE_NOBORDER 
WINDOWSTYLE_NORMAL 
WINDOWSTYLE_PANEL 
WINDOWSTYLE_DIALOG 
WINDOWSTYLE_TOOL 
WINDOWSTYLE_NOBORDER 

Definition at line 46 of file GraphicsDisplayWin.h.

Enumerator:
WINDOWSTYLE_NORMAL 
WINDOWSTYLE_PANEL 
WINDOWSTYLE_DIALOG 
WINDOWSTYLE_TOOL 
WINDOWSTYLE_NOBORDER 
WINDOWSTYLE_NORMAL 
WINDOWSTYLE_PANEL 
WINDOWSTYLE_DIALOG 
WINDOWSTYLE_TOOL 
WINDOWSTYLE_NOBORDER 

Definition at line 51 of file GraphicsDisplayX11.h.


Function Documentation

static double nux::_align ( double  val) [inline, static]

Definition at line 304 of file CairoGraphics.cpp.

  {
    double fract = val - (int) val;

    if (fract != 0.5f)
      return(double) ((int) val + 0.5f);
    else
      return val;
  }

Here is the caller graph for this function:

static void nux::_blurcol ( guchar *  pixels,
gint  width,
gint  height,
gint  channels,
gint  x,
gint  alpha,
gint  aprec,
gint  zprec 
) [inline, static]

Definition at line 484 of file CairoGraphics.cpp.

  {
    gint zR;
    gint zG;
    gint zB;
    gint zA;
    gint index;
    guchar* ptr;

    ptr = pixels;

    ptr += x * channels;

    zR = *((guchar*) ptr    ) << zprec;
    zG = *((guchar*) ptr + 1) << zprec;
    zB = *((guchar*) ptr + 2) << zprec;
    zA = *((guchar*) ptr + 3) << zprec;

    for (index = width; index < (height - 1) * width; index += width)
      _blurinner((guchar*) &ptr[index * channels], &zR, &zG, &zB, &zA, alpha,
      aprec, zprec);

    for (index = (height - 2) * width; index >= 0; index -= width)
      _blurinner((guchar*) &ptr[index * channels], &zR, &zG, &zB, &zA, alpha,
      aprec, zprec);
  }

Here is the call graph for this function:

Here is the caller graph for this function:

static void nux::_blurinner ( guchar *  pixel,
gint *  zR,
gint *  zG,
gint *  zB,
gint *  zA,
gint  alpha,
gint  aprec,
gint  zprec 
) [inline, static]

Definition at line 422 of file CairoGraphics.cpp.

  {
    gint R;
    gint G;
    gint B;
    guchar A;

    R = *pixel;
    G = *(pixel + 1);
    B = *(pixel + 2);
    A = *(pixel + 3);

    *zR += (alpha * ((R << zprec) - *zR)) >> aprec;
    *zG += (alpha * ((G << zprec) - *zG)) >> aprec;
    *zB += (alpha * ((B << zprec) - *zB)) >> aprec;
    *zA += (alpha * ((A << zprec) - *zA)) >> aprec;

    *pixel       = *zR >> zprec;
    *(pixel + 1) = *zG >> zprec;
    *(pixel + 2) = *zB >> zprec;
    *(pixel + 3) = *zA >> zprec;
  }

Here is the caller graph for this function:

static void nux::_blurrow ( guchar *  pixels,
gint  width,
gint  height,
gint  channels,
gint  line,
gint  alpha,
gint  aprec,
gint  zprec 
) [inline, static]

Definition at line 452 of file CairoGraphics.cpp.

  {
    gint    zR;
    gint    zG;
    gint    zB;
    gint    zA;
    gint    index;
    guchar* scanline;

    scanline = &(pixels[line * width * channels]);

    zR = *scanline << zprec;
    zG = *(scanline + 1) << zprec;
    zB = *(scanline + 2) << zprec;
    zA = *(scanline + 3) << zprec;

    for (index = 0; index < width; index ++)
      _blurinner(&scanline[index * channels], &zR, &zG, &zB, &zA, alpha, aprec,
      zprec);

    for (index = width - 2; index >= 0; index--)
      _blurinner(&scanline[index * channels], &zR, &zG, &zB, &zA, alpha, aprec,
      zprec);
  }

Here is the call graph for this function:

Here is the caller graph for this function:

static WindowThread* nux::_CreateModalWindowThread ( const char *  window_title,
int  width,
int  height,
WindowThread *  parent,
ThreadUserInitFunc  user_init_func,
void *  data,
bool  Modal 
) [static]

Definition at line 41 of file Nux.cpp.

  {
    // check that Parent exist
    WindowThread *w = new WindowThread(window_title, width, height, parent, Modal);

    if (w == 0)
    {
      nuxDebugMsg("[_CreateModalWindowThread] WindowThread creation failed.");
      return NULL;
    }

    return w;
  }

Here is the caller graph for this function:

void nux::_expblur ( guchar *  pixels,
gint  width,
gint  height,
gint  channels,
gint  radius,
gint  aprec,
gint  zprec 
)

Definition at line 532 of file CairoGraphics.cpp.

  {
    gint alpha;
    gint row = 0;
    gint col = 0;

    if (radius < 1)
      return;

    // calculate the alpha such that 90% of 
    // the kernel is within the radius.
    // (Kernel extends to infinity)
    alpha = (gint) ((1 << aprec) * (1.0f - expf(-2.3f / (radius + 1.f))));

    for (; row < height; row++)
      _blurrow(pixels, width, height, channels, row, alpha, aprec, zprec);

    for (; col < width; col++)
      _blurcol(pixels, width, height, channels, col, alpha, aprec, zprec);

    return;
  }

Here is the call graph for this function:

Here is the caller graph for this function:

static NString nux::_GetComputerName ( ) [static]

Definition at line 112 of file Platform.cpp.

  {
#if defined(NUX_OS_WINDOWS)
    TCHAR ComputerName[NUX_MAX_FILEPATH_SIZE] = TEXT ("");

    if (!ComputerName[0])
    {
      DWORD Size = NUX_ARRAY_COUNT (ComputerName);
      ::GetComputerName (ComputerName, &Size);

      TCHAR *c, *d;

      for (c = ComputerName, d = ComputerName; *c != 0; c++)
      {
        if (IsAlphanumericChar (*c) )
          *d++ = *c;
      }

      *d++ = 0;
    }

    return NString (ComputerName);

#elif defined(NUX_OS_LINUX)
    char Buffer[NUX_MAX_FILEPATH_SIZE];
    size_t BufferSize = NUX_ARRAY_COUNT (Buffer);

    if (gethostname (Buffer, BufferSize) != -1)
    {
      return NString (Buffer);
    }

    return NString (TEXT ("Unknown Computer Name") );

#else
    return NString (TEXT ("Unknown Computer Name") );
#endif
  }

Here is the call graph for this function:

static NString nux::_GetProgramDirectory ( ) [static]

Definition at line 63 of file Platform.cpp.

  {
#if defined(NUX_OS_WINDOWS)
    TCHAR RootDirectory[NUX_MAX_FILEPATH_SIZE] = TEXT ("");

    if (!RootDirectory[0])
    {
      DWORD Result = ::GetModuleFileName (NULL, RootDirectory, NUX_MAX_FILEPATH_SIZE);
      nuxAssertMsg (Result, TEXT ("[GetProgramDirectory] Can't get program's directory path.") );

      if (Result == 0)
        NString (TEXT ("Unknown Program Directory") );

      unsigned int i;

      // Skip the program name
      for (i = (unsigned int) StringLength (RootDirectory) - 1; i > 0; i--)
      {
        if ( (RootDirectory[i - 1] == NUX_BACKSLASH_CHAR) || (RootDirectory[i-1] == TEXT ('/') ) )
          break;
      }

      RootDirectory[i] = 0;
    }

    return NString (RootDirectory);

#elif defined(NUX_OS_LINUX)

    TCHAR RootDirectory[NUX_MAX_FILEPATH_SIZE] = TEXT ("");

    if (!RootDirectory[0])
    {
      char *Result = getcwd (RootDirectory, NUX_MAX_FILEPATH_SIZE);
      nuxAssertMsg (Result, TEXT ("[GetProgramDirectory] Can't get program's directory path.") );

      if (Result == 0)
        NString (TEXT ("Unknown Program Directory") );

    }

    nuxDebugMsg (TEXT ("[GetProgramDirectory] Program directory path: %s"), RootDirectory);
    return NString (RootDirectory);

#else
    return NString (TEXT ("Unknown Program Directory") );
#endif
  }

Here is the call graph for this function:

static NString nux::_GetUserName ( ) [static]

Definition at line 152 of file Platform.cpp.

  {
#if defined(NUX_OS_WINDOWS)
    TCHAR UserName[256] = TEXT ("");

    if ( !UserName[0] )
    {
      DWORD Size = NUX_ARRAY_COUNT (UserName);
      ::GetUserName (UserName, &Size);
      TCHAR *c, *d;

      for (c = UserName, d = UserName; *c != 0; c++)
        if (IsAlphanumericChar (*c) )
          *d++ = *c;

      *d++ = 0;
    }

    return NString (UserName);

#elif defined(NUX_OS_LINUX)
    struct passwd *userinfo;
    userinfo = getpwuid (getuid() );

    if (userinfo == 0)
      return NString (TEXT ("Unknown User") );

    return NString (userinfo->pw_name);

#else
    return return NString (TEXT ("Unknown User") );
#endif
  }

Here is the call graph for this function:

template<typename T >
const T nux::Abs ( const T &  a) [inline]

Return the absolute value of a.

Definition at line 76 of file MathUtility.h.

  {
    return a >= 0 ? a : -a;
  }
void nux::Addmillisecs ( TimeStruct *  tv,
unsigned int  milliseconds 
) [static]

Definition at line 724 of file TimerProc.cpp.

  {
    tv->usec += milliseconds * 1000;
    tv->sec += tv->usec / 1000000;
    tv->usec = tv->usec % 1000000;
  }

Here is the caller graph for this function:

template<typename T >
T nux::AddPointer ( void *  Ptr,
size_t  Value 
) [inline]

Definition at line 191 of file MathUtility.h.

  {
    return (T) (((size_t) Ptr) + Value);
  }
void nux::AddVertexElement ( std::vector< VERTEXELEMENT > &  Elements,
WORD  Stream,
WORD  Offset,
ATTRIB_DECL_TYPE  Type,
ATTRIB_USAGE_DECL  Usage,
BYTE  UsageIndex 
)

Definition at line 232 of file GLResource.cpp.

  {
    VERTEXELEMENT    Element;
    Element.Stream          = Stream;
    Element.Offset          = Offset;
    // We don't want to store ATTRIB_DECL_TYPE. We unpack it here so we don't have to do it every frame.
    // Opengl commands such as cgGLSetParameterPointer needs to know how many components there are in
    // a vertex attribute and what is the format of each component.
    DecomposeTypeDeclaraction(Type, Element.NumComponent, Element.Type);
    //Element.Stride    = Stride;
    //Element.Usage       = Usage;
    //Element.UsageIndex  = UsageIndex;
    Elements.push_back(Element);
  }

Here is the call graph for this function:

template<typename T >
T nux::Align ( const T  Ptr,
int  Alignment 
) [inline]

Definition at line 59 of file MathUtility.h.

  {
    return (T) (((unsigned int) Ptr + Alignment - 1) & ~ (Alignment - 1));
  }

Here is the caller graph for this function:

double nux::BackEaseIn ( double  t,
double  b,
double  c,
double  d,
double  s 
)

Definition at line 32 of file Tweening.cpp.

  {
    //return c*(t/=d)*t*((s+1)*t - s) + b;
    t /= d;
    return c * t * t * ( (s + 1) * t - s) + b;
  }
double nux::BackEaseInOut ( double  t,
double  b,
double  c,
double  d,
double  s 
)

Definition at line 46 of file Tweening.cpp.

  {
//     if ((t/=d/2) < 1)
//         return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
//     return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;

    if ( (t /= d / 2) < 1)
    {
      s *= (1.525);
      return c / 2 * (t * t * ( (s + 1) * t - s) ) + b;
    }

    s *= 1.525;
    t -= 2.0;
    return c / 2 * (t * t * ( (s + 1) * t + s) + 2) + b;
  }
double nux::BackEaseOut ( double  t,
double  b,
double  c,
double  d,
double  s 
)

Definition at line 39 of file Tweening.cpp.

  {
    //return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
    t = t / d - 1;
    return c * (t * t * ( (s + 1) * t + s) + 1) + b;
  }
NUX_DECLSPEC_DLL double * nux::Bernstein ( int  n,
double  t 
)

Evaluate the Bernstein polynomial of degree n, at parameter t.

Evaluate the Bernstein polynomial of degree n, at parameter t.

Parameters:
nThe degree of the Bernstein basis polynomials.
tThe evaluation point.
Returns:
the values of the n+1 Bernstein basis of degree n.

Definition at line 30 of file Bezier.cpp.

  {
    if (n < 0)
    {
      NUX_BREAK_ASM_INT3;
    }

    double *bernstein;
    int i;

    bernstein = new double[n+1];

    for (i = 0; i <= n; i++ )
    {
      bernstein[i] = BinomialCoefficient (n, i) * PowerInt<double> (t, i) * PowerInt<double> (1.0 - t, n - i);
    }

    return bernstein;
  }

Here is the call graph for this function:

Here is the caller graph for this function:

NUX_DECLSPEC_DLL void nux::Bezier_XY ( int  n,
double  t,
double  xcon[],
double  ycon[],
double *  xval,
double *  yval 
)

Evaluate 2D Bezier curve of degree n.

Evaluate 2D Bezier curve of degree n.

Parameters:
nThe degree of the Bezier curve.
tParameter.
xconArray of n+1 x coordinates of control points.
yconArray of n+1 y coordinates of control points.
xvalReturn the x coordinates of the Bezier curve at parameter t.
yvalReturn the y coordinates of the Bezier curve at parameter t.

Definition at line 50 of file Bezier.cpp.

  {
    if (n < 0)
    {
      NUX_BREAK_ASM_INT3;
    }

    double *bval;
    int i;

    bval = Bernstein ( n, t );

    *xval = 0.0;

    for ( i = 0; i <= n; i++ )
      *xval = *xval + xcon[i] * bval[i];

    *yval = 0.0;

    for ( i = 0; i <= n; i++ )
      *yval = *yval + ycon[i] * bval[i];

    delete [] bval;
  }

Here is the call graph for this function:

NUX_DECLSPEC_DLL void nux::Bezier_XYZ ( int  n,
double  t,
double  xcon[],
double  ycon[],
double  zcon[],
double *  xval,
double *  yval,
double *  zval 
)

Evaluate 2D Bezier curve of degree n.

Evaluate 2D Bezier curve of degree n.

Parameters:
nThe degree of the Bezier curve.
tParameter.
xconArray of n+1 x coordinates of control points.
yconArray of n+1 y coordinates of control points.
yconArray of n+1 z coordinates of control points.
xvalReturn the x coordinates of the Bezier curve at parameter t.
yvalReturn the y coordinates of the Bezier curve at parameter t.
yvalReturn the z coordinates of the Bezier curve at parameter t.

Definition at line 75 of file Bezier.cpp.

  {
    if (n < 0)
      NUX_BREAK_ASM_INT3;

    double *bval;
    int i;

    bval = Bernstein ( n, t );

    *xval = 0.0;

    for ( i = 0; i <= n; i++ )
      *xval = *xval + xcon[i] * bval[i];

    *yval = 0.0;

    for ( i = 0; i <= n; i++ )
      *yval = *yval + ycon[i] * bval[i];

    *zval = 0.0;

    for ( i = 0; i <= n; i++ )
      *zval = *zval + zcon[i] * bval[i];

    delete [] bval;
  }

Here is the call graph for this function:

double nux::BinomialCoefficient ( int  n,
int  k 
)

Definition at line 43 of file MathFunctions.cpp.

  {
    if (n < 0)
      NUX_BREAK_ASM_INT3;

    if (k < 0 || k > n)
      return 0.0;

    double d = (double) Factorial (n) / (double) (Factorial (n - k) * Factorial (k) );
    return d;
  }

Here is the call graph for this function:

Here is the caller graph for this function:

double nux::BounceEaseIn ( double  t,
double  b,
double  c,
double  d 
)

Definition at line 87 of file Tweening.cpp.

  {
    return c - BounceEaseOut (d - t, 0, c, d) + b;
  }

Here is the call graph for this function:

Here is the caller graph for this function:

double nux::BounceEaseInOut ( double  t,
double  b,
double  c,
double  d 
)

Definition at line 92 of file Tweening.cpp.

  {
    if (t < d / 2.0)
      return BounceEaseIn (t * 2, 0, c, d) * .5 + b;
    else
      return BounceEaseOut (t * 2 - d, 0, c, d) * .5 + c * .5 + b;
  }

Here is the call graph for this function:

double nux::BounceEaseOut ( double  t,
double  b,
double  c,
double  d 
)

Definition at line 64 of file Tweening.cpp.

  {
    if ( (t /= d) < (1 / 2.75) )
    {
      return c * (7.5625 * t * t) + b;
    }
    else if (t < (2 / 2.75) )
    {
      t -= (1.5 / 2.75);
      return c * (7.5625 * t * t + .75) + b;
    }
    else if (t < (2.5 / 2.75) )
    {
      t -= (2.25 / 2.75);
      return c * (7.5625 * t * t + .9375) + b;
    }
    else
    {
      t -= (2.625 / 2.75);
      return c * (7.5625 * t * t + .984375) + b;
    }
  }

Here is the caller graph for this function:

Vector3 nux::CartesianToSphericalXBaseRad ( float  x,
float  y,
float  z 
)

Definition at line 74 of file Trigonometry.cpp.

  {
    float r, theta, phi;
    r = std::sqrt (x * x + y * y + z * z);
    theta = std::atan (y / x);
    phi = std::acos (z / r);
    return Vector3 (r, theta, phi);
  }
Vector3 nux::CartesianToSphericalZBaseDeg ( float  x,
float  y,
float  z 
)

Definition at line 83 of file Trigonometry.cpp.

  {
    float r, theta, phi;
    r = std::sqrt (x * x + y * y + z * z);
    theta = std::atan (x / z);
    phi = std::acos (y / r);
    return Vector3 (r, theta, phi);
  }
double nux::CharToDouble ( const TCHAR digit)

Convert a TCHAR string to a double value.

Parameters:
digitA TCHAR string.
Returns:
A double value translated from a TCHAR string.

Definition at line 74 of file NumberConversion.cpp.

  {
    char *endptr = NULL;
    NString str = TCHAR_TO_ANSICHAR (digit);
    errno = 0;
    double ret = std::strtod (str.GetTCharPtr(), &endptr);
    unsigned int error = errno;

    if (error == ERANGE)
    {
      nuxDebugMsg ("[CharToDouble] Out for range value");
    }

    return ret;
  }

Here is the call graph for this function:

Here is the caller graph for this function:

int nux::CharToInteger ( const TCHAR digit)

Convert a TCHAR string to a 32 bits long value.

Parameters:
digitA TCHAR string.
Returns:
A 32 bits long value translated from a TCHAR string.

Definition at line 102 of file NumberConversion.cpp.

  {
    NString str = TCHAR_TO_ANSICHAR (digit);
    long long ret = std::atoi (str.GetTCharPtr() );
    return ret;
  }

Here is the call graph for this function:

Here is the caller graph for this function:

int nux::CheckGLError ( const char *  GLcall,
const char *  file,
int  line 
)

Definition at line 33 of file GLError.cpp.

  {
    GLenum glErr;
    int    retCode = 0;

    while ((glErr = glGetError()) != GL_NO_ERROR)
    {

      switch(glErr)
      {
        case GL_INVALID_ENUM:
          nuxWarningMsg("[CheckGLError] GL_INVALID_ENUM error in File %s at line: %d", file, line);
          break;
        case GL_INVALID_VALUE:
          nuxWarningMsg("[CheckGLError] GL_INVALID_VALUE error in File %s at line: %d", file, line);
          break;
        case GL_INVALID_OPERATION:
          nuxWarningMsg("[CheckGLError] GL_INVALID_OPERATION error in File %s at line: %d", file, line);
          break;
#ifndef NUX_OPENGLES_20
        case GL_STACK_OVERFLOW:
          nuxWarningMsg("[CheckGLError] GL_STACK_OVERFLOW error in File %s at line: %d", file, line);
          break;
        case GL_STACK_UNDERFLOW:
          nuxWarningMsg("[CheckGLError] GL_STACK_UNDERFLOW error in File %s at line: %d", file, line);
          break;
#endif
        case GL_OUT_OF_MEMORY:
          nuxWarningMsg("[CheckGLError] GL_OUT_OF_MEMORY error in File %s at line: %d", file, line);
          break;
        default:
          nuxWarningMsg("[CheckGLError] UNKNOWN ERROR in File %s at line: %d", file, line);
      }

#ifndef NUX_OPENGLES_20
      nuxWarningMsg("[CheckGLError] OpenGL Error %d( %s )  in File %s at line: %d \n", glErr, ANSI_TO_TCHAR(gluErrorString(glErr)), ANSI_TO_TCHAR(file), line);
#endif
      retCode = 1;

#ifdef NUX_DEBUG

      // break on errors if asked to
      if (bBreakOnGLErrors)
#endif
        inlDebugBreak();
    }

    return retCode;
  }
double nux::CircEaseIn ( double  t,
double  b,
double  c,
double  d 
)

Definition at line 101 of file Tweening.cpp.

  {

    t /= d;
    return -c * (std::sqrt (1 - t * t) - 1) + b;
  }
double nux::CircEaseInOut ( double  t,
double  b,
double  c,
double  d 
)

Definition at line 114 of file Tweening.cpp.

  {
    if ( (t /= d / 2) < 1)
    {
      return -c / 2 * (std::sqrt (1 - t * t) - 1) + b;
    }

    t -= 2.0;
    return c / 2 * (std::sqrt (1.0 - t * t) + 1) + b;
  }
double nux::CircEaseOut ( double  t,
double  b,
double  c,
double  d 
)

Definition at line 108 of file Tweening.cpp.

  {
    t = t / d - 1.0;
    return c * std::sqrt (1.0 - t * t) + b;
  }
template<typename T >
T nux::Clamp ( const T  X,
const T  min_value,
const T  max_value 
) [inline]

Definition at line 44 of file MathUtility.h.

  {
    return X < min_value ? min_value : X < max_value ? X : max_value;
  }

Here is the caller graph for this function:

template<typename T >
T nux::ClampDown ( const T  X,
const T  max_value 
) [inline]

Definition at line 54 of file MathUtility.h.

  {
    return X > max_value ? max_value : X;
  }
template<typename T >
T nux::ClampUp ( const T  X,
const T