Files
Upsilon/apps/statistics/box_range.h
Émilie Feral c3008ca360 [apps] Improvements of MVC structure regarding curve views and ranges
Change-Id: Iec8031dbf349c34c18694dffabd02ef9c88ebf2d
2017-01-18 14:31:42 +01:00

27 lines
621 B
C++

#ifndef STATISTICS_BOX_RANGE_H
#define STATISTICS_BOX_RANGE_H
#include "../curve_view_range.h"
#include "store.h"
namespace Statistics {
class BoxRange : public CurveViewRange {
public:
BoxRange(Store * store);
float xMin() override;
float xMax() override;
float yMin() override;
float yMax() override;
float xGridUnit() override;
private:
constexpr static float k_displayTopMarginRatio = 0.0f;
constexpr static float k_displayRightMarginRatio = 0.2f;
constexpr static float k_displayBottomMarginRatio = 0.4f;
constexpr static float k_displayLeftMarginRatio = 0.2f;
Store * m_store;
};
}
#endif