summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-17 21:45:17 +0000
committerDana Jansens <danakj@orodu.net>2003-02-17 21:45:17 +0000
commit59d5199828412c66a06cf2523d2bf1d6a7a12f65 (patch)
treea8b8f46ef4c046e1dbf5f157b87d0cbfd55cd8a3
parentb9a7d8f9eada3be4083d27892ceda30e3a7dfd7f (diff)
rename getRenderControl to the more precise createRenderControl
-rw-r--r--otk/display.cc2
-rw-r--r--otk/rendercontrol.cc2
-rw-r--r--otk/rendercontrol.hh2
3 files changed, 3 insertions, 3 deletions
diff --git a/otk/display.cc b/otk/display.cc
index 87794f44..9817b81b 100644
--- a/otk/display.cc
+++ b/otk/display.cc
@@ -165,7 +165,7 @@ DISPLAY environment variable approriately.\n\n"));
_rendercontrol_list = new RenderControl*[ScreenCount(_display)];
for (int i = 0; i < ScreenCount(_display); ++i) {
_screeninfo_list[i] = new ScreenInfo(i);
- _rendercontrol_list[i] = RenderControl::getRenderControl(i);
+ _rendercontrol_list[i] = RenderControl::createRenderControl(i);
}
}
diff --git a/otk/rendercontrol.cc b/otk/rendercontrol.cc
index bf48d58a..6aefb8d5 100644
--- a/otk/rendercontrol.cc
+++ b/otk/rendercontrol.cc
@@ -32,7 +32,7 @@ extern "C" {
namespace otk {
-RenderControl *RenderControl::getRenderControl(int screen)
+RenderControl *RenderControl::createRenderControl(int screen)
{
// get the visual on the screen and return the correct type of RenderControl
int vclass = display->screenInfo(screen)->visual()->c_class;
diff --git a/otk/rendercontrol.hh b/otk/rendercontrol.hh
index ff9d313d..fa07cf51 100644
--- a/otk/rendercontrol.hh
+++ b/otk/rendercontrol.hh
@@ -46,7 +46,7 @@ protected:
public:
virtual ~RenderControl();
- static RenderControl *getRenderControl(int screen);
+ static RenderControl *createRenderControl(int screen);
//! Draws a background onto a Surface, as specified by a RenderTexture
/*!