#include "GuiInstanceLoader_TemplateControl.h"
#ifndef VCZH_DEBUG_NO_REFLECTION
namespace
{
namespace
{
namespace
{
class
GuiCommonDatePickerLookLoader
:
public
,
public
{
protected
:
;
;
;
;
public
:
GuiCommonDatePickerLookLoader
()
{
=
::
(
description
::
<
>::
.typeName);
=
::
(
L"BackgroundColor"
);
=
::
(
L"PrimaryTextColor"
);
=
::
(
L"SecondaryTextColor"
);
}
()
override
{
return
;
}
void
(
const
&
,
collections
::
<
>&
)
override
{
if
(
(
))
{
.
(
);
.
(
);
.
(
);
}
}
void
(
const
&
,
collections
::
<
>&
)
override
{
(
,
);
}
<
>
(
const
&
)
override
{
if
(
.
||
.
==
||
.
==
)
{
auto
=
::
(
<
>::
());
info
=
::
;
return
info
;
}
return
::
(
);
}
bool
(
const
&
)
override
{
return
.
;
}
<
workflow
::
>
(
GuiResourcePrecompileContext
&
,
types
::
&
,
const
&
,
,
&
,
,
::
&
)
override
{
if
(
(
))
{
=
.
().
(
);
=
.
().
(
);
=
.
().
(
);
if
(
indexBackgroundColor
!= -
1
&&
indexPrimaryTextColor
!= -
1
&&
indexSecondaryTextColor
!= -
1
)
{
auto
=
<
*>::
();
auto
=
<
>();
createExpr
(
type
.
());
createExpr
.
(
.
(
indexBackgroundColor
)
0
].
);
createExpr
.
(
.
(
indexPrimaryTextColor
)
0
].
);
createExpr
.
(
.
(
indexSecondaryTextColor
)
0
].
);
auto
=
<
>();
refVariable
.
.
();
auto
=
<
>();
assignExpr
=
::
;
assignExpr
refVariable
;
assignExpr
createExpr
;
auto
=
<
>();
assignStat
assignExpr
;
return
assignStat
;
}
}
return
nullptr
;
}
};
class
:
public
,
public
{
protected
:
;
;
public
:
()
{
=
::
(
description
::
<
>::
.typeName);
=
::
(
L"DefaultScrollSize"
);
}
()
override
{
return
;
}
void
(
const
&
,
collections
::
<
>&
)
override
{
if
(
(
))
{
.
(
);
}
}
void
(
const
&
,
collections
::
<
>&
)
override
{
(
,
);
}
<
>
(
const
&
)
override
{
if
(
.
)
{
auto
=
::
(
<
>::
());
info
=
::
;
return
info
;
}
return
::
(
);
}
bool
(
const
&
)
override
{
return
.
;
}
<
workflow
::
>
(
GuiResourcePrecompileContext
&
,
types
::
&
,
const
&
,
,
&
,
,
::
&
)
override
{
if
(
(
))
{
=
.
().
(
);
if
(
indexDefaultScrollSize
!= -
1
)
{
auto
=
<
*>::
();
auto
=
<
>();
createExpr
(
type
.
());
createExpr
.
(
.
(
indexDefaultScrollSize
)
0
].
);
auto
=
<
>();
refVariable
.
.
();
auto
=
<
>();
assignExpr
=
::
;
assignExpr
refVariable
;
assignExpr
createExpr
;
auto
=
<
>();
assignStat
assignExpr
;
return
assignStat
;
}
}
return
nullptr
;
}
};
void
(
IGuiInstanceLoaderManager
*
)
{
->
(
new
GuiCommonDatePickerLookLoader
);
->
(
new
GuiCommonScrollViewLookLoader
);
}
}
}
}
#endif