void CKSSplashScreen::Initialize() { CBasePane* pPane = new CKSSplashScreenPane(NULL, dynamic_cast<CBaseGUI*>(this)); pPane->Init(); SetPane(pPane); // This is the top pane, so set it in window mpWindow->SetPane(pPane->GetPane()); ConnectControls(); }
void CVST2KSPIGUI::Initialize() { if (mpVSTEffect == NULL) { mpVSTEffect = dynamic_cast<CVST2KSPIPlugIn*>(GetPlugIn())->GetEffect(); } // Kindof a hack needed to make it possible to override from both gui and pane CBasePane::mpResMan = CBaseGUI::GetResMan(); // Create the main pane CBasePane::mpPane = ge::IPane::Create(); ConnectControls(); }
void CKSExportGUI::Initialize() { mpWindow->SetFineAdjustModifier(ge::IWindow::ModifierControl); CBasePane* pPane = new CKSExportGUIPane(NULL, dynamic_cast<CBaseGUI*>(this)); pPane->Init(); SetPane(pPane); // This is the top pane, so set it in window mpWindow->SetPane(pPane->GetPane()); ConnectControls(); //#ifdef WIN32 mpContext->SetMinWindowSize(mpWindow, ge::SSize(386,242)); mpContext->SetMaxWindowSize(mpWindow, ge::SSize(386,242)); //#endif // WIN32 }