Reordered the magic statistics panel

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@717 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-09-20 19:01:17 +00:00
parent 1f3f4e01fe
commit 1dabc07979
6 changed files with 44 additions and 46 deletions
+2
View File
@@ -26,6 +26,7 @@ Field::Field()
, editable (true)
, save_value (true)
, show_statistics (true)
, position_hint (0)
, identifying (false)
, card_list_column (100)
, card_list_width (100)
@@ -53,6 +54,7 @@ IMPLEMENT_REFLECTION(Field) {
REFLECT(editable);
REFLECT(save_value);
REFLECT(show_statistics);
REFLECT(position_hint);
REFLECT(identifying);
REFLECT(card_list_column);
REFLECT(card_list_width);
+1
View File
@@ -47,6 +47,7 @@ class Field : public IntrusivePtrVirtualBase {
bool editable; ///< Can values of this field be edited?
bool save_value; ///< Should values of this field be written to files? Can be false for script generated fields.
bool show_statistics; ///< Should this field appear as a group by choice in the statistics panel?
int position_hint; ///< Position in the statistics list
bool identifying; ///< Does this field give Card::identification()?
int card_list_column; ///< What column to use in the card list?
UInt card_list_width; ///< Width of the card list column (pixels).
+1 -1
View File
@@ -30,7 +30,7 @@ StatsDimension::StatsDimension(const Field& field)
: automatic (true)
, name (field.name)
, description (field.description)
, position_hint(0)
, position_hint(field.position_hint)
, icon_filename(field.icon_filename)
, numeric (false)
, show_empty (false)