diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/draw/intern/draw_manager_text.h | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff) |
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'source/blender/draw/intern/draw_manager_text.h')
-rw-r--r-- | source/blender/draw/intern/draw_manager_text.h | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/source/blender/draw/intern/draw_manager_text.h b/source/blender/draw/intern/draw_manager_text.h index 308d569faa9..9f5dd1d4beb 100644 --- a/source/blender/draw/intern/draw_manager_text.h +++ b/source/blender/draw/intern/draw_manager_text.h @@ -28,21 +28,23 @@ struct DRWTextStore; struct DRWTextStore *DRW_text_cache_create(void); void DRW_text_cache_destroy(struct DRWTextStore *dt); -void DRW_text_cache_add( - struct DRWTextStore *dt, - const float co[3], - const char *str, const int str_len, - short xoffs, short yoffs, short flag, - const uchar col[4]); +void DRW_text_cache_add(struct DRWTextStore *dt, + const float co[3], + const char *str, + const int str_len, + short xoffs, + short yoffs, + short flag, + const uchar col[4]); void DRW_text_cache_draw(struct DRWTextStore *dt, struct ARegion *ar); enum { - DRW_TEXT_CACHE_ASCII = (1 << 0), - DRW_TEXT_CACHE_GLOBALSPACE = (1 << 1), - DRW_TEXT_CACHE_LOCALCLIP = (1 << 2), - /* reference the string by pointer */ - DRW_TEXT_CACHE_STRING_PTR = (1 << 3), + DRW_TEXT_CACHE_ASCII = (1 << 0), + DRW_TEXT_CACHE_GLOBALSPACE = (1 << 1), + DRW_TEXT_CACHE_LOCALCLIP = (1 << 2), + /* reference the string by pointer */ + DRW_TEXT_CACHE_STRING_PTR = (1 << 3), }; /* draw_manager.c */ |