From 5aa45c43f278eb78a1f68d947590c43affe42df8 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 30 Jul 2021 22:20:13 +1000 Subject: Cleanup: missing leading '*' from comment blocks --- source/blender/editors/interface/interface_intern.h | 2 +- source/blender/editors/interface/interface_layout.c | 4 ++-- source/blender/editors/interface/interface_widgets.c | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'source/blender/editors/interface') diff --git a/source/blender/editors/interface/interface_intern.h b/source/blender/editors/interface/interface_intern.h index a07f924e65b..6b0b8e8df8f 100644 --- a/source/blender/editors/interface/interface_intern.h +++ b/source/blender/editors/interface/interface_intern.h @@ -1071,7 +1071,7 @@ void ui_draw_preview_item_stateless(const struct uiFontStyle *fstyle, #define UI_TEXT_MARGIN_X 0.4f #define UI_POPUP_MARGIN (UI_DPI_FAC * 12) /* Margin at top of screen for popups. Note this value must be sufficient - to draw a popover arrow to avoid cropping it. */ + * to draw a popover arrow to avoid cropping it. */ #define UI_POPUP_MENU_TOP (int)(10 * UI_DPI_FAC) #define UI_PIXEL_AA_JITTER 8 diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c index ea7bcf57f52..03c67e9b046 100644 --- a/source/blender/editors/interface/interface_layout.c +++ b/source/blender/editors/interface/interface_layout.c @@ -5965,8 +5965,8 @@ uiLayout *uiItemsAlertBox(uiBlock *block, const int size, const eAlertIcon icon) const int text_points_max = MAX2(style->widget.points, style->widgetlabel.points); const int dialog_width = icon_size + (text_points_max * size * U.dpi_fac); /* By default, the space between icon and text/buttons will be equal to the 'columnspace', - this extra padding will add some space by increasing the left column width, - making the icon placement more symmetrical, between the block edge and the text. */ + * this extra padding will add some space by increasing the left column width, + * making the icon placement more symmetrical, between the block edge and the text. */ const float icon_padding = 5.0f * U.dpi_fac; /* Calculate the factor of the fixed icon column depending on the block width. */ const float split_factor = ((float)icon_size + icon_padding) / diff --git a/source/blender/editors/interface/interface_widgets.c b/source/blender/editors/interface/interface_widgets.c index bcd945b21a9..d3481c449ac 100644 --- a/source/blender/editors/interface/interface_widgets.c +++ b/source/blender/editors/interface/interface_widgets.c @@ -2292,7 +2292,7 @@ static void widget_draw_extra_icons(const uiWidgetColors *wcol, const float icon_size = ICON_SIZE_FROM_BUTRECT(rect); /* Offset of icons from the right edge. Keep in sync - with 'ui_but_extra_operator_icon_mouse_over_get'. */ + * with 'ui_but_extra_operator_icon_mouse_over_get'. */ if (!BLI_listbase_is_empty(&but->extra_op_icons)) { /* Eyeballed. */ rect->xmax -= 0.2 * icon_size; @@ -2481,8 +2481,8 @@ static void widget_draw_text_icon(const uiFontStyle *fstyle, } else { /* In case a separate text label and some other button are placed under each other, - and the outline of the button does not contrast with the background. - Add an offset (thickness of the outline) so that the text does not stick out visually. */ + * and the outline of the button does not contrast with the background. + * Add an offset (thickness of the outline) so that the text does not stick out visually. */ if (but->drawflag & UI_BUT_TEXT_LEFT) { rect->xmin += U.pixelsize; } -- cgit v1.2.3