Cleanup: indentation of public/protected/private keywords

This commit is contained in:
Twan van Laarhoven
2020-05-12 21:57:37 +02:00
parent 86aec577a2
commit 0c3712b61a
167 changed files with 751 additions and 752 deletions
+6 -6
View File
@@ -16,7 +16,7 @@
/// A list of installed and downloadable packages
class PackageUpdateList : public TreeList {
public:
public:
PackageUpdateList(Window* parent, const InstallablePackages& packages, bool show_only_installable, int id = wxID_ANY);
~PackageUpdateList();
@@ -28,7 +28,7 @@ class PackageUpdateList : public TreeList {
return static_pointer_cast<TreeItem>(items[item])->package;
}
protected:
protected:
// overridden methods from TreeList
virtual void initItems();
virtual void drawItem(DC& dc, size_t index, size_t column, int x, int y, bool selected) const;
@@ -37,18 +37,18 @@ class PackageUpdateList : public TreeList {
virtual String columnText(size_t column) const;
virtual int columnWidth(size_t column) const;
private:
private:
/// The list of packages we are displaying
const InstallablePackages& packages;
/// Show only packages with an installer?
bool show_only_installable;
class TreeItem;
public:
public:
typedef intrusive_ptr<TreeItem> TreeItemP;
private:
private:
class TreeItem : public Item {
public:
public:
TreeItem() : position_type(TYPE_OTHER), position_hint(1000000) {}
String label;
vector<TreeItemP> children;