2005-07-29 02:23:02 +00:00
|
|
|
#ifndef ScreenOptionsEditCourseEntry_H
|
|
|
|
|
#define ScreenOptionsEditCourseEntry_H
|
2005-06-26 21:31:07 +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-07-30 19:34:23 +00:00
|
|
|
class Song;
|
2005-06-26 21:31:07 +00:00
|
|
|
|
2006-01-18 01:34:45 +00:00
|
|
|
class OptionRowHandler;
|
|
|
|
|
class OptionRowHandlerSongChoices;
|
2005-08-01 05:12:06 +00:00
|
|
|
class ScreenOptionsEditCourseEntry : public ScreenOptionsEditCourseSubMenu
|
2005-06-26 21:31:07 +00:00
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
void Init();
|
2005-07-30 04:50:17 +00:00
|
|
|
void BeginScreen();
|
2005-06-26 21:31:07 +00:00
|
|
|
|
|
|
|
|
virtual void HandleScreenMessage( const ScreenMessage SM );
|
|
|
|
|
|
|
|
|
|
protected:
|
2006-01-18 01:34:45 +00:00
|
|
|
OptionRowHandler *m_pModChangesHandler;
|
|
|
|
|
OptionRowHandlerSongChoices *m_pSongHandler;
|
2005-07-30 19:34:23 +00:00
|
|
|
|
|
|
|
|
virtual void ImportOptions( int iRow, const vector<PlayerNumber> &vpns );
|
2005-07-13 19:01:42 +00:00
|
|
|
virtual void ExportOptions( int iRow, const vector<PlayerNumber> &vpns );
|
2005-06-26 21:31:07 +00:00
|
|
|
|
2005-07-30 19:34:23 +00:00
|
|
|
virtual void AfterChangeValueInRow( int iRow, PlayerNumber pn );
|
2005-09-23 00:44:52 +00:00
|
|
|
virtual void ProcessMenuStart( const InputEventPlus &input );
|
2005-06-28 08:11:30 +00:00
|
|
|
|
2005-07-30 19:34:23 +00:00
|
|
|
CourseEntry m_Original; // use this to revert when cancelling
|
2006-03-18 11:13:22 +00:00
|
|
|
Song *m_pLongSong;
|
2006-03-10 22:29:05 +00:00
|
|
|
ThemeMetric<bool> SHOW_MODS_ROW;
|
2005-06-26 21:31:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/*
|
2006-03-10 22:29:05 +00:00
|
|
|
* (c) 2003-2006 Chris Danford, Steve Checkoway
|
2005-06-26 21:31:07 +00:00
|
|
|
* 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.
|
|
|
|
|
*/
|