Ejemplo n.º 1
0
void GradientCornerValue_obj::__boot()
{
Static(bottomLeft) = hx::CreateEnum< GradientCornerValue_obj >(HX_CSTRING("bottomLeft"),2);
Static(bottomRight) = hx::CreateEnum< GradientCornerValue_obj >(HX_CSTRING("bottomRight"),1);
Static(topLeft) = hx::CreateEnum< GradientCornerValue_obj >(HX_CSTRING("topLeft"),3);
Static(topRight) = hx::CreateEnum< GradientCornerValue_obj >(HX_CSTRING("topRight"),0);
}
Ejemplo n.º 2
0
void FontStyle_obj::__boot()
{
Static(BOLD) = hx::CreateEnum< FontStyle_obj >(HX_CSTRING("BOLD"),0);
Static(BOLD_ITALIC) = hx::CreateEnum< FontStyle_obj >(HX_CSTRING("BOLD_ITALIC"),1);
Static(ITALIC) = hx::CreateEnum< FontStyle_obj >(HX_CSTRING("ITALIC"),2);
Static(REGULAR) = hx::CreateEnum< FontStyle_obj >(HX_CSTRING("REGULAR"),3);
}
Ejemplo n.º 3
0
void StageScaleMode_obj::__boot()
{
Static(EXACT_FIT) = hx::CreateEnum< StageScaleMode_obj >(HX_CSTRING("EXACT_FIT"),3);
Static(NO_BORDER) = hx::CreateEnum< StageScaleMode_obj >(HX_CSTRING("NO_BORDER"),2);
Static(NO_SCALE) = hx::CreateEnum< StageScaleMode_obj >(HX_CSTRING("NO_SCALE"),1);
Static(SHOW_ALL) = hx::CreateEnum< StageScaleMode_obj >(HX_CSTRING("SHOW_ALL"),0);
}
Ejemplo n.º 4
0
void StageQuality_obj::__boot()
{
Static(BEST) = hx::CreateEnum< StageQuality_obj >(HX_CSTRING("BEST"),3);
Static(HIGH) = hx::CreateEnum< StageQuality_obj >(HX_CSTRING("HIGH"),2);
Static(LOW) = hx::CreateEnum< StageQuality_obj >(HX_CSTRING("LOW"),0);
Static(MEDIUM) = hx::CreateEnum< StageQuality_obj >(HX_CSTRING("MEDIUM"),1);
}
Ejemplo n.º 5
0
void AnchorTarget_obj::__boot()
{
Static(blank) = hx::CreateEnum< AnchorTarget_obj >(HX_CSTRING("blank"),0);
Static(parent) = hx::CreateEnum< AnchorTarget_obj >(HX_CSTRING("parent"),2);
Static(self) = hx::CreateEnum< AnchorTarget_obj >(HX_CSTRING("self"),1);
Static(top) = hx::CreateEnum< AnchorTarget_obj >(HX_CSTRING("top"),3);
}
Ejemplo n.º 6
0
void Position_obj::__boot()
{
Static(absolute) = hx::CreateEnum< Position_obj >(HX_CSTRING("absolute"),2);
Static(cssStatic) = hx::CreateEnum< Position_obj >(HX_CSTRING("cssStatic"),0);
Static(fixed) = hx::CreateEnum< Position_obj >(HX_CSTRING("fixed"),3);
Static(relative) = hx::CreateEnum< Position_obj >(HX_CSTRING("relative"),1);
}
Ejemplo n.º 7
0
void Cursor_obj::__boot()
{
Static(_auto) = hx::CreateEnum< Cursor_obj >(HX_CSTRING("auto"),0);
Static(crosshair) = hx::CreateEnum< Cursor_obj >(HX_CSTRING("crosshair"),1);
Static(cssDefault) = hx::CreateEnum< Cursor_obj >(HX_CSTRING("cssDefault"),2);
Static(pointer) = hx::CreateEnum< Cursor_obj >(HX_CSTRING("pointer"),3);
}
Ejemplo n.º 8
0
void WhiteSpace_obj::__boot()
{
Static(normal) = hx::CreateEnum< WhiteSpace_obj >(HX_CSTRING("normal"),0);
Static(nowrap) = hx::CreateEnum< WhiteSpace_obj >(HX_CSTRING("nowrap"),2);
Static(pre) = hx::CreateEnum< WhiteSpace_obj >(HX_CSTRING("pre"),1);
Static(preLine) = hx::CreateEnum< WhiteSpace_obj >(HX_CSTRING("preLine"),4);
Static(preWrap) = hx::CreateEnum< WhiteSpace_obj >(HX_CSTRING("preWrap"),3);
}
Ejemplo n.º 9
0
void LineScaleMode_obj::__boot()
{
Static(HORIZONTAL) = hx::CreateEnum< LineScaleMode_obj >(HX_CSTRING("HORIZONTAL"),3);
Static(NONE) = hx::CreateEnum< LineScaleMode_obj >(HX_CSTRING("NONE"),1);
Static(NORMAL) = hx::CreateEnum< LineScaleMode_obj >(HX_CSTRING("NORMAL"),0);
Static(OPENGL) = hx::CreateEnum< LineScaleMode_obj >(HX_CSTRING("OPENGL"),4);
Static(VERTICAL) = hx::CreateEnum< LineScaleMode_obj >(HX_CSTRING("VERTICAL"),2);
}
Ejemplo n.º 10
0
void Flush_obj::__boot()
{
Static(BLOCK) = hx::CreateEnum< Flush_obj >(HX_CSTRING("BLOCK"),4);
Static(FINISH) = hx::CreateEnum< Flush_obj >(HX_CSTRING("FINISH"),3);
Static(FULL) = hx::CreateEnum< Flush_obj >(HX_CSTRING("FULL"),2);
Static(NO) = hx::CreateEnum< Flush_obj >(HX_CSTRING("NO"),0);
Static(SYNC) = hx::CreateEnum< Flush_obj >(HX_CSTRING("SYNC"),1);
}
void SharedObjectFlushStatus_obj::__register()
{

Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.net.SharedObjectFlushStatus"), hx::TCanCast< SharedObjectFlushStatus_obj >,sStaticFields,sMemberFields,
	&__Create_SharedObjectFlushStatus_obj, &__Create,
	&super::__SGetClass(), &CreateSharedObjectFlushStatus_obj, sMarkStatics, sVisitStatic);
}
Ejemplo n.º 12
0
void PixelSnapping_obj::__register()
{

Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.PixelSnapping"), hx::TCanCast< PixelSnapping_obj >,sStaticFields,sMemberFields,
	&__Create_PixelSnapping_obj, &__Create,
	&super::__SGetClass(), &CreatePixelSnapping_obj, sMarkStatics, sVisitStatic);
}
Ejemplo n.º 13
0
void TriangleCulling_obj::__register()
{

Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.TriangleCulling"), hx::TCanCast< TriangleCulling_obj >,sStaticFields,sMemberFields,
	&__Create_TriangleCulling_obj, &__Create,
	&super::__SGetClass(), &CreateTriangleCulling_obj, sMarkStatics, sVisitStatic);
}
Ejemplo n.º 14
0
void StageScaleMode_obj::__register()
{

Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.StageScaleMode"), hx::TCanCast< StageScaleMode_obj >,sStaticFields,sMemberFields,
	&__Create_StageScaleMode_obj, &__Create,
	&super::__SGetClass(), &CreateStageScaleMode_obj, sMarkStatics, sVisitStatic);
}
Ejemplo n.º 15
0
void FontStyle_obj::__register()
{

Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.text.FontStyle"), hx::TCanCast< FontStyle_obj >,sStaticFields,sMemberFields,
	&__Create_FontStyle_obj, &__Create,
	&super::__SGetClass(), &CreateFontStyle_obj, sMarkStatics, sVisitStatic);
}
Ejemplo n.º 16
0
void GradientType_obj::__register()
{

Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.GradientType"), hx::TCanCast< GradientType_obj >,sStaticFields,sMemberFields,
	&__Create_GradientType_obj, &__Create,
	&super::__SGetClass(), &CreateGradientType_obj, sMarkStatics, sVisitStatic);
}
Ejemplo n.º 17
0
void BlendMode_obj::__register()
{

Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.BlendMode"), hx::TCanCast< BlendMode_obj >,sStaticFields,sMemberFields,
	&__Create_BlendMode_obj, &__Create,
	&super::__SGetClass(), &CreateBlendMode_obj, sMarkStatics, sVisitStatic);
}
Ejemplo n.º 18
0
void ValueType_obj::__register()
{

Static(__mClass) = hx::RegisterClass(HX_CSTRING("ValueType"), hx::TCanCast< ValueType_obj >,sStaticFields,sMemberFields,
	&__Create_ValueType_obj, &__Create,
	&super::__SGetClass(), &CreateValueType_obj, sMarkStatics);
}
Ejemplo n.º 19
0
void Context3DTextureFormat_obj::__register()
{

Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display3D.Context3DTextureFormat"), hx::TCanCast< Context3DTextureFormat_obj >,sStaticFields,sMemberFields,
	&__Create_Context3DTextureFormat_obj, &__Create,
	&super::__SGetClass(), &CreateContext3DTextureFormat_obj, sMarkStatics, sVisitStatic);
}
Ejemplo n.º 20
0
void TweenType_obj::__register()
{

Static(__mClass) = hx::RegisterClass(HX_CSTRING("com.haxepunk.TweenType"), hx::TCanCast< TweenType_obj >,sStaticFields,sMemberFields,
	&__Create_TweenType_obj, &__Create,
	&super::__SGetClass(), &CreateTweenType_obj, sMarkStatics, sVisitStatic);
}
Ejemplo n.º 21
0
void Error_obj::__register()
{

Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.io.Error"), hx::TCanCast< Error_obj >,sStaticFields,sMemberFields,
	&__Create_Error_obj, &__Create,
	&super::__SGetClass(), &CreateError_obj, sMarkStatics, sVisitStatic);
}
Ejemplo n.º 22
0
void URLLoaderDataFormat_obj::__register()
{

    Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.net.URLLoaderDataFormat"), hx::TCanCast< URLLoaderDataFormat_obj >,sStaticFields,sMemberFields,
                                         &__Create_URLLoaderDataFormat_obj, &__Create,
                                         &super::__SGetClass(), &CreateURLLoaderDataFormat_obj, sMarkStatics, sVisitStatic);
}
Ejemplo n.º 23
0
void Object::__boot()
{
   Static(Object__mClass) = hx::RegisterClass(HX_CSTRING("Dynamic"),AlwaysCast,sNone,sNone,0,0, 0, 0 );

   #ifdef HXCPP_SCRIPTABLE
   hx::ScriptableRegisterClass( HX_CSTRING("hx.Object"), (int)sizeof(hx::Object__scriptable), __scriptableFunctions, Object__scriptable::__script_create, Object::__script_construct );
   #endif
}
Ejemplo n.º 24
0
void StageAlign_obj::__boot()
{
Static(BOTTOM) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("BOTTOM"),7);
Static(BOTTOM_LEFT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("BOTTOM_LEFT"),6);
Static(BOTTOM_RIGHT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("BOTTOM_RIGHT"),5);
Static(LEFT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("LEFT"),4);
Static(RIGHT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("RIGHT"),3);
Static(TOP) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("TOP"),2);
Static(TOP_LEFT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("TOP_LEFT"),1);
Static(TOP_RIGHT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("TOP_RIGHT"),0);
}
Ejemplo n.º 25
0
void NativeElementTypeValue_obj::__boot()
{
    Static(graphic) = hx::CreateEnum< NativeElementTypeValue_obj >(HX_CSTRING("graphic"),1);
    Static(image) = hx::CreateEnum< NativeElementTypeValue_obj >(HX_CSTRING("image"),3);
    Static(library) = hx::CreateEnum< NativeElementTypeValue_obj >(HX_CSTRING("library"),4);
    Static(link) = hx::CreateEnum< NativeElementTypeValue_obj >(HX_CSTRING("link"),6);
    Static(neutral) = hx::CreateEnum< NativeElementTypeValue_obj >(HX_CSTRING("neutral"),0);
    Static(skin) = hx::CreateEnum< NativeElementTypeValue_obj >(HX_CSTRING("skin"),5);
    Static(text) = hx::CreateEnum< NativeElementTypeValue_obj >(HX_CSTRING("text"),2);
    Static(textInput) = hx::CreateEnum< NativeElementTypeValue_obj >(HX_CSTRING("textInput"),7);
}
Ejemplo n.º 26
0
	void DestroyDefaultFormatter()
	{
		Statics *pStatic = &Static();
		Formatter *pDefaultFormatter = pStatic->s_pDefaultFormatter;

		if ( pDefaultFormatter != NULL )
			delete pDefaultFormatter;

		pStatic->s_pDefaultFormatter = NULL;
}
Ejemplo n.º 27
0
void FontSizeAbsoluteSize_obj::__boot()
{
Static(large) = hx::CreateEnum< FontSizeAbsoluteSize_obj >(HX_CSTRING("large"),4);
Static(medium) = hx::CreateEnum< FontSizeAbsoluteSize_obj >(HX_CSTRING("medium"),3);
Static(small) = hx::CreateEnum< FontSizeAbsoluteSize_obj >(HX_CSTRING("small"),2);
Static(xLarge) = hx::CreateEnum< FontSizeAbsoluteSize_obj >(HX_CSTRING("xLarge"),5);
Static(xSmall) = hx::CreateEnum< FontSizeAbsoluteSize_obj >(HX_CSTRING("xSmall"),1);
Static(xxLarge) = hx::CreateEnum< FontSizeAbsoluteSize_obj >(HX_CSTRING("xxLarge"),6);
Static(xxSmall) = hx::CreateEnum< FontSizeAbsoluteSize_obj >(HX_CSTRING("xxSmall"),0);
}
Ejemplo n.º 28
0
void ValueType_obj::__boot()
{
Static(TBool) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TBool"),3);
Static(TFloat) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TFloat"),2);
Static(TFunction) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TFunction"),5);
Static(TInt) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TInt"),1);
Static(TNull) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TNull"),0);
Static(TObject) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TObject"),4);
Static(TUnknown) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TUnknown"),8);
}
Ejemplo n.º 29
0
int Initialize( INIT_PARAMS *params )
{
	s_mInitialization.MutexLock();

    if ( params == NULL )
    {
        Static().s_pfMalloc = malloc;
        Static().s_pfFree = free;
    }
    else
    {
        if ( params->m_pfMalloc != NULL )
        {
            Static().s_pfMalloc = params->m_pfMalloc;
            Static().s_pfFree = params->m_pfFree;
        }
        else
        {
            Static().s_pfMalloc = malloc;
            Static().s_pfFree = free;
        }
    }

    // Let's allocate a default filter here.
    GetDefaultFilter();

    // Socket::Initialize();

	s_nInitializations++;

	s_mInitialization.MutexUnlock();

    return 0;
}
Ejemplo n.º 30
0
int Shutdown( )
{
	s_mInitialization.MutexLock();

	if ( --s_nInitializations == 0 )
	{
		// Socket::Shutdown();

#ifdef LOGOG_DESTROY_STATIC_AREA
		delete &( Static() );
#else
		Static().Reset();
#endif

#ifdef LOGOG_LEAK_DETECTION
		ReportMemoryAllocations();
#endif
	}

	s_mInitialization.MutexUnlock();

    return 0;
}