__
This commit is contained in:
@ -59,11 +59,13 @@ namespace RenderD7
|
||||
void SetupBenchmark(int framerate);
|
||||
bool IsBenchmarkRunning() { return this->benchmark; }
|
||||
|
||||
void DrawText(int x, int y, float t_size, u32 color, std::string text);
|
||||
void DrawDebugText(int x, int y, float t_size, u32 color, std::string text);
|
||||
void DrawText(int x, int y, int t_size, u32 color, std::string text);
|
||||
private:
|
||||
//funcs
|
||||
bool Decode(Decoder deccc);
|
||||
void DrawChar(u32 posX, u32 posY, u32 color, char character);
|
||||
void DrawDebugChar(u32 posX, u32 posY, u32 color, char character);
|
||||
void DrawChar(u32 posX, u32 posY, int t_size, u32 color, char character);
|
||||
//parameter
|
||||
int frame = 0;
|
||||
RenderD7::Image renderframe;
|
||||
|
@ -8,6 +8,7 @@
|
||||
#include <regex>
|
||||
|
||||
#define UNPACK_RGBA(col) (uint8_t) (col >> 24), (col >> 16), (col >> 8), (col)
|
||||
#define UNPACK_BGRA(col) (uint8_t) (col >> 8), (col >> 16), (col >> 24), (col)
|
||||
|
||||
namespace RenderD7
|
||||
{
|
||||
|
1591
include/renderd7/Fonts/ConsolasFont.hpp
Normal file
1591
include/renderd7/Fonts/ConsolasFont.hpp
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user