mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
16 lines
421 B
C++
16 lines
421 B
C++
#include "box_axis_view.h"
|
|
#include <assert.h>
|
|
|
|
using namespace Shared;
|
|
|
|
namespace Statistics {
|
|
|
|
void BoxAxisView::drawRect(KDContext * ctx, KDRect rect) const {
|
|
ctx->fillRect(rect, Palette::BackgroundHard);
|
|
KDRect lineRect = KDRect(0, k_axisMargin, bounds().width(), 1);
|
|
ctx->fillRect(lineRect, Palette::PrimaryText);
|
|
drawLabelsAndGraduations(ctx, rect, Axis::Horizontal, false, false, true, k_axisMargin);
|
|
}
|
|
|
|
}
|