mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 21:27:01 -04:00
PackagesWindow can show just the packages from an installer.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@905 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
/// A list of installed and downloadable packages
|
||||
class PackageUpdateList : public TreeList {
|
||||
public:
|
||||
PackageUpdateList(Window* parent, const InstallablePackages& packages, int id = wxID_ANY);
|
||||
PackageUpdateList(Window* parent, const InstallablePackages& packages, bool show_only_installable, int id = wxID_ANY);
|
||||
~PackageUpdateList();
|
||||
|
||||
inline InstallablePackageP getSelection() const {
|
||||
@@ -39,7 +39,10 @@ class PackageUpdateList : public TreeList {
|
||||
virtual int columnWidth(size_t column) const;
|
||||
|
||||
private:
|
||||
/// The list of packages we are displaying
|
||||
const InstallablePackages& packages;
|
||||
/// Show only packages with an installer?
|
||||
bool show_only_installable;
|
||||
|
||||
class TreeItem;
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user