Browse Source

Remove deconstructors from ProjectionEditor and TextureEditor

master
Krisjanis Rijnieks 9 years ago
parent
commit
d603d332d3
  1. 6
      src/UserInterface/ProjectionEditor.cpp
  2. 1
      src/UserInterface/ProjectionEditor.h
  3. 4
      src/UserInterface/TextureEditor.cpp
  4. 1
      src/UserInterface/TextureEditor.h

6
src/UserInterface/ProjectionEditor.cpp

@ -10,12 +10,6 @@ ProjectionEditor::ProjectionEditor(){
enable();
}
ProjectionEditor::~ProjectionEditor(){
clearJoints();
surfaceManager = 0;
disable();
}
void ProjectionEditor::registerAppEvents(){
ofAddListener(ofEvents().messageEvent, this, &ProjectionEditor::gotMessage);
}

1
src/UserInterface/ProjectionEditor.h

@ -10,7 +10,6 @@ class ProjectionEditor {
public:
ProjectionEditor();
~ProjectionEditor();
void registerAppEvents();
void unregisterAppEvents();

4
src/UserInterface/TextureEditor.cpp

@ -7,10 +7,6 @@ TextureEditor::TextureEditor(){
clear();
}
TextureEditor::~TextureEditor(){
clear();
}
void TextureEditor::update(){
if(surface == 0){
return;

1
src/UserInterface/TextureEditor.h

@ -14,7 +14,6 @@ class TextureEditor {
public:
TextureEditor();
~TextureEditor();
void update(); // Maybe the Application pointer would make sense there. Not sure yet.
void mousePressed(ofMouseEventArgs & args);

Loading…
Cancel
Save