diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-08 09:48:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-08 09:48:49 +0300 |
commit | eb8e656b2b82615e42a85bdee73a2e78b8359a69 (patch) | |
tree | 95d095a793e25801a55fd958ce29f62fbf52719e /source/blender/makesdna/DNA_screen_types.h | |
parent | 4185b3e36d16dff92ed3e3c0b25033acea5a0793 (diff) |
Cleanup: spelling
Diffstat (limited to 'source/blender/makesdna/DNA_screen_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_screen_types.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h index c85042cbf2d..3dc44ac9416 100644 --- a/source/blender/makesdna/DNA_screen_types.h +++ b/source/blender/makesdna/DNA_screen_types.h @@ -141,7 +141,7 @@ typedef struct Panel { /** Defined as UI_MAX_NAME_STR. */ char panelname[64], tabname[64]; - /** Panelname is identifier for restoring location. */ + /** Panel name is identifier for restoring location. */ char drawname[64]; /** Offset within the region. */ int ofsx, ofsy; @@ -154,7 +154,7 @@ typedef struct Panel { short flag, runtime_flag; short control; short snap; - /** Panels are aligned according to increasing sortorder. */ + /** Panels are aligned according to increasing sort-order. */ int sortorder; /** This panel is tabbed in *paneltab. */ struct Panel *paneltab; @@ -165,15 +165,16 @@ typedef struct Panel { } Panel; -/* Notes on Panel Catogories: +/** + * Notes on Panel Categories: * - * ar->panels_category (PanelCategoryDyn) is a runtime only list of categories collected during draw. + * - #ARegion.panels_category (#PanelCategoryDyn) is a runtime only list of categories collected during draw. * - * ar->panels_category_active (PanelCategoryStack) is basically a list of strings (category id's). + * - #ARegion.panels_category_active (#PanelCategoryStack) is basically a list of strings (category id's). * * Clicking on a tab moves it to the front of ar->panels_category_active, * If the context changes so this tab is no longer displayed, - * then the first-most tab in ar->panels_category_active is used. + * then the first-most tab in #ARegion.panels_category_active is used. * * This way you can change modes and always have the tab you last clicked on. */ @@ -634,4 +635,5 @@ enum { #define RGN_DRAWING 4 #define RGN_DRAW_REFRESH_UI 8 /* re-create uiBlock's where possible */ #define RGN_DRAW_NO_REBUILD 16 -#endif + +#endif /* __DNA_SCREEN_TYPES_H__ */ |