jGL
Loading...
Searching...
No Matches
glFont.h
Go to the documentation of this file.
1#ifndef GLFONT_H
2#define GLFONT_H
3
4#include <jGL/font.h>
5#include <jGL/OpenGL/gl.h>
7
8#include <map>
9
10namespace jGL::GL
11{
12 class glFont : public Font
13 {
14
15 public:
16
17 glFont(uint8_t w)
18 : Font(w)
19 {
20 upload(bw, bh);
21 }
22
24
25 private:
26
27 void upload(uint16_t w, uint16_t h);
28
29 };
30}
31
32#endif /* GLFONT_H */
Definition font.h:14
uint16_t bh
Definition font.h:41
uint16_t bw
Definition font.h:41
Definition glFont.h:13
glFont(uint8_t w)
Definition glFont.h:17
~glFont()
Definition glFont.h:23
Definition gl.h:41