summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuo Jinghua <sunmoon1997@gmail.com>2011-11-13 15:42:16 +0800
committerLuo Jinghua <sunmoon1997@gmail.com>2011-11-13 15:42:16 +0800
commit0d04c3e132fd12fa0ef29138daf11f540c0ffa81 (patch)
tree0f11649e6d057ba9d2a556b94816190b291168da
parent494e2c662c9a6672b222540530fd0ba5f4eb6089 (diff)
SexyAppFramework: Rename WidgetContainer::DrawOther() to DrawPost()
-rw-r--r--osframework/source/SexyAppFramework/Widget.cpp2
-rw-r--r--osframework/source/SexyAppFramework/Widget.h2
-rw-r--r--osframework/source/SexyAppFramework/WidgetContainer.cpp6
-rw-r--r--osframework/source/SexyAppFramework/WidgetContainer.h2
4 files changed, 6 insertions, 6 deletions
diff --git a/osframework/source/SexyAppFramework/Widget.cpp b/osframework/source/SexyAppFramework/Widget.cpp
index 7652cce..0a35129 100644
--- a/osframework/source/SexyAppFramework/Widget.cpp
+++ b/osframework/source/SexyAppFramework/Widget.cpp
@@ -117,7 +117,7 @@ void Widget::DrawFocused(Graphics* g) // Already translated
#endif
}
-void Widget::DrawOther(Graphics* g) // Already translated
+void Widget::DrawPost(Graphics* g) // Already translated
{
DrawFocused(g);
}
diff --git a/osframework/source/SexyAppFramework/Widget.h b/osframework/source/SexyAppFramework/Widget.h
index b2ea48c..aafa191 100644
--- a/osframework/source/SexyAppFramework/Widget.h
+++ b/osframework/source/SexyAppFramework/Widget.h
@@ -82,7 +82,7 @@ public:
virtual void Move(int theNewX, int theNewY);
virtual bool WantsFocus();
virtual void Draw(Graphics* g); // Already translated
- virtual void DrawOther(Graphics* g); // Already translated
+ virtual void DrawPost(Graphics* g); // Already translated
virtual void DrawFocused(Graphics* g);
virtual void DrawOverlay(Graphics* g);
virtual void DrawOverlay(Graphics* g, int thePriority);
diff --git a/osframework/source/SexyAppFramework/WidgetContainer.cpp b/osframework/source/SexyAppFramework/WidgetContainer.cpp
index 4a40099..59d8172 100644
--- a/osframework/source/SexyAppFramework/WidgetContainer.cpp
+++ b/osframework/source/SexyAppFramework/WidgetContainer.cpp
@@ -599,7 +599,7 @@ void WidgetContainer::Draw(Graphics* g)
{
}
-void WidgetContainer::DrawOther(Graphics* g)
+void WidgetContainer::DrawPost(Graphics* g)
{
}
@@ -618,7 +618,7 @@ void WidgetContainer::DrawAll(ModalFlags* theFlags, Graphics* g)
if (theFlags->GetFlags() & WIDGETFLAGS_DRAW)
{
Draw(g);
- DrawOther(g);
+ DrawPost(g);
}
return;
}
@@ -627,7 +627,7 @@ void WidgetContainer::DrawAll(ModalFlags* theFlags, Graphics* g)
{
g->PushState();
Draw(g);
- DrawOther(g);
+ DrawPost(g);
g->PopState();
}
diff --git a/osframework/source/SexyAppFramework/WidgetContainer.h b/osframework/source/SexyAppFramework/WidgetContainer.h
index b1234db..3d90107 100644
--- a/osframework/source/SexyAppFramework/WidgetContainer.h
+++ b/osframework/source/SexyAppFramework/WidgetContainer.h
@@ -81,7 +81,7 @@ public:
virtual void UpdateF(float theFrac);
virtual void UpdateFAll(ModalFlags* theFlags, float theFrac);
virtual void Draw(Graphics* g);
- virtual void DrawOther(Graphics* g);
+ virtual void DrawPost(Graphics* g);
virtual void DrawAll(ModalFlags* theFlags, Graphics* g);
virtual void SysColorChangedAll();
virtual void SysColorChanged();