git.ucc.asn.au
/
ipdf
/
code.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change float representations to be more IEEE-ish
[ipdf/code.git]
/
src
/
screen.h
diff --git
a/src/screen.h
b/src/screen.h
index
66590e7
..
ddcf8ca
100644
(file)
--- a/
src/screen.h
+++ b/
src/screen.h
@@
-6,6
+6,7
@@
#include <functional>
#include "stb_truetype.h"
#include <functional>
#include "stb_truetype.h"
+#include "graphicsbuffer.h"
namespace IPDF
{
namespace IPDF
{
@@
-59,6
+60,7
@@
namespace IPDF
void RenderBMP(const char * filename) const;
private:
void ResizeViewport(int width, int height);
void RenderBMP(const char * filename) const;
private:
void ResizeViewport(int width, int height);
+ void DebugFontFlush();
MouseHandler m_mouse_handler;
int m_last_mouse_x;
MouseHandler m_mouse_handler;
int m_last_mouse_x;
@@
-73,6
+75,10
@@
namespace IPDF
float m_debug_font_x;
float m_debug_font_y;
float m_debug_font_size;
float m_debug_font_x;
float m_debug_font_y;
float m_debug_font_size;
+ GraphicsBuffer m_debug_font_vertices;
+ GraphicsBuffer m_debug_font_indices;
+ int m_debug_font_vertex_head;
+ int m_debug_font_index_head;
};
}
};
}
UCC
git Repository :: git.ucc.asn.au