Changeset View
Changeset View
Standalone View
Standalone View
src/qt/trafficgraphwidget.cpp
// Copyright (c) 2011-2015 The Bitcoin Core developers | // Copyright (c) 2011-2015 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#include <qt/trafficgraphwidget.h> | #include <qt/trafficgraphwidget.h> | ||||
#include <interfaces/node.h> | #include <interfaces/node.h> | ||||
#include <qt/clientmodel.h> | #include <qt/clientmodel.h> | ||||
#include <QColor> | #include <QColor> | ||||
#include <QPainter> | #include <QPainter> | ||||
#include <QPainterPath> | |||||
#include <QTimer> | #include <QTimer> | ||||
#include <cmath> | #include <cmath> | ||||
#define DESIRED_SAMPLES 800 | #define DESIRED_SAMPLES 800 | ||||
#define XMARGIN 10 | #define XMARGIN 10 | ||||
#define YMARGIN 10 | #define YMARGIN 10 | ||||
▲ Show 20 Lines • Show All 158 Lines • Show Last 20 Lines |