add half-finished screen centering code (necessary for arcade and Xbox)

This commit is contained in:
Chris Danford
2003-10-11 06:37:45 +00:00
parent 24922fb3d7
commit e2afe920dd
2 changed files with 162 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
/*
-----------------------------------------------------------------------------
Class: ScreenCenterImage
Desc: Where the player maps device input to instrument buttons.
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
Chris Danford
-----------------------------------------------------------------------------
*/
#include "Screen.h"
#include "Sprite.h"
#include "BitmapText.h"
#include "PrefsManager.h"
#include "GrayArrow.h"
#include "InputMapper.h"
#include "MenuElements.h"
#include "RageInputDevice.h"
class ScreenCenterImage : public Screen
{
public:
ScreenCenterImage( CString sName );
virtual ~ScreenCenterImage();
virtual void Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI );
virtual void HandleScreenMessage( const ScreenMessage SM );
void DrawPrimitives();
private:
BitmapText m_textInstructions;
MenuElements m_Menu;
};