big checkin - new noteskin format and XY positioning. I probably broke a lot of things.

This commit is contained in:
Chris Danford
2002-08-13 23:26:46 +00:00
parent 9346564080
commit 7c1bfb3a0d
133 changed files with 4813 additions and 2626 deletions
+11 -7
View File
@@ -1,26 +1,30 @@
#include "stdafx.h"
/*
-----------------------------------------------------------------------------
File: TextBanner.h
Class: TextBanner
Desc: The song's TextBanner displayed in SelectSong.
Desc: See header.
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
Chris Danford
-----------------------------------------------------------------------------
*/
#include "RageUtil.h"
#include "TextBanner.h"
#include "RageUtil.h"
#include "Song.h"
#include "PrefsManager.h"
const float TEXT_BANNER_WIDTH = 180;
const float TEXT_BANNER_HEIGHT = 40;
TextBanner::TextBanner()
{
m_textTitle.Load( THEME->GetPathTo(FONT_TEXT_BANNER) );
m_textSubTitle.Load( THEME->GetPathTo(FONT_TEXT_BANNER) );
m_textArtist.Load( THEME->GetPathTo(FONT_TEXT_BANNER) );
m_textTitle.LoadFromFont( THEME->GetPathTo("Fonts","text banner") );
m_textSubTitle.LoadFromFont( THEME->GetPathTo("Fonts","text banner") );
m_textArtist.LoadFromFont( THEME->GetPathTo("Fonts","text banner") );
m_textTitle.SetX( -TEXT_BANNER_WIDTH/2 );
m_textSubTitle.SetX( -TEXT_BANNER_WIDTH/2 );