the various changes that I forgot to commit (cleanup and so forth) into hg,

culminating in syncing with sm-ssc v1.0 public beta 2
This commit is contained in:
AJ Kelly
2010-03-31 17:37:09 -05:00
parent b279635401
commit 642f4b107c
80 changed files with 1200 additions and 918 deletions
+6 -6
View File
@@ -14,10 +14,10 @@ struct ConfOption
{
static ConfOption *Find( RString name );
/* Name of this option. */
// Name of this option.
RString name;
/* Name of the preference this option affects. */
// Name of the preference this option affects.
RString m_sPrefName;
typedef void (*MoveData_t)( int &sel, bool ToSel, const ConfOption *pConfOption );
@@ -25,12 +25,12 @@ struct ConfOption
int m_iEffects;
bool m_bAllowThemeItems;
/* For dynamic options, update the options. Since this changes the available
/* For dynamic options, update the options. Since this changes the available
* options, this may invalidate the offsets returned by Get() and Put(). */
void UpdateAvailableOptions();
/* Return the list of available selections; Get() and Put() use indexes into this
* array. UpdateAvailableOptions() should be called before using this. */
/* Return the list of available selections; Get() and Put() use indexes into
* this array. UpdateAvailableOptions() should be called before using this. */
void MakeOptionsList( vector<RString> &out ) const;
inline int Get() const { int sel; MoveData( sel, true, this ); return sel; }
@@ -59,7 +59,7 @@ struct ConfOption
MoveData = m;
MakeOptionsListCB = lst;
m_iEffects = 0;
m_bAllowThemeItems = false; // don't theme dynamic choices
m_bAllowThemeItems = false; // don't theme dynamic choices
}