I'd like to create a pop-up window occupying only part of the screen, with parts of main window visible.
Using a separate Screen only allows overdrawing the whole screen, which is not what I need.
I tried using showOverlay(), but it looks undocumented, and works terribly slow - 1-2 seconds on emulator and 5-6 seconds on the phone (Sony Ericsson C702). Is it normal or I'm doing something wrong?
Are there any other ways to achieve my goal?
I'm using MoSync 2.3B r767.
{
lprintfln("will return");
return;
}
lprintfln("will cont");
gScreen = new MAUI::Screen();
gWidget = new ScreenTransition();
gScreen->setMain(gWidget);
gWidget->fromMainWidget = fromScreen->getMain();
gWidget->toScreen = toScreen;
gWidget->toMainWidget = toScreen->getMain();
gWidget->direction = direction;
gWidget->duration = duration;
gWidget->start_time = maGetMilliSecondCount();
gWidget->updateAlpha(gWidget->start_time);
currentType = type;
// This will tell the widget to fix stuff before being drawn
gWidget->toMainWidget->update();
gScreen->show();
MAUtil::Environment::getEnvironment().addTimer(gWidget, 20, -1);
}