File Index Symbol Index

#include "GuiControlTemplates.h"
#include "../ListControlPackage/GuiListControls.h"
namespace
vl
{
namespace
presentation
{
namespace
templates
{
using
namespace
collections
;
using
namespace
controls
;
using
namespace
compositions
;
using
namespace
elements
;
/*********************************************************************** GuiTemplate ***********************************************************************/
controls
::
GuiControlHost
*
GuiTemplate
::
GetControlHostForInstance
() {
return
GetRelatedControlHost
(); }
void
GuiTemplate
::
OnParentLineChanged
() {
GuiBoundsComposition
::
OnParentLineChanged
();
OnControlHostForInstanceChanged
(); }
GuiTemplate
::
GuiTemplate
() { }
GuiTemplate
::
~
GuiTemplate
() {
FinalizeInstanceRecursively
(
this
); }
/*********************************************************************** Item GuiListItemTemplate ***********************************************************************/
void
GuiListItemTemplate
::
OnInitialize
() { }
GuiListItemTemplate
::
GuiListItemTemplate
() { }
GuiListItemTemplate
::
~
GuiListItemTemplate
() {
FinalizeAggregation
(); }
void
GuiListItemTemplate
::
BeginEditListItem
() {
listControl
->
GetItemProvider
()->
PushEditing
(); }
void
GuiListItemTemplate
::
EndEditListItem
() { }
void
GuiListItemTemplate
::
Initialize
(
controls
::
GuiListControl
*
_listControl
) {
listControl
=
_listControl
;
OnInitialize
(); }
/*********************************************************************** Template Declarations ***********************************************************************/
} } }