#ifndef VCZH_PRESENTATION_CONTROLS_GUICONTAINERCONTROLS
#define VCZH_PRESENTATION_CONTROLS_GUICONTAINERCONTROLS
#include "GuiScrollControls.h"
namespace
{
namespace
{
namespace
{
class
;
class
;
class
:
public
,
public
<
>
{
friend
class
;
protected
:
*
=
nullptr
;
bool
()
override
;
public
:
(
theme
::
);
();
*
();
};
class
:
public
collections
::
<
*>
{
protected
:
*
;
bool
(
,
*
const
&
)
override
;
void
(
,
*
const
&
)
override
;
void
(
,
*
const
&
)
override
;
public
:
(
*
);
();
};
class
:
public
,
public
<
>
{
GUI_SPECIFY_CONTROL_TEMPLATE_TYPE(TabTemplate, GuiControl)
public
:
using
=
templates
::
;
private
:
templates
::
*
=
nullptr
;
void
BeforeControlTemplateUninstalled_
();
void
AfterControlTemplateInstalled_
(
bool
);
protected
:
void
BeforeControlTemplateUninstalled
()
override
{
BeforeControlTemplateUninstalled_
();
::
BeforeControlTemplateUninstalled
(); }
void
AfterControlTemplateInstalled
(
bool
)
override
{
::
AfterControlTemplateInstalled
(
);
AfterControlTemplateInstalled_
(
); }
void
CheckAndStoreControlTemplate
(
templates
::
*
)
override
{
auto
=
dynamic_cast
<
templates
::
*>(
);
do
{
if
(!(
ct
))
throw
(
L"The assigned control template is not vl::presentation::templates::Gui"
L"TabTemplate"
L"."
);}
while
(
0
);
=
ct
;
::
CheckAndStoreControlTemplate
(
); }
public
:
templates
::
*
TypedControlTemplateObject
(
bool
) {
if
(
) {
EnsureControlTemplateExists
(); }
return
; }
private
:
friend
class
;
protected
:
class
:
public
,
public
{
protected
:
*
;
public
:
(
*
);
();
void
(
,
bool
)
override
;
};
<
>
;
;
*
=
nullptr
;
void
(
compositions
::
*
,
compositions
::
&
);
public
:
(
theme
::
);
();
compositions
::
;
collections
::
<
*>&
();
*
();
bool
(
*
);
};
class
:
public
,
public
<
>
{
GUI_SPECIFY_CONTROL_TEMPLATE_TYPE(ScrollViewTemplate, GuiControl)
public
:
using
=
templates
::
;
private
:
templates
::
*
=
nullptr
;
void
();
void
(
bool
);
protected
:
void
()
override
{
BeforeControlTemplateUninstalled_
();
::
BeforeControlTemplateUninstalled
(); }
void
(
bool
)
override
{
::
AfterControlTemplateInstalled
(
);
AfterControlTemplateInstalled_
(
); }
void
(
templates
::
*
)
override
{
auto
=
dynamic_cast
<
templates
::
*>(
);
do
{
if
(!(
ct
))
throw
(
L"The assigned control template is not vl::presentation::templates::Gui"
L"ScrollViewTemplate"
L"."
);}
while
(
0
);
=
ct
;
::
CheckAndStoreControlTemplate
(
); }
public
:
templates
::
*
(
bool
) {
if
(
) {
EnsureControlTemplateExists
(); }
return
; }
private
:
using
=
compositions
::
;
protected
:
bool
=
false
;
<
>
;
<
>
;
<
>
;
<
>
;
<
>
;
bool
=
true
;
bool
=
true
;
void
()
override
;
void
(
compositions
::
*
,
compositions
::
&
);
void
(
compositions
::
*
,
compositions
::
&
);
void
(
compositions
::
*
,
compositions
::
&
);
void
(
compositions
::
*
,
compositions
::
&
);
void
(
compositions
::
*
,
compositions
::
&
);
void
();
bool
(
);
virtual
()=
0
;
virtual
void
(
)=
0
;
virtual
();
virtual
();
public
:
(
theme
::
);
();
void
();
();
();
();
void
(
);
*
();
*
();
bool
();
void
(
bool
);
bool
();
void
(
bool
);
};
class
:
public
,
public
<
>
{
protected
:
bool
=
false
;
bool
=
false
;
()
override
;
void
(
)
override
;
public
:
(
theme
::
);
();
bool
();
void
(
bool
);
bool
();
void
(
bool
);
};
}
}
}
#endif