hi all
Chris Chase reported a name conflict between our new "OpenScreen.m"
and a file that he already had. Frans Cornelissen suggested that we
pick a name less likely to conflict with other software.
Okay.
If we do that then we'll also change the name of the companion file,
"CloseScreen.m".
here are candidate names
PsychOpenScreen - seems hard to remember
PsychCloseScreen
PrepareScreen - a more accurate description of what it does
RestoreScreen - "
ConfigureScreen
RestoreScreen
Of these choices - suggestions are welcome - I like PrepareScreen best.
What do you think?
best
denis
p.s.
It's not clear whether users will end up calling these in their
programs or not. SCREEN.mex automatically calls OpenScreen when you
open the first window on a particular screen. But you might want to
call it before opening your first window. OpenScreen in fact does
little or nothing to the screen itself, its main mission is to set up
the parameters (mostly SCREEN Preference values) appropriately for
the particular driver. Thus it is configuring SCREEN.mex not the
screen. CloseScreen does very little. Its mission is to get the
screen back to a usable state, so the user can resume using the
MATLAB Command window. Thus the new names PrepareScreen and
RestoreScreen are much more descriptive of their functions than the
former Open and Close.
Chris Chase reported a name conflict between our new "OpenScreen.m"
and a file that he already had. Frans Cornelissen suggested that we
pick a name less likely to conflict with other software.
Okay.
If we do that then we'll also change the name of the companion file,
"CloseScreen.m".
here are candidate names
PsychOpenScreen - seems hard to remember
PsychCloseScreen
PrepareScreen - a more accurate description of what it does
RestoreScreen - "
ConfigureScreen
RestoreScreen
Of these choices - suggestions are welcome - I like PrepareScreen best.
What do you think?
best
denis
p.s.
It's not clear whether users will end up calling these in their
programs or not. SCREEN.mex automatically calls OpenScreen when you
open the first window on a particular screen. But you might want to
call it before opening your first window. OpenScreen in fact does
little or nothing to the screen itself, its main mission is to set up
the parameters (mostly SCREEN Preference values) appropriately for
the particular driver. Thus it is configuring SCREEN.mex not the
screen. CloseScreen does very little. Its mission is to get the
screen back to a usable state, so the user can resume using the
MATLAB Command window. Thus the new names PrepareScreen and
RestoreScreen are much more descriptive of their functions than the
former Open and Close.