mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 13:37:00 -04:00
separate short_name for packages, moved full_name,short_name and icon_filename to Packaged
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@173 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#include <util/prec.hpp>
|
||||
#include <gui/control/gallery_list.hpp>
|
||||
|
||||
DECLARE_POINTER_TYPE(Package);
|
||||
DECLARE_POINTER_TYPE(Packaged);
|
||||
|
||||
// ----------------------------------------------------------------------------- : PackageList
|
||||
|
||||
@@ -59,9 +59,9 @@ class PackageList : public GalleryList {
|
||||
// Information about a package
|
||||
struct PackageData {
|
||||
PackageData() {}
|
||||
PackageData(const PackageP& package, const Bitmap& image) : package(package), image(image) {}
|
||||
PackageP package;
|
||||
Bitmap image;
|
||||
PackageData(const PackagedP& package, const Bitmap& image) : package(package), image(image) {}
|
||||
PackagedP package;
|
||||
Bitmap image;
|
||||
};
|
||||
/// The displayed packages
|
||||
vector<PackageData> packages;
|
||||
|
||||
Reference in New Issue
Block a user