mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
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:
@@ -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);
|
||||
|
||||
@@ -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).
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user