shaders/cgshader/orcgshader_layout.cxx
#include "orcgshader_layout.h"
#define ORCGSHADER__LAYOUT ORCgShaderLayout
ORCGSHADER__DESCSTR,
bool ORCgShaderLayout::FBCreate()
{
UICreate ();
UIConfigure ();
UIReset ();
return true;
}
void ORCgShaderLayout::FBDestroy()
{
}
void ORCgShaderLayout::UICreate()
{
int lS=4;
AddRegion( "ButtonTest", "ButtonTest",
SetControl( "ButtonTest", mButtonTest );
}
void ORCgShaderLayout::UIConfigure()
{
mButtonTest.OnClick.Add(
this, (
FBCallback)&ORCgShaderLayout::OnButtonTestClick );
}
void ORCgShaderLayout::UIReset()
{
mButtonTest.Caption = "Test";
}
{
mButtonTest.Caption = "Clicked";
}