mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-07-05 22:20:27 -04:00
Added Graphics::DrawText which can draw text on to an image with alignment. No multi-line support yet.
This commit is contained in:
parent
7d9259b63d
commit
7a5124a687
8 changed files with 145 additions and 35 deletions
|
@ -18,6 +18,7 @@
|
|||
//System/System.cpp
|
||||
namespace System {
|
||||
int Initialize();
|
||||
void Shutdown();
|
||||
extern HINSTANCE hInst;
|
||||
extern HANDLE Process;
|
||||
extern HANDLE ProcessHeap;
|
||||
|
@ -55,6 +56,10 @@ namespace System {
|
|||
ERROR_CREATE_WINDOW
|
||||
};
|
||||
#define ERROR_INIT_SYSTEM 0x0200
|
||||
enum {
|
||||
ERROR_SYSTEM_INIT_FREETYPE = 1,
|
||||
ERROR_SYSTEM_MISSING_FONT
|
||||
};
|
||||
#define ERROR_INIT_GRAPHICS 0x0300
|
||||
enum {
|
||||
ERROR_GRAPHICS_OBTAIN_DC = 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue