1 #ifndef QEMU_GUI_TOOLBAR_H
2 #define QEMU_GUI_TOOLBAR_H
4 #include <wx/toolbar.h>
6 class QemuUIToolBar
: public wxToolBar
9 QemuUIToolBar(wxWindow
*parent
,long style
= wxTB_HORIZONTAL
|
10 wxNO_BORDER
| wxTB_TEXT
| wxTB_FLAT
);
13 * Disable all items in the toolbar
17 * Enable/Disable all display related toolbar items
19 void EnableDisplayArea();
20 void DisableDisplayArea();
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
);
34 void SendVMCommand(bool state
);
35 void EnableDisplayScreen(bool state
);