diff options
author | Matt Ebb <matt@mke3.net> | 2010-01-05 03:45:05 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-01-05 03:45:05 +0300 |
commit | 665011e4103d10c205aaf459ca168a20c2410448 (patch) | |
tree | 9913508eb9ce5f84582ea4b1251c98720eddf1ff /source/blender | |
parent | c95ad12dac094eef86b41faf0bf495a12124069a (diff) |
Fix for some confusing terminology: Window type -> Editor type
Correct hierarchy of terminology should be:
* Window (OS level window with borders)
* Area (top level subdivision in Blender UI), containing an
* Editor (actual UI functionality such as 3D View, Properties)
* Region (subdivision of an area, i.e. a header, a properties panel or toolbar)
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/screen/area.c | 8 | ||||
-rw-r--r-- | source/blender/editors/space_buttons/buttons_header.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index d9d76e963a3..c494afac79e 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -1107,10 +1107,10 @@ void ED_area_prevspace(bContext *C, ScrArea *sa) ED_area_tag_redraw(sa); } -static char *windowtype_pup(void) +static char *editortype_pup(void) { return( - "Window type:%t" + "Editor type:%t" "|3D View %x1" "|%l" @@ -1160,9 +1160,9 @@ int ED_area_header_switchbutton(const bContext *C, uiBlock *block, int yco) int xco= 8; but= uiDefIconTextButC(block, ICONTEXTROW, 0, ICON_VIEW3D, - windowtype_pup(), xco, yco, XIC+10, YIC, + editortype_pup(), xco, yco, XIC+10, YIC, &(sa->butspacetype), 1.0, SPACEICONMAX, 0, 0, - "Displays Current Window Type. " + "Displays Current Editor Type. " "Click for menu of available types."); uiButSetFunc(but, spacefunc, NULL, NULL); diff --git a/source/blender/editors/space_buttons/buttons_header.c b/source/blender/editors/space_buttons/buttons_header.c index 0fb7ea9283c..c9df1f76dd9 100644 --- a/source/blender/editors/space_buttons/buttons_header.c +++ b/source/blender/editors/space_buttons/buttons_header.c @@ -67,7 +67,7 @@ static void do_buttons_buttons(bContext *C, void *arg, int event) { SpaceButs *sbuts= CTX_wm_space_buts(C); - if(!sbuts) /* window type switch */ + if(!sbuts) /* editor type switch */ return; switch(event) { |