From 533d53e446e8d2c3ff51b7f632597bf2a09b64e0 Mon Sep 17 00:00:00 2001 From: spx Date: Tue, 26 Feb 2013 03:57:37 +0900 Subject: [PATCH] Code cleanup --- Library/Measure.h | 2 -- Library/Meter.h | 2 -- Library/Section.h | 2 ++ 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Library/Measure.h b/Library/Measure.h index 0cec2143..5eb99235 100644 --- a/Library/Measure.h +++ b/Library/Measure.h @@ -81,8 +81,6 @@ public: const std::wstring& GetOnChangeAction() { return m_OnChangeAction; } void DoChangeAction(bool execute = true); - CMeterWindow* GetMeterWindow() { return m_MeterWindow; } - static CMeasure* Create(const WCHAR* measure, CMeterWindow* meterWindow, const WCHAR* name); protected: diff --git a/Library/Meter.h b/Library/Meter.h index 547516a7..987bb4fb 100644 --- a/Library/Meter.h +++ b/Library/Meter.h @@ -76,8 +76,6 @@ public: void SetMouseOver(bool over) { m_MouseOver = over; } bool IsMouseOver() { return m_MouseOver; } - CMeterWindow* GetMeterWindow() { return m_MeterWindow; } - 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); diff --git a/Library/Section.h b/Library/Section.h index addbd4ba..8b6380aa 100644 --- a/Library/Section.h +++ b/Library/Section.h @@ -46,6 +46,8 @@ public: const std::wstring& GetOnUpdateAction() { return m_OnUpdateAction; } void DoUpdateAction(); + CMeterWindow* GetMeterWindow() { return m_MeterWindow; } + protected: CSection(CMeterWindow* meterWindow, const WCHAR* name);