CComponents: inherit COSDFader class

Allows a simplified implementation without prior declaration and
initialisation
This commit is contained in:
2014-05-30 21:53:29 +02:00
committed by svenhoefer
parent c41b4fd015
commit 53cf57876c
2 changed files with 3 additions and 3 deletions

View File

@@ -35,7 +35,7 @@
using namespace std;
//abstract basic class CComponents
CComponents::CComponents()
CComponents::CComponents() : COSDFader(g_settings.menu_Content_alpha)
{
x = saved_screen.x = 0;
y = saved_screen.y = 0;