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:
Diffstat (limited to 'source/blender/windowmanager/intern/wm_dragdrop.cc')
-rw-r--r--source/blender/windowmanager/intern/wm_dragdrop.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/windowmanager/intern/wm_dragdrop.cc b/source/blender/windowmanager/intern/wm_dragdrop.cc
index f7d484e9b7a..63f3bbe2c92 100644
--- a/source/blender/windowmanager/intern/wm_dragdrop.cc
+++ b/source/blender/windowmanager/intern/wm_dragdrop.cc
@@ -471,7 +471,7 @@ void wm_drop_prepare(bContext *C, wmDrag *drag, wmDropBox *drop)
wm_drags_exit(CTX_wm_manager(C), CTX_wm_window(C));
}
-void wm_drop_end(bContext *C, wmDrag *UNUSED(drag), wmDropBox *UNUSED(drop))
+void wm_drop_end(bContext *C, wmDrag */*drag*/, wmDropBox */*drop*/)
{
CTX_store_set(C, nullptr);
}
@@ -496,7 +496,7 @@ void wm_drags_check_ops(bContext *C, const wmEvent *event)
}
}
-wmOperatorCallContext wm_drop_operator_context_get(const wmDropBox *UNUSED(drop))
+wmOperatorCallContext wm_drop_operator_context_get(const wmDropBox */*drop*/)
{
return WM_OP_INVOKE_DEFAULT;
}
@@ -818,8 +818,8 @@ static int wm_drag_imbuf_icon_height_get(const wmDrag *drag)
return round_fl_to_int(drag->imb->y * drag->imbuf_scale);
}
-static void wm_drag_draw_icon(bContext *UNUSED(C),
- wmWindow *UNUSED(win),
+static void wm_drag_draw_icon(bContext * /*C*/,
+ wmWindow */*win*/,
wmDrag *drag,
const int xy[2])
{
@@ -867,8 +867,8 @@ static void wm_drag_draw_item_name(wmDrag *drag, const int x, const int y)
UI_fontstyle_draw_simple(fstyle, x, y, WM_drag_get_item_name(drag), text_col);
}
-void WM_drag_draw_item_name_fn(bContext *UNUSED(C),
- wmWindow *UNUSED(win),
+void WM_drag_draw_item_name_fn(bContext * /*C*/,
+ wmWindow */*win*/,
wmDrag *drag,
const int xy[2])
{