packages feed

HROOT-core-0.10.0.1: csrc/HROOTCoreTColor.h

#ifdef __cplusplus
extern "C" {
#endif

#pragma once


#include "HROOT-coreType.h"

#include "HROOTCoreTNamed.h"

#include "HROOTCoreTObject.h"

#include "STDDeletable.h"


#define TCOLOR_DECL_VIRT(Type) \



#define TCOLOR_DECL_NONVIRT(Type) \
Type##_p Type##_newTColor_ (  );\
Type##_p Type##_newTColor ( float r, float g, float b, float a );\
TArrayI_p Type##_tColor_GetPalette (  );


#define TCOLOR_DECL_ACCESSOR(Type) \



#define TCOLOR_DEF_VIRT(Type) \



#define TCOLOR_DEF_NONVIRT(Type) \
Type##_p Type##_newTColor_ (  ) {\
Type* newp=new Type();return from_nonconst_to_nonconst<Type##_t, Type>(newp);\
}\
\
Type##_p Type##_newTColor ( float r, float g, float b, float a ) {\
Type* newp=new Type(r, g, b, a);return from_nonconst_to_nonconst<Type##_t, Type>(newp);\
}\
\
TArrayI_p Type##_tColor_GetPalette (  ) {\
return from_const_to_nonconst<TArrayI_t, TArrayI>(&(TColor::GetPalette()));\
}


#define TCOLOR_DEF_ACCESSOR(Type) \



TNAMED_DECL_VIRT(TColor)
TOBJECT_DECL_VIRT(TColor)
DELETABLE_DECL_VIRT(TColor)
TCOLOR_DECL_VIRT(TColor)
TCOLOR_DECL_NONVIRT(TColor)
TCOLOR_DECL_ACCESSOR(TColor)

#ifdef __cplusplus
}
#endif