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)
This commit is contained in:
Matt Ebb 2010-01-05 00:45:05 +00:00
parent c95ad12dac
commit 665011e410
2 changed files with 5 additions and 5 deletions

@ -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);

@ -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) {