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/editors/space_buttons/buttons_intern.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/editors/space_buttons/buttons_intern.h')
-rw-r--r-- | source/blender/editors/space_buttons/buttons_intern.h | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/source/blender/editors/space_buttons/buttons_intern.h b/source/blender/editors/space_buttons/buttons_intern.h index fa7f0408e15..64166f15ea3 100644 --- a/source/blender/editors/space_buttons/buttons_intern.h +++ b/source/blender/editors/space_buttons/buttons_intern.h @@ -44,44 +44,46 @@ struct wmOperatorType; /* context data */ typedef struct ButsContextPath { - PointerRNA ptr[8]; - int len; - int flag; - int collection_ctx; + PointerRNA ptr[8]; + int len; + int flag; + int collection_ctx; } ButsContextPath; typedef struct ButsTextureUser { - struct ButsTextureUser *next, *prev; + struct ButsTextureUser *next, *prev; - struct ID *id; + struct ID *id; - PointerRNA ptr; - PropertyRNA *prop; + PointerRNA ptr; + PropertyRNA *prop; - struct bNodeTree *ntree; - struct bNode *node; + struct bNodeTree *ntree; + struct bNode *node; - const char *category; - int icon; - const char *name; + const char *category; + int icon; + const char *name; - int index; + int index; } ButsTextureUser; typedef struct ButsContextTexture { - ListBase users; + ListBase users; - struct Tex *texture; + struct Tex *texture; - struct ButsTextureUser *user; - int index; + struct ButsTextureUser *user; + int index; } ButsContextTexture; /* internal exports only */ /* buttons_context.c */ void buttons_context_compute(const struct bContext *C, struct SpaceProperties *sbuts); -int buttons_context(const struct bContext *C, const char *member, struct bContextDataResult *result); +int buttons_context(const struct bContext *C, + const char *member, + struct bContextDataResult *result); void buttons_context_draw(const struct bContext *C, struct uiLayout *layout); void buttons_context_register(struct ARegionType *art); struct ID *buttons_context_id_path(const struct bContext *C); |