diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-06-28 13:06:00 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-06-28 14:04:28 +0300 |
commit | 89e0d9848a0660c81e57f1e5e9778a2b920bd54a (patch) | |
tree | 9c72026a731d04c3663683e52f06f943e78a1a32 /source/blender/editors/transform/transform.c | |
parent | af9fcb6a333b575e7f1c2ab1e3d8fbcf1a69b7e1 (diff) |
UI: keep some operator text in headers.
Key shortcuts and explanation about how to use the tool should go to the
status bar, but other info can in the header so it's near where the user
is working. This distinction has not been made yet for all operators.
Diffstat (limited to 'source/blender/editors/transform/transform.c')
-rw-r--r-- | source/blender/editors/transform/transform.c | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index 605b13e05ac..c6a6db17a6e 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -652,7 +652,7 @@ static void viewRedrawForce(const bContext *C, TransInfo *t) static void viewRedrawPost(bContext *C, TransInfo *t) { - ED_workspace_status_text(t->context, NULL); + ED_area_status_text(t->sa, NULL); if (t->spacetype == SPACE_VIEW3D) { /* if autokeying is enabled, send notifiers that keyframes were added */ @@ -3129,7 +3129,7 @@ static void Bend(TransInfo *t, const int UNUSED(mval[2])) recalcData(t); - ED_workspace_status_text(t->context, str); + ED_area_status_text(t->sa, str); } /** \} */ @@ -3283,7 +3283,7 @@ static void applyShear(TransInfo *t, const int UNUSED(mval[2])) recalcData(t); - ED_workspace_status_text(t->context, str); + ED_area_status_text(t->sa, str); } /** \} */ @@ -3562,7 +3562,7 @@ static void applyResize(TransInfo *t, const int UNUSED(mval[2])) recalcData(t); - ED_workspace_status_text(t->context, str); + ED_area_status_text(t->sa, str); } /** \} */ @@ -3665,7 +3665,7 @@ static void applySkinResize(TransInfo *t, const int UNUSED(mval[2])) recalcData(t); - ED_workspace_status_text(t->context, str); + ED_area_status_text(t->sa, str); } /** \} */ @@ -3763,7 +3763,7 @@ static void applyToSphere(TransInfo *t, const int UNUSED(mval[2])) recalcData(t); - ED_workspace_status_text(t->context, str); + ED_area_status_text(t->sa, str); } /** \} */ @@ -4122,7 +4122,7 @@ static void applyRotation(TransInfo *t, const int UNUSED(mval[2])) recalcData(t); - ED_workspace_status_text(t->context, str); + ED_area_status_text(t->sa, str); } /** \} */ @@ -4239,7 +4239,7 @@ static void applyTrackball(TransInfo *t, const int UNUSED(mval[2])) recalcData(t); - ED_workspace_status_text(t->context, str); + ED_area_status_text(t->sa, str); } /** \} */ @@ -4568,7 +4568,7 @@ static void applyTranslation(TransInfo *t, const int UNUSED(mval[2])) recalcData(t); - ED_workspace_status_text(t->context, str); + ED_area_status_text(t->sa, str); } /** \} */ @@ -4670,7 +4670,7 @@ static void applyShrinkFatten(TransInfo *t, const int UNUSED(mval[2])) recalcData(t); - ED_workspace_status_text(t->context, str); + ED_area_status_text(t->sa, str); } /** \} */ @@ -4749,7 +4749,7 @@ static void applyTilt(TransInfo *t, const int UNUSED(mval[2])) recalcData(t); - ED_workspace_status_text(t->context, str); + ED_area_status_text(t->sa, str); } /** \} */ @@ -4830,7 +4830,7 @@ static void applyCurveShrinkFatten(TransInfo *t, const int UNUSED(mval[2])) recalcData(t); - ED_workspace_status_text(t->context, str); + ED_area_status_text(t->sa, str); } /** \} */ @@ -4936,7 +4936,7 @@ static void applyMaskShrinkFatten(TransInfo *t, const int UNUSED(mval[2])) recalcData(t); - ED_workspace_status_text(t->context, str); + ED_area_status_text(t->sa, str); } /** \} */ @@ -5017,7 +5017,7 @@ static void applyGPShrinkFatten(TransInfo *t, const int UNUSED(mval[2])) recalcData(t); - ED_workspace_status_text(t->context, str); + ED_area_status_text(t->sa, str); } /** \} */ @@ -5112,7 +5112,7 @@ static void applyPushPull(TransInfo *t, const int UNUSED(mval[2])) recalcData(t); - ED_workspace_status_text(t->context, str); + ED_area_status_text(t->sa, str); } /** \} */ @@ -5194,7 +5194,7 @@ static void applyBevelWeight(TransInfo *t, const int UNUSED(mval[2])) recalcData(t); - ED_workspace_status_text(t->context, str); + ED_area_status_text(t->sa, str); } /** \} */ @@ -5279,7 +5279,7 @@ static void applyCrease(TransInfo *t, const int UNUSED(mval[2])) recalcData(t); - ED_workspace_status_text(t->context, str); + ED_area_status_text(t->sa, str); } /** \} */ @@ -5402,7 +5402,7 @@ static void applyBoneSize(TransInfo *t, const int UNUSED(mval[2])) recalcData(t); - ED_workspace_status_text(t->context, str); + ED_area_status_text(t->sa, str); } /** \} */ @@ -5479,7 +5479,7 @@ static void applyBoneEnvelope(TransInfo *t, const int UNUSED(mval[2])) recalcData(t); - ED_workspace_status_text(t->context, str); + ED_area_status_text(t->sa, str); } /** \} */ @@ -7205,7 +7205,7 @@ static void applyEdgeSlide(TransInfo *t, const int UNUSED(mval[2])) recalcData(t); - ED_workspace_status_text(t->context, str); + ED_area_status_text(t->sa, str); } /** \} */ @@ -7804,7 +7804,7 @@ static void applyVertSlide(TransInfo *t, const int UNUSED(mval[2])) recalcData(t); - ED_workspace_status_text(t->context, str); + ED_area_status_text(t->sa, str); } /** \} */ @@ -7878,7 +7878,7 @@ static void applyBoneRoll(TransInfo *t, const int UNUSED(mval[2])) recalcData(t); - ED_workspace_status_text(t->context, str); + ED_area_status_text(t->sa, str); } /** \} */ @@ -7969,7 +7969,7 @@ static void applyBakeTime(TransInfo *t, const int mval[2]) recalcData(t); - ED_workspace_status_text(t->context, str); + ED_area_status_text(t->sa, str); } /** \} */ @@ -8030,7 +8030,7 @@ static void applyMirror(TransInfo *t, const int UNUSED(mval[2])) recalcData(t); - ED_workspace_status_text(t->context, str); + ED_area_status_text(t->sa, str); } else { size[0] = size[1] = size[2] = 1; @@ -8053,9 +8053,9 @@ static void applyMirror(TransInfo *t, const int UNUSED(mval[2])) recalcData(t); if (t->flag & T_2D_EDIT) - ED_workspace_status_text(t->context, IFACE_("Select a mirror axis (X, Y)")); + ED_area_status_text(t->sa, IFACE_("Select a mirror axis (X, Y)")); else - ED_workspace_status_text(t->context, IFACE_("Select a mirror axis (X, Y, Z)")); + ED_area_status_text(t->sa, IFACE_("Select a mirror axis (X, Y, Z)")); } } /** \} */ @@ -8117,7 +8117,7 @@ static void applyAlign(TransInfo *t, const int UNUSED(mval[2])) recalcData(t); - ED_workspace_status_text(t->context, IFACE_("Align")); + ED_area_status_text(t->sa, IFACE_("Align")); } /** \} */ @@ -8216,7 +8216,7 @@ static void applySeqSlide(TransInfo *t, const int mval[2]) recalcData(t); - ED_workspace_status_text(t->context, str); + ED_area_status_text(t->sa, str); } /** \} */ @@ -8500,7 +8500,7 @@ static void applyTimeTranslate(TransInfo *t, const int mval[2]) recalcData(t); - ED_workspace_status_text(t->context, str); + ED_area_status_text(t->sa, str); } /** \} */ @@ -8690,7 +8690,7 @@ static void applyTimeSlide(TransInfo *t, const int mval[2]) recalcData(t); - ED_workspace_status_text(t->context, str); + ED_area_status_text(t->sa, str); } /** \} */ @@ -8811,7 +8811,7 @@ static void applyTimeScale(TransInfo *t, const int UNUSED(mval[2])) recalcData(t); - ED_workspace_status_text(t->context, str); + ED_area_status_text(t->sa, str); } /** \} */ |