Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-03-04 02:53:06 +0300
committerCampbell Barton <campbell@blender.org>2022-03-04 02:53:06 +0300
commit6bca614fd877f9c0fa0c1ddf5361f5c6218d690d (patch)
tree70fa477b205e53700e7daa3e59cef9b747086c7e /source/blender/editors/space_outliner
parentbfd43222c3095dd2e8cd64d5828f218dffce29be (diff)
Cleanup: use doxy-sections in outliner_draw.cc
Also remove outdated comment.
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r--source/blender/editors/space_outliner/outliner_draw.cc32
1 files changed, 22 insertions, 10 deletions
diff --git a/source/blender/editors/space_outliner/outliner_draw.cc b/source/blender/editors/space_outliner/outliner_draw.cc
index 77e603f9427..53de7d582b6 100644
--- a/source/blender/editors/space_outliner/outliner_draw.cc
+++ b/source/blender/editors/space_outliner/outliner_draw.cc
@@ -71,11 +71,9 @@
using namespace blender::ed::outliner;
-/* Disable - this is far too slow - campbell. */
-/* #define USE_GROUP_SELECT */
-
-/* ****************************************************** */
-/* Tree Size Functions */
+/* -------------------------------------------------------------------- */
+/** \name Tree Size Functions
+ * \{ */
static void outliner_tree_dimensions_impl(SpaceOutliner *space_outliner,
ListBase *lb,
@@ -125,7 +123,11 @@ static bool is_object_data_in_editmode(const ID *id, const Object *obact)
(GS(((ID *)obact->data)->name) == id_type) && BKE_object_data_is_in_editmode(id));
}
-/* ****************************************************** */
+/** \} */
+
+/* -------------------------------------------------------------------- */
+/** \name Button Callbacks
+ * \{ */
static void restrictbutton_recursive_ebone(bArmature *arm,
EditBone *ebone_parent,
@@ -2220,8 +2222,11 @@ static void outliner_draw_warning_column(const bContext *C,
}
}
-/* ****************************************************** */
-/* Normal Drawing... */
+/** \} */
+
+/* -------------------------------------------------------------------- */
+/** \name Normal Drawing
+ * \{ */
static BIFIconID tree_element_get_icon_from_id(const ID *id)
{
@@ -3778,8 +3783,13 @@ static void outliner_update_viewable_area(ARegion *region,
UI_view2d_totRect_set(&region->v2d, sizex, sizey);
}
-/* ****************************************************** */
-/* Main Entry-point - Draw contents of Outliner editor */
+/** \} */
+
+/* -------------------------------------------------------------------- */
+/** \name Main Entry-point
+ *
+ * Draw contents of Outliner editor.
+ * \{ */
void draw_outliner(const bContext *C)
{
@@ -3899,3 +3909,5 @@ void draw_outliner(const bContext *C)
outliner_update_viewable_area(
region, space_outliner, tree_width, tree_height, restrict_column_width);
}
+
+/** \} */