* Added additional shift space to fullscreen/tile window spaces. So much

more convenient than ctrl uparrow/downarrow since you don't have to take
your hand off the mouse!
This commit is contained in:
Matt Ebb 2005-09-30 09:49:56 +00:00
parent 3b5d8a15b1
commit 3c3b0c13e3

@ -1366,11 +1366,18 @@ void screenmain(void)
} }
} }
else if (event==SPACEKEY) { else if (event==SPACEKEY) {
if((G.obedit && G.obedit->type==OB_FONT && g_activearea->spacetype==SPACE_VIEW3D)||g_activearea->spacetype==SPACE_TEXT||g_activearea->spacetype==SPACE_SCRIPT); if(val && (G.qual & LR_SHIFTKEY)) {
else if(G.qual==0) { area_fullscreen();
if(val) toolbox_n(); g_activearea= NULL;
towin= 0; towin= 0;
} }
else {
if((G.obedit && G.obedit->type==OB_FONT && g_activearea->spacetype==SPACE_VIEW3D)||g_activearea->spacetype==SPACE_TEXT||g_activearea->spacetype==SPACE_SCRIPT);
else if(G.qual==0) {
if(val) toolbox_n();
towin= 0;
}
}
} }
else if(ELEM(event, UPARROWKEY, DOWNARROWKEY)) { else if(ELEM(event, UPARROWKEY, DOWNARROWKEY)) {
if(val && (G.qual & LR_CTRLKEY)) { if(val && (G.qual & LR_CTRLKEY)) {