diff options
author | Michael Fox <mfoxdogg@gmail.com> | 2010-11-27 01:12:46 +0300 |
---|---|---|
committer | Michael Fox <mfoxdogg@gmail.com> | 2010-11-27 01:12:46 +0300 |
commit | d47a519cbb70fabe7a105fee31be86d181541dbb (patch) | |
tree | d42b3159e66784d1aa4dd6bf72148f923ee7dd54 /source/blender/makesdna/DNA_userdef_types.h | |
parent | 8f4d8ad5bc173ab38a18c380dc5a5161eab6aa17 (diff) |
added option to turn off Text anti-aliasing in the UI
(userpref->system), with a great help from brecht (its been way too long
for me).
However as brecht pointed out that the non-AA text is slightly lareger
then AA'ed Text :S, i did not do anything about this as this commit was
just the option not the text drawing.
this commit also makes it possible to do all kinds of UI textrender options
Diffstat (limited to 'source/blender/makesdna/DNA_userdef_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_userdef_types.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h index 1609df827cb..5290a353580 100644 --- a/source/blender/makesdna/DNA_userdef_types.h +++ b/source/blender/makesdna/DNA_userdef_types.h @@ -376,6 +376,9 @@ typedef struct UserDef { short autokey_mode; /* autokeying mode */ short autokey_flag; /* flags for autokeying */ + + short text_render, pad9; /*options for text rendering*/ + float pad10; struct ColorBand coba_weight; /* from texture.h */ @@ -531,6 +534,9 @@ extern UserDef U; /* from blenkernel blender.c */ #define USER_DRAW_AUTOMATIC 3 #define USER_DRAW_OVERLAP_FLIP 4 +/* text draw options*/ +#define USER_TEXT_DISABLE_AA (1 << 0) + /* tw_flag (transform widget) */ /* gp_settings (Grease Pencil Settings) */ |