move OptionRowDefinition into OptionRowHandler

(want OptionRowHandler to be easily usable without OptionRow; ORH is
really part of ORD, not OptionRow)
This commit is contained in:
Glenn Maynard
2006-09-01 04:37:39 +00:00
parent 3f468cb30a
commit e6d1712c27
4 changed files with 89 additions and 87 deletions
+1 -15
View File
@@ -11,21 +11,6 @@
#include "Style.h"
#include "ActorUtil.h"
static const char *SelectTypeNames[] = {
"SelectOne",
"SelectMultiple",
"SelectNone",
};
XToString( SelectType, NUM_SELECT_TYPES );
StringToX( SelectType );
static const char *LayoutTypeNames[] = {
"ShowAllInRow",
"ShowOneInRow",
};
XToString( LayoutType, NUM_LAYOUT_TYPES );
StringToX( LayoutType );
const RString NEXT_ROW_NAME = "NextRow";
const RString EXIT_NAME = "Exit";
@@ -804,6 +789,7 @@ void OptionRow::SetChoiceInRowWithFocus( PlayerNumber pn, int iChoice )
m_iChoiceInRowWithFocus[pn] = iChoice;
UpdateText( pn );
//PositionUnderlines( pn );
}
void OptionRow::ResetFocusFromSelection( PlayerNumber pn )