Ejemplo n.º 1
0
XSI::CStatus CPPImportVMF_Init( XSI::CRef& in_ref )
{
	Context ctxt = in_ref;
	Menu menu = ctxt.GetSource();

	CStatus st;
	MenuItem item;
	menu.AddCallbackItem(L"Import VMF...", L"OnVMFImportMenu", item);

	return CStatus::OK;	
}
Ejemplo n.º 2
0
SICALLBACK Import3DCoatMenu_Init(CRef& in_ctxt)
{
	Context ctxt( in_ctxt );

	Menu oMenu;
	MenuItem oNewItem;
	oMenu = ctxt.GetSource();
	oMenu.AddCallbackItem( L"3DCoat...", L"coatClicked", oNewItem );

	return CStatus::OK;
}
Ejemplo n.º 3
0
/** Defines the menu text and the event callback to execute (OnOgreMeshExportMenu) */
XSI::CStatus OgreMeshExportMenu_Init( XSI::CRef& in_ref )
{
	Context ctxt = in_ref;
	Menu menu = ctxt.GetSource();

	CStatus st;
	MenuItem item;
	menu.AddCallbackItem(L"OGRE Mesh / Skeleton...", L"OnOgreMeshExportMenu", item);

	return CStatus::OK;	
}
Ejemplo n.º 4
0
SICALLBACK AppLink_3DCoat_Init( CRef& in_ctxt )
{
	Context ctxt( in_ctxt );

	Menu oMenu;
	oMenu = ctxt.GetSource();
	
	MenuItem oNewItem;
	oMenu.AddCallbackItem( L"Settings", L"coatClicked", oNewItem );
	
	return CStatus::OK;
}