mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 13:17:00 -04:00
Implemented CardsPanel with just a CardList for now
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@42 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
+4
-2
@@ -26,7 +26,7 @@ class Field {
|
||||
Field();
|
||||
virtual ~Field();
|
||||
|
||||
UInt index; ///< Used by IndexMap
|
||||
size_t index; ///< Used by IndexMap
|
||||
String name; ///< Name of the field, for refering to it from scripts and files
|
||||
String description; ///< Description, used in status bar
|
||||
bool editable; ///< Can values of this field be edited?
|
||||
@@ -56,7 +56,9 @@ class Field {
|
||||
|
||||
template <>
|
||||
shared_ptr<Field> read_new<Field>(Reader& reader);
|
||||
|
||||
inline void update_index(FieldP& f, size_t index) {
|
||||
f->index = index;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------- : Style
|
||||
|
||||
|
||||
Reference in New Issue
Block a user