aboutsummaryrefslogtreecommitdiffstats
path: root/rfbplayer
diff options
context:
space:
mode:
authorgeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>2005-04-17 02:21:00 +0000
committergeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>2005-04-17 02:21:00 +0000
commit01b119e2b11cab6bb845f42e2529df2e15fb2188 (patch)
treedb43efeed5f67bfed78420a58e527339b1e97d88 /rfbplayer
parent138a818936fed7f8498f96b8dc952a7755a0930d (diff)
downloadtigervnc-01b119e2b11cab6bb845f42e2529df2e15fb2188.tar.gz
tigervnc-01b119e2b11cab6bb845f42e2529df2e15fb2188.zip
Removed the "Full Screen" button from the toolbar.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@290 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'rfbplayer')
-rw-r--r--rfbplayer/rfbplayer.cxx15
1 files changed, 6 insertions, 9 deletions
diff --git a/rfbplayer/rfbplayer.cxx b/rfbplayer/rfbplayer.cxx
index 061c7177..ba8450d0 100644
--- a/rfbplayer/rfbplayer.cxx
+++ b/rfbplayer/rfbplayer.cxx
@@ -381,9 +381,6 @@ RfbPlayer::processMainMessage(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
}
}
break;
- case ID_FULLSCREEN:
- MessageBox(getMainHandle(), "It is not working yet!", "RfbPlayer", MB_OK);
- break;
case ID_LOOP:
options.loopPlayback = !options.loopPlayback;
if (options.loopPlayback) CheckMenuItem(hMenu, ID_LOOP, MF_CHECKED);
@@ -634,13 +631,13 @@ void RfbPlayer::createToolBar(HWND parentHwnd) {
tb.addButton(0, ID_PLAY);
tb.addButton(1, ID_PAUSE);
tb.addButton(2, ID_STOP);
- tb.addButton(0, 0, TBSTATE_ENABLED, TBSTYLE_SEP);
- tb.addButton(3, ID_FULLSCREEN);
+/// tb.addButton(0, 0, TBSTATE_ENABLED, TBSTYLE_SEP);
+/// tb.addButton(3, ID_FULLSCREEN);
tb.addButton(0, 0, TBSTATE_ENABLED, TBSTYLE_SEP);
// Create the static control for the time output
tb.addButton(125, 0, TBSTATE_ENABLED, TBSTYLE_SEP);
- tb.getButtonRect(6, &tRect);
+ tb.getButtonRect(4, &tRect);
timeStatic = CreateWindowEx(0, "Static", "00m:00s (00m:00s)",
WS_CHILD | WS_VISIBLE, tRect.left, tRect.top+2, tRect.right-tRect.left,
tRect.bottom-tRect.top, tb.getHandle(), (HMENU)ID_TIME_STATIC,
@@ -649,7 +646,7 @@ void RfbPlayer::createToolBar(HWND parentHwnd) {
// Create the trackbar control for the time position
tb.addButton(200, 0, TBSTATE_ENABLED, TBSTYLE_SEP);
- tb.getButtonRect(8, &tRect);
+ tb.getButtonRect(6, &tRect);
posTrackBar = CreateWindowEx(0, TRACKBAR_CLASS, "Trackbar Control",
WS_CHILD | WS_VISIBLE | TBS_AUTOTICKS | TBS_ENABLESELRANGE,
tRect.left, tRect.top, tRect.right-tRect.left, tRect.bottom-tRect.top,
@@ -660,14 +657,14 @@ void RfbPlayer::createToolBar(HWND parentHwnd) {
// Create the label with "Speed:" caption
tb.addButton(50, 0, TBSTATE_ENABLED, TBSTYLE_SEP);
- tb.getButtonRect(10, &tRect);
+ tb.getButtonRect(8, &tRect);
CreateWindowEx(0, "Static", "Speed:", WS_CHILD | WS_VISIBLE,
tRect.left, tRect.top+2, tRect.right-tRect.left, tRect.bottom-tRect.top,
tb.getHandle(), (HMENU)ID_SPEED_STATIC, GetModuleHandle(0), 0);
// Create the edit control and the spin for the speed managing
tb.addButton(60, 0, TBSTATE_ENABLED, TBSTYLE_SEP);
- tb.getButtonRect(11, &tRect);
+ tb.getButtonRect(9, &tRect);
speedEdit = CreateWindowEx(WS_EX_CLIENTEDGE, "Edit", "1.00",
WS_CHILD | WS_VISIBLE | ES_RIGHT, tRect.left, tRect.top,
tRect.right-tRect.left, tRect.bottom-tRect.top, parentHwnd,