Skip to content

Commit 5e6f6bb

Browse files
committed
Added virtual keyword member function 'InitPanel'.
1 parent d949582 commit 5e6f6bb

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

Core/Tools/ParticleEditor/EmissionTypePanels.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class EmissionPanelPoint : public ISwapablePanel
5151
virtual DWORD GetIDD() override { return IDD; }
5252
EmissionPanelPoint(UINT nIDTemplate = EmissionPanelPoint::IDD, CWnd* pParentWnd = nullptr);
5353

54-
void InitPanel() override;
54+
virtual void InitPanel() override;
5555

5656
// if true, updates the UI from the Particle System.
5757
// if false, updates the Particle System from the UI
@@ -69,7 +69,7 @@ class EmissionPanelLine : public ISwapablePanel
6969
virtual DWORD GetIDD() override { return IDD; }
7070
EmissionPanelLine(UINT nIDTemplate = EmissionPanelLine::IDD, CWnd* pParentWnd = nullptr);
7171

72-
void InitPanel() override;
72+
virtual void InitPanel() override;
7373

7474
// if true, updates the UI from the Particle System.
7575
// if false, updates the Particle System from the UI
@@ -87,7 +87,7 @@ class EmissionPanelBox : public ISwapablePanel
8787
virtual DWORD GetIDD() override { return IDD; }
8888
EmissionPanelBox(UINT nIDTemplate = EmissionPanelBox::IDD, CWnd* pParentWnd = nullptr);
8989

90-
void InitPanel() override;
90+
virtual void InitPanel() override;
9191

9292
// if true, updates the UI from the Particle System.
9393
// if false, updates the Particle System from the UI
@@ -105,7 +105,7 @@ class EmissionPanelSphere : public ISwapablePanel
105105
virtual DWORD GetIDD() override { return IDD; }
106106
EmissionPanelSphere(UINT nIDTemplate = EmissionPanelSphere::IDD, CWnd* pParentWnd = nullptr);
107107

108-
void InitPanel() override;
108+
virtual void InitPanel() override;
109109

110110
// if true, updates the UI from the Particle System.
111111
// if false, updates the Particle System from the UI
@@ -123,7 +123,7 @@ class EmissionPanelCylinder : public ISwapablePanel
123123
virtual DWORD GetIDD() override { return IDD; }
124124
EmissionPanelCylinder(UINT nIDTemplate = EmissionPanelCylinder::IDD, CWnd* pParentWnd = nullptr);
125125

126-
void InitPanel() override;
126+
virtual void InitPanel() override;
127127

128128
// if true, updates the UI from the Particle System.
129129
// if false, updates the Particle System from the UI

Core/Tools/ParticleEditor/ParticleTypePanels.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class ParticlePanelParticle : public ISwapablePanel
5050
virtual DWORD GetIDD() override { return IDD; }
5151
ParticlePanelParticle(UINT nIDTemplate = ParticlePanelParticle::IDD, CWnd* pParentWnd = nullptr);
5252

53-
void InitPanel() override;
53+
virtual void InitPanel() override;
5454

5555
// if true, updates the UI from the Particle System.
5656
// if false, updates the Particle System from the UI
@@ -68,7 +68,7 @@ class ParticlePanelDrawable : public ISwapablePanel
6868
virtual DWORD GetIDD() override { return IDD; }
6969
ParticlePanelDrawable(UINT nIDTemplate = ParticlePanelDrawable::IDD, CWnd* pParentWnd = nullptr);
7070

71-
void InitPanel() override;
71+
virtual void InitPanel() override;
7272
void clearAllThingTemplates();
7373

7474
// if true, updates the UI from the Particle System.
@@ -87,7 +87,7 @@ class ParticlePanelStreak : public ParticlePanelParticle
8787
virtual DWORD GetIDD() override { return IDD; }
8888
ParticlePanelStreak(UINT nIDTemplate = ParticlePanelStreak::IDD, CWnd* pParentWnd = nullptr);
8989

90-
void InitPanel() override;
90+
virtual void InitPanel() override;
9191

9292
// if true, updates the UI from the Particle System.
9393
// if false, updates the Particle System from the UI

Core/Tools/ParticleEditor/VelocityTypePanels.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class VelocityPanelOrtho : public ISwapablePanel
5151
virtual DWORD GetIDD() override { return IDD; }
5252
VelocityPanelOrtho(UINT nIDTemplate = VelocityPanelOrtho::IDD, CWnd* pParentWnd = nullptr);
5353

54-
void InitPanel() override;
54+
virtual void InitPanel() override;
5555

5656
// if true, updates the UI from the Particle System.
5757
// if false, updates the Particle System from the UI
@@ -69,7 +69,7 @@ class VelocityPanelSphere : public ISwapablePanel
6969
virtual DWORD GetIDD() override { return IDD; }
7070
VelocityPanelSphere(UINT nIDTemplate = VelocityPanelSphere::IDD, CWnd* pParentWnd = nullptr);
7171

72-
void InitPanel() override;
72+
virtual void InitPanel() override;
7373

7474
// if true, updates the UI from the Particle System.
7575
// if false, updates the Particle System from the UI
@@ -87,7 +87,7 @@ class VelocityPanelHemisphere : public ISwapablePanel
8787
virtual DWORD GetIDD() override { return IDD; }
8888
VelocityPanelHemisphere(UINT nIDTemplate = VelocityPanelHemisphere::IDD, CWnd* pParentWnd = nullptr);
8989

90-
void InitPanel() override;
90+
virtual void InitPanel() override;
9191

9292
// if true, updates the UI from the Particle System.
9393
// if false, updates the Particle System from the UI
@@ -105,7 +105,7 @@ class VelocityPanelCylinder : public ISwapablePanel
105105
virtual DWORD GetIDD() override { return IDD; }
106106
VelocityPanelCylinder(UINT nIDTemplate = VelocityPanelCylinder::IDD, CWnd* pParentWnd = nullptr);
107107

108-
void InitPanel() override;
108+
virtual void InitPanel() override;
109109

110110
// if true, updates the UI from the Particle System.
111111
// if false, updates the Particle System from the UI
@@ -123,7 +123,7 @@ class VelocityPanelOutward : public ISwapablePanel
123123
virtual DWORD GetIDD() override { return IDD; }
124124
VelocityPanelOutward(UINT nIDTemplate = VelocityPanelOutward::IDD, CWnd* pParentWnd = nullptr);
125125

126-
void InitPanel() override;
126+
virtual void InitPanel() override;
127127

128128
// if true, updates the UI from the Particle System.
129129
// if false, updates the Particle System from the UI

0 commit comments

Comments
 (0)