Added DEFAULT_PLAYER_WIDTH and DEFAULT_PLAYER_HEIGHT constant.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@176 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/rfbplayer/rfbplayer.cxx b/rfbplayer/rfbplayer.cxx
index 8df1e5f..89e9d5d 100644
--- a/rfbplayer/rfbplayer.cxx
+++ b/rfbplayer/rfbplayer.cxx
@@ -60,6 +60,8 @@
 #define strcasecmp _stricmp
 #define MAX_SPEED 10
 #define MAX_POS_TRACKBAR_RANGE 50
+#define DEFAULT_PLAYER_WIDTH 640
+#define DEFAULT_PLAYER_HEIGHT 480 
 
 #define ID_TOOLBAR 500
 #define ID_PLAY 510
@@ -225,7 +227,7 @@
   // Create the main window
   const TCHAR* name = _T("RfbPlayer");
   mainHwnd = CreateWindow((const TCHAR*)baseClass.classAtom, name, WS_OVERLAPPEDWINDOW,
-    0, 0, 640, 480, 0, 0, baseClass.instance, this);
+    0, 0, DEFAULT_PLAYER_WIDTH, DEFAULT_PLAYER_HEIGHT, 0, 0, baseClass.instance, this);
   if (!mainHwnd) {
     throw rdr::SystemException("unable to create WMNotifier window instance", GetLastError());
   }