Updated comments on setAppWindowPos, to clearly indicate that the

method is only used in windowed mode.  This eases the requirements
of the method, since fullscreen code need not be added.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2094 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2010-08-11 22:51:22 +00:00
parent 657a296b32
commit 111f40f875
2 changed files with 8 additions and 2 deletions

View File

@ -446,7 +446,9 @@ class OSystem
/**
Set the position of the application window, generally using
platform-specific code.
platform-specific code. Note that this method is only ever
called for windowed mode, so no provisions need be made
for fullscreen mode.
*/
virtual void setAppWindowPos(int x, int y, int w, int h) { };

View File

@ -41,7 +41,11 @@ class OSystemUNIX : public OSystem
*/
virtual ~OSystemUNIX();
/** Move X11 window to given position. */
public:
/**
Move X11 window to given position. Width and height are not
used (or modified).
*/
void setAppWindowPos(int x, int y, /* not used*/ int, int);
};