mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-13 12:46:09 +00:00
RuntimeCommonB: Use the override specifier where applicable
Applies the override keyword where applicable to indicate visually where member function overriding is occurring. This only targets the RuntimeCommonB target as a starting point, which resolves around 900+ cases where the keyword could be used.
This commit is contained in:
@@ -15,14 +15,14 @@ class CAuiMeter : public CGuiGroup {
|
||||
|
||||
public:
|
||||
CAuiMeter(const CGuiWidgetParms& parms, bool noRoundUp, u32 maxCapacity, u32 workerCount);
|
||||
FourCC GetWidgetTypeID() const { return FOURCC('METR'); }
|
||||
FourCC GetWidgetTypeID() const override { return FOURCC('METR'); }
|
||||
|
||||
void OnVisibleChange();
|
||||
void OnVisibleChange() override;
|
||||
void SetCurrValue(s32 val);
|
||||
void SetCapacity(s32 cap);
|
||||
void SetMaxCapacity(s32 cap);
|
||||
CGuiWidget* GetWorkerWidget(int id) const;
|
||||
bool AddWorkerWidget(CGuiWidget* worker);
|
||||
CGuiWidget* GetWorkerWidget(int id) const override;
|
||||
bool AddWorkerWidget(CGuiWidget* worker) override;
|
||||
|
||||
static std::shared_ptr<CGuiWidget> Create(CGuiFrame* frame, CInputStream& in, CSimplePool* sp);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user