GenericTiledMap::Layer::Layer(const int map_width, const int map_height) { opacity = 0.0f; visible = true; v_tiles.clear(); resetDimensions(map_width, map_height); }
void MythSqueezeDisplay::Init(void) { resetDimensions(); connect( &scrollTimer, SIGNAL( timeout() ), this, SLOT(slotUpdateScrollOffset()) ); connect( vertTransTimer, SIGNAL(frameChanged(int)), this, SLOT(slotUpdateTransition(int))); connect( horzTransTimer, SIGNAL(frameChanged(int)), this, SLOT(slotUpdateTransition(int))); connect( bumpTransTimer, SIGNAL(frameChanged(int)), this, SLOT(slotUpdateTransition(int))); connect( vertTransTimer, SIGNAL(finished()), this, SLOT(slotTransitionFinished())); connect( horzTransTimer, SIGNAL(finished()), this, SLOT(slotTransitionFinished())); connect( bumpTransTimer, SIGNAL(finished()), this, SLOT(slotTransitionFinished())); }