Code cleanup

This commit is contained in:
spx 2013-02-26 03:57:37 +09:00
parent 091a185e51
commit 533d53e446
3 changed files with 2 additions and 4 deletions

View File

@ -81,8 +81,6 @@ public:
const std::wstring& GetOnChangeAction() { return m_OnChangeAction; } const std::wstring& GetOnChangeAction() { return m_OnChangeAction; }
void DoChangeAction(bool execute = true); void DoChangeAction(bool execute = true);
CMeterWindow* GetMeterWindow() { return m_MeterWindow; }
static CMeasure* Create(const WCHAR* measure, CMeterWindow* meterWindow, const WCHAR* name); static CMeasure* Create(const WCHAR* measure, CMeterWindow* meterWindow, const WCHAR* name);
protected: protected:

View File

@ -76,8 +76,6 @@ public:
void SetMouseOver(bool over) { m_MouseOver = over; } void SetMouseOver(bool over) { m_MouseOver = over; }
bool IsMouseOver() { return m_MouseOver; } bool IsMouseOver() { return m_MouseOver; }
CMeterWindow* GetMeterWindow() { return m_MeterWindow; }
static CMeter* Create(const WCHAR* meter, CMeterWindow* meterWindow, const WCHAR* name); static CMeter* Create(const WCHAR* meter, CMeterWindow* meterWindow, const WCHAR* name);
static void DrawBevel(Gdiplus::Graphics& graphics, const Gdiplus::Rect& rect, const Gdiplus::Pen& light, const Gdiplus::Pen& dark); static void DrawBevel(Gdiplus::Graphics& graphics, const Gdiplus::Rect& rect, const Gdiplus::Pen& light, const Gdiplus::Pen& dark);

View File

@ -46,6 +46,8 @@ public:
const std::wstring& GetOnUpdateAction() { return m_OnUpdateAction; } const std::wstring& GetOnUpdateAction() { return m_OnUpdateAction; }
void DoUpdateAction(); void DoUpdateAction();
CMeterWindow* GetMeterWindow() { return m_MeterWindow; }
protected: protected:
CSection(CMeterWindow* meterWindow, const WCHAR* name); CSection(CMeterWindow* meterWindow, const WCHAR* name);