]> source.dussan.org Git - tigervnc.git/commitdiff
Added Go to Pos dialog in RfbPlayer. This dialog allows users
authorgeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Tue, 8 Feb 2005 15:51:18 +0000 (15:51 +0000)
committergeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Tue, 8 Feb 2005 15:51:18 +0000 (15:51 +0000)
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

rfbplayer/resource.h
rfbplayer/rfbplayer.rc

index f875fc151f79be6e4d410a1841155009cb415333..cb3e917238563d60f83e581007658ec03546f387 100644 (file)
@@ -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
index 8645d172b6fec0b2490fc2bf0a4921025b0366a0..f6bf4db326ba757291c25bf22a3a2c77f292b9eb 100644 (file)
@@ -194,6 +194,48 @@ END
 //
 
 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
 /////////////////////////////////////////////////////////////////////////////