aboutsummaryrefslogtreecommitdiffstats
path: root/rfbplayer/rfbplayer.h
diff options
context:
space:
mode:
authorgeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>2005-01-19 16:44:04 +0000
committergeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>2005-01-19 16:44:04 +0000
commitd070c694f2486812a9ed068ab4dad21dfb2a4552 (patch)
treed7c43dab620567a23e30f42fefbff1abd7265c1c /rfbplayer/rfbplayer.h
parente9dfcb0d81dc577b7b7aebf7c3fef7f119766080 (diff)
downloadtigervnc-d070c694f2486812a9ed068ab4dad21dfb2a4552.tar.gz
tigervnc-d070c694f2486812a9ed068ab4dad21dfb2a4552.zip
Added the ToolBar to RfbPlayer.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@105 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'rfbplayer/rfbplayer.h')
-rw-r--r--rfbplayer/rfbplayer.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/rfbplayer/rfbplayer.h b/rfbplayer/rfbplayer.h
index 880dcb8a..3d34991c 100644
--- a/rfbplayer/rfbplayer.h
+++ b/rfbplayer/rfbplayer.h
@@ -23,6 +23,7 @@
#include <rfb_win32/DIBSectionBuffer.h>
#include <rfbplayer/RfbProto.h>
+#include <rfbplayer/ToolBar.h>
using namespace rfb;
using namespace rfb::win32;
@@ -42,9 +43,7 @@ class RfbPlayer : public Thread, public RfbProto{
HWND getMainHandle() const {return mainHwnd;}
HWND getFrameHandle() const {return frameHwnd;}
- HWND getStartBtn() const {return btnStart;}
- HWND getPosEdit() const {return editPos;}
- HWND getSpeedEdit() const {return editSpeed;}
+ void createToolBar(HWND parentHwnd);
void setFrameSize(int width, int height);
void setVisible(bool visible);
void setTitle(const char *title);
@@ -145,18 +144,18 @@ class RfbPlayer : public Thread, public RfbProto{
// Local window state
HWND mainHwnd;
- HWND btnStart;
- HWND txtPos;
- HWND editPos;
- HWND txtSpeed;
- HWND editSpeed;
HWND frameHwnd;
+ HWND timeStatic;
+ HWND speedEdit;
+ HWND speedTrackBar;
+ HWND speedUpDown;
Rect window_size;
Rect client_size;
Point scrolloffset;
Point maxscrolloffset;
char *cutText;
win32::DIBSectionBuffer* buffer;
+ ToolBar tb;
// The player's parameters
bool showControls;