Commit ad5fd737 authored by Mathieu Malaterre's avatar Mathieu Malaterre

ENH: Hopefully fix warnings

parent ac9b4f2e
......@@ -35,23 +35,23 @@ public:
// Description:
// Begin the rendering process.
virtual void Start(void);
virtual void Start();
// Description:
// End the rendering process and display the image.
virtual void Frame(void);
virtual void Frame();
// Description:
// Specify various window parameters.
virtual void WindowConfigure(void);
virtual void WindowConfigure();
// Description:
// Initialize the window for rendering.
virtual void WindowInitialize(void);
virtual void WindowInitialize();
// Description:
// Initialize the rendering window.
virtual void Initialize(void);
virtual void Initialize();
// Description:
// Change the window to fill the entire screen.
......@@ -59,14 +59,15 @@ public:
// Description:
// Remap the window.
virtual void WindowRemap(void);
virtual void WindowRemap();
// Description:
// Set the preferred window size to full screen.
virtual void PrefFullScreen(void);
virtual void PrefFullScreen();
// Description:
// Set the size of the window.
virtual void SetSize(int*);
virtual void SetSize(int,int);
// Description:
......@@ -75,6 +76,7 @@ public:
// Description:
// Set the position of the window.
virtual void SetPosition(int*);
virtual void SetPosition(int,int);
// Description:
......
......@@ -31,7 +31,7 @@
#define id Id // since id is a reserved token in ObjC and is used a _lot_ in vtk
vtkCxxRevisionMacro(vtkCocoaRenderWindow, "1.19");
vtkCxxRevisionMacro(vtkCocoaRenderWindow, "1.20");
vtkStandardNewMacro(vtkCocoaRenderWindow);
......@@ -250,6 +250,12 @@ int vtkCocoaRenderWindow::IsDirect()
return (pfd == YES ? 1 : 0);
}
//----------------------------------------------------------------------------
void vtkCocoaRenderWindow::SetSize(int* a)
{
this->SetSize( a[0], a[1] );
}
//----------------------------------------------------------------------------
void vtkCocoaRenderWindow::SetSize(int x, int y)
{
......@@ -282,6 +288,12 @@ void vtkCocoaRenderWindow::SetForceMakeCurrent()
this->ForceMakeCurrent = 1;
}
//----------------------------------------------------------------------------
void vtkCocoaRenderWindow::SetPosition(int* a)
{
this->SetPosition( a[0], a[1] );
}
//----------------------------------------------------------------------------
void vtkCocoaRenderWindow::SetPosition(int x, int y)
{
......
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