4#ifndef ENGINE_CLIENT_GRAPH_H
5#define ENGINE_CLIENT_GRAPH_H
35 void Init(
float Min,
float Max);
39 void Scale(int64_t WantedTotalTime);
Definition: ringbuffer.h:93
void InsertAt(int64_t Time, float Value, ColorRGBA Color=ColorRGBA(1.0f, 1.0f, 1.0f, 0.75f))
Definition: graph.cpp:101
int64_t m_RenderedTotalTime
Definition: graph.h:27
float m_MaxRange
Definition: graph.h:29
void Render(IGraphics *pGraphics, ITextRender *pTextRender, float x, float y, float w, float h, const char *pDescription)
Definition: graph.cpp:129
void Init(float Min, float Max)
Definition: graph.cpp:14
void SetMin(float Min)
Definition: graph.cpp:23
SEntry * m_pFirstScaled
Definition: graph.h:26
CDynamicRingBuffer< SEntry > m_Entries
Definition: graph.h:30
void Scale(int64_t WantedTotalTime)
Definition: graph.cpp:33
void Add(float Value, ColorRGBA Color=ColorRGBA(1.0f, 1.0f, 1.0f, 0.75f))
Definition: graph.cpp:96
float m_MinRange
Definition: graph.h:29
CGraph(int MaxEntries)
Definition: graph.cpp:9
void SetMax(float Max)
Definition: graph.cpp:28
float m_Min
Definition: graph.h:28
float m_Max
Definition: graph.h:28
Definition: graphics.h:184
Definition: textrender.h:314
bool m_ApplyColor
Definition: graph.h:24
ColorRGBA m_Color
Definition: graph.h:23
int64_t m_Time
Definition: graph.h:21
float m_Value
Definition: graph.h:22