VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineDefs.h@ 35740

Last change on this file since 35740 was 30753, checked in by vboxsync, 14 years ago

FE/Qt: 3635: Scale-mode initial implementation.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Revision Author Id
File size: 2.3 KB
Line 
1/** @file
2 *
3 * VBox frontends: Qt GUI ("VirtualBox"):
4 * Defines for Virtual Machine classes
5 */
6
7/*
8 * Copyright (C) 2010 Oracle Corporation
9 *
10 * This file is part of VirtualBox Open Source Edition (OSE), as
11 * available from http://www.virtualbox.org. This file is free software;
12 * you can redistribute it and/or modify it under the terms of the GNU
13 * General Public License (GPL) as published by the Free Software
14 * Foundation, in version 2 as it comes in the "COPYING" file of the
15 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
16 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
17 */
18
19#ifndef __UIMachineDefs_h__
20#define __UIMachineDefs_h__
21
22/* Global includes */
23#include <iprt/cdefs.h>
24
25/* Machine states enum: */
26enum UIVisualStateType
27{
28 UIVisualStateType_Normal,
29 UIVisualStateType_Fullscreen,
30 UIVisualStateType_Seamless,
31 UIVisualStateType_Scale
32};
33
34/* Machine elements enum: */
35enum UIVisualElement
36{
37 UIVisualElement_WindowCaption = RT_BIT(0),
38 UIVisualElement_MouseIntegrationStuff = RT_BIT(1),
39 UIVisualElement_PauseStuff = RT_BIT(2),
40 UIVisualElement_HDStuff = RT_BIT(3),
41 UIVisualElement_CDStuff = RT_BIT(4),
42 UIVisualElement_FDStuff = RT_BIT(5),
43 UIVisualElement_NetworkStuff = RT_BIT(6),
44 UIVisualElement_USBStuff = RT_BIT(7),
45 UIVisualElement_VRDPStuff = RT_BIT(8),
46 UIVisualElement_SharedFolderStuff = RT_BIT(9),
47 UIVisualElement_VirtualizationStuff = RT_BIT(10),
48 UIVisualElement_AllStuff = 0xFFFF
49};
50
51/* Mouse states enum: */
52enum UIMouseStateType
53{
54 UIMouseStateType_MouseCaptured = RT_BIT(0),
55 UIMouseStateType_MouseAbsolute = RT_BIT(1),
56 UIMouseStateType_MouseAbsoluteDisabled = RT_BIT(2),
57 UIMouseStateType_MouseNeedsHostCursor = RT_BIT(3)
58};
59
60/* Machine View states enum: */
61enum UIViewStateType
62{
63 UIViewStateType_KeyboardCaptured = RT_BIT(0),
64 UIViewStateType_HostKeyPressed = RT_BIT(1)
65};
66
67/* Main menu enum: */
68enum UIMainMenuType
69{
70 UIMainMenuType_Machine = RT_BIT(0),
71 UIMainMenuType_Devices = RT_BIT(1),
72 UIMainMenuType_View = RT_BIT(2),
73 UIMainMenuType_Debug = RT_BIT(3),
74 UIMainMenuType_Help = RT_BIT(4),
75 UIMainMenuType_All = 0xFF
76};
77
78#endif // __UIMachineDefs_h__
79
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use