|
Hi, I have used the tools, it’s wonderful :)
I see the export file contains all the controls in one class,
Like the OR samples. no matter how many controls.
>> There is another question, I was confused, hope you can help me.
I want to devide the UI to some parts , Like:
Class LayoutFirst
{
.... void UIconfiger()
{
mButton.OnClick.Add( m_pRootTool, (FBCallback)&LayoutFist::EventButtonConnectClick );
};
EventButtonClick( HISender pSender, HKEvent pEvent);
private:
FBTool* m_pRootTool;
FBLayout m_layout;
FBButton m_button;
}
Class TestingTool : public FBTool
{
UICreate(){ m_layoutFrist = new LayoutFrist(this); };
LayoutFrist* m_layoutFrist;
}
But the data error when the button CallBack function called.
It ‘s sees that, The all the Event CallBack function shoul defined in FBTool class : (
Is there some way not put all the conrols in the FBTool class ?? makes the main class more Concise.
That’s will help me a lot :)
|