~ubuntu-branches/ubuntu/trusty/psychtoolbox-3/trusty-proposed

« back to all changes in this revision

Viewing changes to Psychtoolbox/PsychOneliners/kPsychGUIWindow.m

  • Committer: Package Import Robot
  • Author(s): Yaroslav Halchenko
  • Date: 2013-11-19 23:34:50 UTC
  • mfrom: (3.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20131119233450-f7nf92vb8qavjmk8
Tags: 3.0.11.20131017.dfsg1-3
Upload to unsable since fresh glew has arrived to sid!

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
function rc = kPsychGUIWindow
 
2
% kPsychGUIWindow -- Create onscreen windows with behaviour of normal GUI windows.
 
3
%
 
4
% This flag can be passed to the optional 'specialFlags' parameter of
 
5
% Screen('OpenWindow', ...) or PsychImaging('OpenWindow', ...).
 
6
%
 
7
% It will cause the onscreen window to be a "regular" window that mostly
 
8
% behaves like typical GUI windows on your system. The window will have a
 
9
% titlebar and title, a border and other decorations. It will have buttons
 
10
% and handles to allow it to be moved around, resized, minimized or
 
11
% maximized, hidden and so on. Functions like Screen('Rect'),
 
12
% Screen('GlobalRect') and Screen('WindowSize') will report the true size
 
13
% and position of the window after it has been resized or moved around. The
 
14
% GetMouse() function will optionally report if the window has keyboard
 
15
% input focus because it is the active foreground window.
 
16
%
 
17
% Window stacking order, transparency and other window manager interactions
 
18
% should mostly behave as with other application windows.
 
19
%
 
20
% Please note that timing precision and timestamp precision for visual
 
21
% stimulus onset for this mode will not be guaranteed. Performance may be
 
22
% reduced. Other limitations may apply.
 
23
%
 
24
% GUI window mode is a "best effort" behaviour, as Psychtoolbox is not
 
25
% really designed to be - or exactly behave - like a regular GUI toolkit.
 
26
%
 
27
 
 
28
% This is the numeric constant for GUI window mode:
 
29
rc = 32;
 
30
 
 
31
return;