Files
itgmania212121/stepmania/src/ScreenOptionsEditCourse.h
T

58 lines
2.1 KiB
C++
Raw Normal View History

2005-07-29 02:23:02 +00:00
#ifndef ScreenOptionsEditCourse_H
#define ScreenOptionsEditCourse_H
2005-06-25 01:58:14 +00:00
2005-08-01 05:12:06 +00:00
#include "ScreenOptionsManageCourses.h"
2005-06-28 08:11:30 +00:00
#include "Course.h"
2005-06-25 01:58:14 +00:00
2005-08-01 05:12:06 +00:00
class ScreenOptionsEditCourse : public ScreenOptionsEditCourseSubMenu
2005-06-25 01:58:14 +00:00
{
public:
2005-07-29 02:23:02 +00:00
ScreenOptionsEditCourse( CString sName );
2005-06-25 01:58:14 +00:00
void Init();
2005-07-29 02:23:02 +00:00
virtual void BeginScreen();
2005-06-25 01:58:14 +00:00
virtual void HandleScreenMessage( const ScreenMessage SM );
2005-06-26 21:31:07 +00:00
protected:
2005-07-13 19:01:42 +00:00
virtual void ImportOptions( int iRow, const vector<PlayerNumber> &vpns );
virtual void ExportOptions( int iRow, const vector<PlayerNumber> &vpns );
2005-06-25 01:58:14 +00:00
2005-07-30 04:50:17 +00:00
virtual void AfterChangeRow( PlayerNumber pn );
2005-08-01 05:12:06 +00:00
virtual void AfterChangeValueInRow( int iRow, PlayerNumber pn );
virtual void ProcessMenuStart( const InputEventPlus &input );
2005-06-28 08:11:30 +00:00
2005-07-29 02:23:02 +00:00
int GetCourseEntryIndexWithFocus() const;
2005-06-28 08:11:30 +00:00
Course m_Original;
vector<Song*> m_vpDisplayedSongs; // corresponds with the choices in the Entry row
2005-06-25 01:58:14 +00:00
};
#endif
/*
* (c) 2003-2004 Chris Danford
* All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, and/or sell copies of the Software, and to permit persons to
* whom the Software is furnished to do so, provided that the above
* copyright notice(s) and this permission notice appear in all copies of
* the Software and that both the above copyright notice(s) and this
* permission notice appear in supporting documentation.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT
* OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
* OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/