diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-03-26 15:38:47 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-03-26 15:49:23 +0300 |
commit | 64e5f83133742c622e9c44b80f86d744a0dab05d (patch) | |
tree | 5d8848008f01c0aa788e3965f4ada84b6ce0dc12 /source/blender/blenfont/BLF_api.h | |
parent | 0476f8277ad58f99dd1ff213496c870d9c29f5d5 (diff) |
BLF: Don't use user preferences
BLF is a low level module, which might (and is) used without Blender.
Thanks Campbell for review!
Diffstat (limited to 'source/blender/blenfont/BLF_api.h')
-rw-r--r-- | source/blender/blenfont/BLF_api.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenfont/BLF_api.h b/source/blender/blenfont/BLF_api.h index 8c8aef3de57..f31c132c973 100644 --- a/source/blender/blenfont/BLF_api.h +++ b/source/blender/blenfont/BLF_api.h @@ -33,6 +33,7 @@ #define __BLF_API_H__ #include "BLI_compiler_attrs.h" +#include "BLI_sys_types.h" struct rctf; struct ColorManagedDisplay; @@ -43,6 +44,9 @@ void BLF_exit(void); void BLF_default_dpi(int dpi); void BLF_default_set(int fontid); +void BLF_antialias_set(bool enabled); +bool BLF_antialias_get(void); + void BLF_cache_clear(void); int BLF_load(const char *name) ATTR_NONNULL(); |