mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
plugin/FT_fontsys, plugin/DroidFonts
git-svn-id: svn://ultimatepp.org/upp/trunk@6356 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
d79c64e5e2
commit
395afe4e52
428 changed files with 170526 additions and 0 deletions
18
uppsrc/plugin/FT_fontsys/FT_fontsys.h
Normal file
18
uppsrc/plugin/FT_fontsys/FT_fontsys.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#ifndef _plugin_FT_fontsys_FT_fontsys_h_
|
||||
#define _plugin_FT_fontsys_FT_fontsys_h_
|
||||
|
||||
#include <Draw/Draw.h>
|
||||
|
||||
NAMESPACE_UPP
|
||||
|
||||
enum FtStyle {
|
||||
FtBOLD = 1,
|
||||
FtITALIC = 2
|
||||
};
|
||||
|
||||
void SetFileFont(int face, const char *path, dword style = 0);
|
||||
void SetMemoryFont(int face, const byte *data, int size, dword style = 0);
|
||||
|
||||
END_UPP_NAMESPACE
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue