Commit eef6bd8f authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Comment cleanup and remove inclusion of glew that is unnecessary here

parent 91e02ab4
......@@ -44,8 +44,6 @@
*\file Core.cpp
*\brief This is the console interface C source code.
*/
#include <GL/glew.h>
#include <queue>
#include <string>
#include <iostream>
......@@ -864,7 +862,6 @@ void Core::launch_action(int state, void* arg) {
SLOT(on_quit_triggered()));
// format.setOverlay(true);
#ifdef WITH_VBO
std::cout << "instanciation render_alternate" << std::endl;
_render_opengl = new Render_alternate (this, _main_window, format);
#else
_render_opengl = new Render_opengl (this, _main_window, format);
......@@ -1319,32 +1316,26 @@ void Core::export_variable(Variable *var, const string &filename) {
}
void Core::change_entity_color(std::string entity, Element_col r, Element_col g, Element_col b){
std::cout << "core" << std::endl;
_render_opengl->change_color(entity, r, g, b);
}
void Core::change_event_color(std::string event, Element_col r, Element_col g, Element_col b){
std::cout << "core" << std::endl;
_render_opengl->change_event_color(event, r, g, b);
}
void Core::change_link_color(std::string link, Element_col r, Element_col g, Element_col b){
std::cout << "core change link color" << std::endl;
_render_opengl->change_link_color(link, r, g, b);
}
void Core::change_entity_visible(std::string entity, bool visible){
std::cout << "core" << std::endl;
_render_opengl->change_visible(entity, visible);
}
void Core::change_event_visible(std::string event, bool visible){
std::cout << "core" << std::endl;
_render_opengl->change_event_visible(event, visible);
}
void Core::change_link_visible(std::string link, bool visible){
std::cout << "core" << std::endl;
_render_opengl->change_link_visible(link, visible);
}
......
Supports Markdown
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