Added Go to Pos dialog in RfbPlayer. This dialog allows users
go to the custom time position in rfb session.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@157 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/rfbplayer/resource.h b/rfbplayer/resource.h
index f875fc1..cb3e917 100644
--- a/rfbplayer/resource.h
+++ b/rfbplayer/resource.h
@@ -6,6 +6,8 @@
#define IDR_MENU 128
#define IDR_ACCELERATOR 131
#define IDB_TOOLBAR 132
+#define IDD_GOTO 133
+#define IDC_GOTO_EDIT 1003
#define ID_OPENFILE 40011
#define ID_CLOSEFILE 40012
#define ID_EXIT 40013
@@ -29,9 +31,9 @@
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
-#define _APS_NEXT_RESOURCE_VALUE 133
+#define _APS_NEXT_RESOURCE_VALUE 134
#define _APS_NEXT_COMMAND_VALUE 40045
-#define _APS_NEXT_CONTROL_VALUE 1003
+#define _APS_NEXT_CONTROL_VALUE 1004
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif
diff --git a/rfbplayer/rfbplayer.rc b/rfbplayer/rfbplayer.rc
index 8645d17..f6bf4db 100644
--- a/rfbplayer/rfbplayer.rc
+++ b/rfbplayer/rfbplayer.rc
@@ -194,6 +194,48 @@
//
IDB_TOOLBAR BITMAP DISCARDABLE "toolbar.bmp"
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Dialog
+//
+
+IDD_GOTO DIALOG DISCARDABLE 0, 0, 153, 54
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "RfbPlayer : Go to position"
+FONT 8, "MS Sans Serif"
+BEGIN
+ DEFPUSHBUTTON "OK",IDOK,40,33,50,14
+ PUSHBUTTON "Cancel",IDCANCEL,95,33,51,14
+ EDITTEXT IDC_GOTO_EDIT,40,9,106,14,ES_AUTOHSCROLL
+ LTEXT "Pos (ms):",IDC_STATIC,7,9,33,15,SS_CENTERIMAGE
+END
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// DESIGNINFO
+//
+
+#ifdef APSTUDIO_INVOKED
+GUIDELINES DESIGNINFO DISCARDABLE
+BEGIN
+ IDD_GOTO, DIALOG
+ BEGIN
+ LEFTMARGIN, 7
+ RIGHTMARGIN, 146
+ VERTGUIDE, 40
+ VERTGUIDE, 90
+ VERTGUIDE, 95
+ TOPMARGIN, 9
+ BOTTOMMARGIN, 47
+ HORZGUIDE, 9
+ HORZGUIDE, 24
+ HORZGUIDE, 35
+ END
+END
+#endif // APSTUDIO_INVOKED
+
#endif // English (U.K.) resources
/////////////////////////////////////////////////////////////////////////////