Commit c4238254 authored by Mathieu Malaterre's avatar Mathieu Malaterre

FIX: - Warnings about SetPosition (shadow)

- Warnings about SetSize(int*) (also shadow)
parent 3d49b845
......@@ -28,7 +28,7 @@
#include <math.h>
vtkCxxRevisionMacro(vtkCarbonRenderWindow, "1.26");
vtkCxxRevisionMacro(vtkCarbonRenderWindow, "1.27");
vtkStandardNewMacro(vtkCarbonRenderWindow);
......@@ -455,11 +455,18 @@ void vtkCarbonRenderWindow::MakeCurrent()
}
}
// --------------------------------------------------------------------------
void vtkCarbonRenderWindow::SetForceMakeCurrent()
{
this->ForceMakeCurrent = 1;
}
// --------------------------------------------------------------------------
void vtkCarbonRenderWindow::SetSize(int a[2])
{
this->SetSize(a[0], a[1]);
}
// --------------------------------------------------------------------------
void vtkCarbonRenderWindow::SetSize(int x, int y)
{
......
......@@ -80,16 +80,13 @@ public:
// Description:
// Set the size of the window.
virtual void SetSize(int a[2]);
virtual void SetSize(int,int);
// Description:
// Get the current size of the window.
virtual int *GetSize();
// Description:
// Set the position of the window.
virtual void SetPosition(int,int);
// Description:
// Return the scrren size.
virtual int *GetScreenSize();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment