tagging release
[dasher.git] / Src / Win32 / Widgets / Slidebar.h
blob03a3595f69acc716bd83a2c8256ed36c16b46f51
1 // Slidebar.h
2 //
3 /////////////////////////////////////////////////////////////////////////////
4 //
5 // Copyright (c) 2002 Iain Murray, Inference Group, Cavendish, Cambridge.
6 //
7 /////////////////////////////////////////////////////////////////////////////
9 // Interface for a bar with a slider, an edit box and a slider.
10 // Used for explicit speed control.
12 // Usage:
13 // TODO.
15 #ifndef __Slidebar_h__
16 #define __Slidebar_h__
18 #include "Canvas.h"
19 #include "../../DasherCore/DasherInterfaceBase.h"
20 #include "StatusControl.h"
22 class CSlidebar {
23 public:
24 CSlidebar(HWND ParentWindow, CDasherInterfaceBase * DasherInterface);
26 // Called when the parent window gets resized, makes the rebar position itself correctly
27 void Resize();
29 // Return the height, used to layout the rest of the window
30 int GetHeight();
32 private:
33 HWND m_hRebar;
34 CStatusControl *m_pStatusControl;
37 #endif /* #ifndef __Slidebar_h__ */