diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-09-06 09:12:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-09-06 09:46:00 +0300 |
commit | ebb7096bb15689f61414d89989c681dfd94d8330 (patch) | |
tree | fea3b5814143cc79e3dd43a9b6097068d594c506 /source/blender/editors/interface/interface_layout.c | |
parent | 1b287230a46d98f7cdfe6cbfd6c86e43c7e14968 (diff) |
Cleanup: use doxy sections
Diffstat (limited to 'source/blender/editors/interface/interface_layout.c')
-rw-r--r-- | source/blender/editors/interface/interface_layout.c | 36 |
1 files changed, 30 insertions, 6 deletions
diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c index 529cb0712df..e7b6282d2e6 100644 --- a/source/blender/editors/interface/interface_layout.c +++ b/source/blender/editors/interface/interface_layout.c @@ -63,7 +63,9 @@ * giving more room for the text at the expense of nicely aligned text. */ #define UI_PROP_SEP_ICON_WIDTH_EXCEPTION -/************************ Structs and Defines *************************/ +/* -------------------------------------------------------------------- */ +/** \name Structs and Defines + * \{ */ #define UI_OPERATOR_ERROR_RET(_ot, _opname, return_statement) \ if (ot == NULL) { \ @@ -211,7 +213,11 @@ typedef struct uiLayoutItemRoot { uiLayout litem; } uiLayoutItemRoot; -/************************** Item ***************************/ +/** \} */ + +/* -------------------------------------------------------------------- */ +/** \name Item + * \{ */ static const char *ui_item_name_add_colon(const char *name, char namestr[UI_MAX_NAME_STR]) { @@ -408,7 +414,11 @@ static void ui_item_move(uiItem *item, int delta_xmin, int delta_xmax) } } -/******************** Special RNA Items *********************/ +/** \} */ + +/* -------------------------------------------------------------------- */ +/** \name Special RNA Items + * \{ */ int uiLayoutGetLocalDir(const uiLayout *layout) { @@ -1088,7 +1098,11 @@ void UI_context_active_but_prop_get_filebrowser(const bContext *C, } } -/********************* Button Items *************************/ +/** \} */ + +/* -------------------------------------------------------------------- */ +/** \name Button Items + * \{ */ /** * Update a buttons tip with an enum's description if possible. @@ -3235,7 +3249,11 @@ void uiItemTabsEnumR_prop( ui_item_enum_expand_tabs(layout, C, block, ptr, prop, NULL, UI_UNIT_Y, icon_only); } -/**************************** Layout Items ***************************/ +/** \} */ + +/* -------------------------------------------------------------------- */ +/** \name Layout Items + * \{ */ /* single-row layout */ static void ui_litem_estimate_row(uiLayout *litem) @@ -4733,7 +4751,11 @@ int uiLayoutGetEmboss(uiLayout *layout) } } -/********************** Layout *******************/ +/** \} */ + +/* -------------------------------------------------------------------- */ +/** \name Layout + * \{ */ static void ui_item_scale(uiLayout *litem, const float scale[2]) { @@ -5267,3 +5289,5 @@ void UI_paneltype_draw(bContext *C, PanelType *pt, uiLayout *layout) CTX_store_set(C, NULL); } } + +/** \} */ |