miscellaneous/texture_template/ortexture_template_layout.cxx
#include "ortexture_template_layout.h"
#define ORTEXTURETEMPLATE__LAYOUT ORTextureTemplateLayout
bool ORTextureTemplateLayout::FBCreate()
{
mTextureCustom = (ORLayeredTextureCustom*) (FBTexture*) Texture;
UICreate ();
UIConfigure ();
UIReset ();
return true;
}
void ORTextureTemplateLayout::FBDestroy()
{
}
void ORTextureTemplateLayout::UICreate()
{
int lS=5;
int lH=17;
int lW=300;
AddRegion(
"AuxLayer",
"",lS,
kFBAttachTop,
"",1,lS,
kFBAttachLeft,
"",1,lW,
kFBAttachLeft,
"",1, lH,
kFBAttachNone,
"", 1);
}
void ORTextureTemplateLayout::UIConfigure()
{
SetControl( "AuxLayer", mEditAuxLayer );
mEditAuxLayer.Property = &(mTextureCustom->AuxLayer);
}
void ORTextureTemplateLayout::UIReset()
{
}