shaders/shadertexmat/orshadertexmat_layout.cxx
#include "orshadertexmat_layout.h"
#define ORSHADERTEXMAT__LAYOUT ORShaderTexMatLayout
ORSHADERTEXMAT__DESCSTR,
bool ORShaderTexMatLayout::FBCreate()
{
UICreate ();
UIConfigure ();
UIReset ();
return true;
}
void ORShaderTexMatLayout::FBDestroy()
{
}
void ORShaderTexMatLayout::UICreate()
{
int lS=4;
AddRegion( "ButtonTest", "ButtonTest",
SetControl( "ButtonTest", mButtonTest );
}
void ORShaderTexMatLayout::UIConfigure()
{
mButtonTest.OnClick.Add(
this, (
FBCallback)&ORShaderTexMatLayout::OnButtonTestClick );
}
void ORShaderTexMatLayout::UIReset()
{
mButtonTest.Caption = "Test";
}
void ORShaderTexMatLayout::OnButtonTestClick(
HISender pSender,
HKEvent pEvent)
{
mButtonTest.Caption = "Clicked";
}