Mentions légales du service

Skip to content
Snippets Groups Projects

Add vector of RenderLayout

Merged ORDRONNEAU Camille requested to merge cordronn/vite:feature/trace-comparison into master
All threads resolved!
Files
10
+ 1
19
@@ -379,24 +379,6 @@ cleanup:
@@ -379,24 +379,6 @@ cleanup:
*
*
**********************************/
**********************************/
void Core::draw_trace(Trace *trace) {
// Set application in working state
QApplication::setOverrideCursor(Qt::WaitCursor);
// We add the filename to the recent files opened list
Session::add_recent_file(QFileInfo(QString::fromStdString(trace->get_filename())).absoluteFilePath());
_main_window->update_recent_files_menu();
DrawTrace drawing_ogl;
GanttDiagram render(_main_window->get_render_area());
drawing_ogl.build(&render, trace);
_main_window->get_render_area()->build();
_main_window->get_render_area()->refresh_scroll_bars();
QApplication::restoreOverrideCursor();
}
Trace *Core::build_trace(const std::string &filename, bool is_state_splitting) {
Trace *Core::build_trace(const std::string &filename, bool is_state_splitting) {
Parser *parser = nullptr;
Parser *parser = nullptr;
@@ -662,7 +644,7 @@ void Core::launch_action(int state, void *arg) {
@@ -662,7 +644,7 @@ void Core::launch_action(int state, void *arg) {
break;
break;
}
}
draw_trace(trace);
_main_window->draw_trace(trace, 0);
// If -t has been set, we define the interval to zoom in
// If -t has been set, we define the interval to zoom in
if (_time_start != 0 && _time_end == 0.)
if (_time_start != 0 && _time_end == 0.)
Loading