Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion subprojects/libcairoplot/plotter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <iomanip>
#include <iostream>

using namespace CarioGraphConstants;
using namespace CairoGraphConstants;

CGraph::CairoGraph::CairoGraph()
{
Expand Down
4 changes: 2 additions & 2 deletions subprojects/libcairoplot/plotter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <gtkmm/window.h>
#include <glibmm/i18n.h>

namespace CarioGraphConstants
namespace CairoGraphConstants
{
constexpr double BOX_LINEWIDTH = 1.5;
constexpr double GRID_LINEWIDTH = 0.0005; // in scaled coordinates
Expand All @@ -30,7 +30,7 @@ namespace CarioGraphConstants
constexpr int start_height = 256;
constexpr int start_width = 256;

} // namespace CarioGraphConstants
} // namespace CairoGraphConstants

enum class CairoGraphLineStyle
{
Expand Down
2 changes: 1 addition & 1 deletion subprojects/libcairoplot/plottercoords.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "plotter.hpp"

using namespace CarioGraphConstants;
using namespace CairoGraphConstants;

double CGraph::CairoGraph::x_to_graph_coords(const double x) const
{
Expand Down
2 changes: 1 addition & 1 deletion subprojects/libcairoplot/plotterevents.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <iostream>
#include <gdk/gdkevents.h>

using namespace CarioGraphConstants;
using namespace CairoGraphConstants;

void CGraph::CairoGraph::on_button_press_event(int button, double x, double y)
{
Expand Down
2 changes: 1 addition & 1 deletion subprojects/libcairoplot/plotterlabels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <iostream>
#include "plotter.hpp"

using namespace CarioGraphConstants;
using namespace CairoGraphConstants;

void CGraph::CairoGraph::create_tickmark_labels(const Cairo::RefPtr<Cairo::Context> &cr)
{
Expand Down
2 changes: 1 addition & 1 deletion subprojects/libcairoplot/plotteroptions.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "plotter.hpp"

using namespace CarioGraphConstants;
using namespace CairoGraphConstants;

void CGraph::CairoGraph::set_line_width(const double linewidth)
{
Expand Down
2 changes: 1 addition & 1 deletion subprojects/libcairoplot/plotterseries.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "plotter.hpp"
#include <iostream>

using namespace CarioGraphConstants;
using namespace CairoGraphConstants;

void CGraph::CairoGraph::add_multi_series( const std::vector<std::vector<double>> &xvalues,
const std::vector<std::vector<double>> &yvalues,
Expand Down