]> Dogcows Code - chaz/openbox/commitdiff
rename getRenderControl to the more precise createRenderControl
authorDana Jansens <danakj@orodu.net>
Mon, 17 Feb 2003 21:45:17 +0000 (21:45 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 17 Feb 2003 21:45:17 +0000 (21:45 +0000)
otk/display.cc
otk/rendercontrol.cc
otk/rendercontrol.hh

index 87794f441697fbdde9428c2b0d77223bd7951b0e..9817b81bc43621c34daef85c7c5e224797e2b9fe 100644 (file)
@@ -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);
   }
 }
 
index bf48d58abc4216d9232a736a5cb472c93cb7f15d..6aefb8d57c9eab8b4ce39066dbfc621d690c123b 100644 (file)
@@ -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;
index ff9d313dd41aec0b581c2c74e8ba04e0156f944e..fa07cf517f372f42831827cda8659d18b30b4016 100644 (file)
@@ -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
   /*!
This page took 0.024748 seconds and 4 git commands to generate.