Update packages, having issue with Text-width with new packages, not quite sure.
This commit is contained in:
@@ -16,7 +16,7 @@ namespace JUI {
|
||||
public:
|
||||
|
||||
void RenderDataPoints() {
|
||||
J2D::Begin(canvas, true);
|
||||
J2D::Begin(canvas, nullptr, true);
|
||||
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace JUI {
|
||||
prev = data_pt;
|
||||
}
|
||||
float target_line_height = (1.f / 60.f) * 1000;
|
||||
J2D::DrawString(Colors::Black, "60 FPS / 16.7ms (Target)", 0, 100 - target_line_height, 1.f, 10);
|
||||
J2D::DrawString(Colors::Black, "60 FPS / 16.7ms (Target)", 0, 100 - target_line_height, 10, 1.f);
|
||||
J2D::DrawLine(Colors::White, {0, 100 - target_line_height}, {GetAbsoluteSize().x, 100 - target_line_height}, 1);
|
||||
J2D::End();
|
||||
}
|
||||
|
@@ -19,6 +19,7 @@ namespace JUI
|
||||
Vector2 GetAbsoluteSize() const override;
|
||||
Vector2 GetAbsolutePosition() const override;
|
||||
void Draw() override;
|
||||
void InnerDraw() override;
|
||||
void Update(float delta) override;
|
||||
protected:
|
||||
private:
|
||||
|
Reference in New Issue
Block a user