Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
84f5e470da | |||
b209149b9a |
@ -27,6 +27,13 @@ public:
|
|||||||
public:
|
public:
|
||||||
texture_font_t* m_font = nullptr;
|
texture_font_t* m_font = nullptr;
|
||||||
texture_atlas_t* atlas = nullptr;
|
texture_atlas_t* atlas = nullptr;
|
||||||
|
|
||||||
|
public:
|
||||||
|
[[deprecated]] unsigned getHandle() const { return 1; }
|
||||||
|
[[deprecated]] void load() { }
|
||||||
|
[[deprecated]] void unload() { }
|
||||||
|
[[deprecated]] const std::string path;
|
||||||
|
[[deprecated]] const float size = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace glez
|
} // namespace glez
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
namespace glez {
|
namespace glez {
|
||||||
|
|
||||||
|
[[deprecated]] inline void preInit() { }
|
||||||
void init(int width, int height);
|
void init(int width, int height);
|
||||||
void shutdown();
|
void shutdown();
|
||||||
void resize(int width, int height);
|
void resize(int width, int height);
|
||||||
|
@ -34,6 +34,15 @@ public:
|
|||||||
|
|
||||||
GLuint id;
|
GLuint id;
|
||||||
GLubyte* data;
|
GLubyte* data;
|
||||||
|
|
||||||
|
public:
|
||||||
|
[[deprecated]] int getWidth() const { return this->width; }
|
||||||
|
[[deprecated]] int getHeight() const { return this->height; }
|
||||||
|
[[deprecated]] unsigned getHandle() const { return 1; }
|
||||||
|
[[deprecated]] bool canLoad() const { return true; }
|
||||||
|
[[deprecated]] void load() { }
|
||||||
|
[[deprecated]] void unload() { }
|
||||||
|
[[deprecated]] const std::string path;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace glez
|
} // namespace glez
|
||||||
|
Loading…
x
Reference in New Issue
Block a user