本文整理汇总了C++中InitializeComponents函数的典型用法代码示例。如果您正苦于以下问题:C++ InitializeComponents函数的具体用法?C++ InitializeComponents怎么用?C++ InitializeComponents使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了InitializeComponents函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: Create
NPCsPanel::NPCsPanel(wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name) {
instance = this;
Create(parent, id, pos, size, style, name);
InitializeComponents();
level = 0;
}
示例2: AddComponent
/////////////////////////////
// Initialize
// -Startup
void Player::Initialize()
{
Transform * transform = new Transform;
transform->SetX(0);
transform->SetY(0);
transform->SetOwner(this);
AddComponent((Component*)transform);
Sprite * sprite = new Sprite;
sprite->SetVisible(true);
sprite->SetCharacter('P');
sprite->SetOwner(this);
AddComponent((Component*)sprite);
InputController * controller = new InputController;
controller->SetOwner(this);
AddComponent((Component*)controller);
NetworkView * nwView = new NetworkView;
nwView->SetOwner(this);
nwView->RegisterForMessage(ID_NWV_UPDATE_POSITION);
AddComponent((Component*)nwView);
m_uiID = 0;
InitializeComponents();
}
示例3: CreateStatusBar
void MainFrame::InitializeFrame(){
_frameManager.SetFrame(this);
#ifdef __WXMSW_
_frameManager.SetFlags(_frameManager.GetFlags() ^ wxAUI_MGR_TRANSPARENT_DRAG);
#else
//workaround for bug
//http://trac.wxwidgets.org/ticket/4841
_frameManager.SetFlags(wxAUI_MGR_ALLOW_FLOATING |
wxAUI_MGR_NO_VENETIAN_BLINDS_FADE |
wxAUI_MGR_RECTANGLE_HINT
);
#endif
CreateStatusBar(3);
InitializeComponents();
InitializeMenus();
LoadInitialPerspective();
InitDragDrop();
}
示例4: InitializeComponents
FileReferenceNameColumnTemplate::FileReferenceNameColumnTemplate()
{
InitializeComponents();
}
示例5: InitializeComponents
MenuItemButtonTemplate::MenuItemButtonTemplate()
{
InitializeComponents();
}
示例6: InitializeComponents
ToolstripSplitArrowTemplate::ToolstripSplitArrowTemplate()
{
InitializeComponents();
}
示例7: InitializeComponents
ToolstripSplitButtonTemplate::ToolstripSplitButtonTemplate()
{
InitializeComponents();
}
示例8: InitializeComponents
ButtonTemplate::ButtonTemplate()
{
InitializeComponents();
}
示例9: InitializeComponents
VScrollTemplate::VScrollTemplate()
{
InitializeComponents();
}
示例10: InitializeComponents
CheckItemBackgroundTemplate::CheckItemBackgroundTemplate()
{
InitializeComponents();
}
示例11: InitializeComponents
TreeViewTemplate::TreeViewTemplate()
{
InitializeComponents();
}
示例12: MainWindow
MainWindow(Ptr<IViewModel> ViewModel)
:MainWindow_<MainWindow>(ViewModel)
{
InitializeComponents();
}
示例13: InitializeComponents
AppMainWindow::AppMainWindow(AppController* controller)
{
mController = controller;
InitializeComponents ();
}
示例14: InitializeComponents
ListViewColumnHeaderTemplate::ListViewColumnHeaderTemplate()
{
InitializeComponents();
}
示例15: InitializeComponents
TabTemplate::TabTemplate()
{
InitializeComponents();
}