diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-16 11:13:19 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-16 11:14:33 +0300 |
commit | 95f05a6a4ba66ed5533ad6d35ac92cdbe3aa0690 (patch) | |
tree | 19f81181cb24c931c7e006822cf3fe2f39955866 /source/blender/editors/screen | |
parent | 48d7ff68f0df209c77bbb081ab46fbc109fd825a (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/editors/screen')
-rw-r--r-- | source/blender/editors/screen/area.c | 8 | ||||
-rw-r--r-- | source/blender/editors/screen/screen_edit.c | 6 | ||||
-rw-r--r-- | source/blender/editors/screen/screen_intern.h | 2 | ||||
-rw-r--r-- | source/blender/editors/screen/screen_ops.c | 2 |
4 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index 08565a86ee7..25e16bee558 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -175,7 +175,7 @@ void ED_area_do_refresh(bContext *C, ScrArea *area) } /** - * \brief Corner widget use for quitting fullscreen. + * \brief Corner widget use for quitting full-screen. */ static void area_draw_azone_fullscreen( short UNUSED(x1), short UNUSED(y1), short x2, short y2, float alpha) @@ -845,7 +845,7 @@ void ED_workspace_status_text(bContext *C, const char *str) static void area_azone_init(wmWindow *win, const bScreen *screen, ScrArea *area) { - /* reinitialize entirely, regions and fullscreen add azones too */ + /* reinitialize entirely, regions and full-screen add azones too */ BLI_freelistN(&area->actionzones); if (screen->state != SCREENNORMAL) { @@ -2578,8 +2578,8 @@ void ED_area_prevspace(bContext *C, ScrArea *area) /* no change */ return; } - /* If this is a stacked fullscreen, changing to previous area exits it (meaning we're still in a - * fullscreen, but not in a stacked one). */ + /* If this is a stacked full-screen, changing to previous area exits it (meaning we're still in a + * full-screen, but not in a stacked one). */ area->flag &= ~AREA_FLAG_STACKED_FULLSCREEN; ED_area_tag_redraw(area); diff --git a/source/blender/editors/screen/screen_edit.c b/source/blender/editors/screen/screen_edit.c index 68a47805b8a..bc7006d2ac7 100644 --- a/source/blender/editors/screen/screen_edit.c +++ b/source/blender/editors/screen/screen_edit.c @@ -1275,7 +1275,7 @@ void ED_screen_full_prevspace(bContext *C, ScrArea *area) BLI_assert(area->full); if (area->flag & AREA_FLAG_STACKED_FULLSCREEN) { - /* stacked fullscreen -> only go back to previous area and don't toggle out of fullscreen */ + /* Stacked full-screen -> only go back to previous area and don't toggle out of full-screen. */ ED_area_prevspace(C, area); } else { @@ -1306,8 +1306,8 @@ void ED_screen_full_restore(bContext *C, ScrArea *area) bScreen *screen = CTX_wm_screen(C); short state = (screen ? screen->state : SCREENMAXIMIZED); - /* if fullscreen area has a temporary space (such as a file browser or fullscreen render - * overlaid on top of an existing setup) then return to the previous space */ + /* If full-screen area has a temporary space (such as a file browser or full-screen render + * overlaid on top of an existing setup) then return to the previous space. */ if (sl->next) { if (sl->link_flag & SPACE_FLAG_TYPE_TEMPORARY) { diff --git a/source/blender/editors/screen/screen_intern.h b/source/blender/editors/screen/screen_intern.h index 4c2d94e2018..feda68a51a7 100644 --- a/source/blender/editors/screen/screen_intern.h +++ b/source/blender/editors/screen/screen_intern.h @@ -53,7 +53,7 @@ typedef enum eScreenAxis { /* area.c */ /** - * we swap spaces for fullscreen to keep all allocated data area vertices were set + * We swap spaces for full-screen to keep all allocated data area vertices were set. */ void ED_area_data_copy(ScrArea *area_dst, ScrArea *area_src, bool do_free); void ED_area_data_swap(ScrArea *area_dst, ScrArea *area_src); diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index 5331747beae..9307efce68b 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -3267,7 +3267,7 @@ static int screen_maximize_area_exec(bContext *C, wmOperator *op) BLI_assert(!screen->temp); - /* search current screen for 'fullscreen' areas */ + /* search current screen for 'full-screen' areas */ /* prevents restoring info header, when mouse is over it */ LISTBASE_FOREACH (ScrArea *, area_iter, &screen->areabase) { if (area_iter->full) { |