Debugging framework
[qemu-gui.git] / toolbar.h
blob9dde31832ecb0a824eeaeed23161f1a5505287a9
1 #ifndef QEMU_GUI_TOOLBAR_H
2 #define QEMU_GUI_TOOLBAR_H
4 #include <wx/toolbar.h>
6 class QemuUIToolBar : public wxToolBar
8 public:
9 QemuUIToolBar(wxWindow *parent,long style = wxTB_HORIZONTAL |
10 wxNO_BORDER | wxTB_TEXT | wxTB_FLAT);
11 ~QemuUIToolBar();
12 /**
13 * Disable all items in the toolbar
15 void Disable();
16 /**
17 * Enable/Disable all display related toolbar items
19 void EnableDisplayArea();
20 void DisableDisplayArea();
21 /**
22 * Set the state of the various toolbar buttons
24 void PowerOn(bool state);
25 void PowerOff(bool state);
26 void Pause(bool state);
27 void Reset(bool state);
28 void Kill(bool state);
29 void Snapshot(bool state);
30 void RevertSnapshot(bool state);
31 void ShowInfo();
32 void ShowScreen();
33 void ShowConsole();
34 void SendVMCommand(bool state);
35 void EnableDisplayScreen(bool state);
38 #endif