VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/VBoxClient/display-svga-xf86cvt.h@ 98475

Last change on this file since 98475 was 97961, checked in by vboxsync, 2 years ago

add/x11/VBoxClient: scm fix.bugref:9637

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 KB
Line 
1/* $Id: display-svga-xf86cvt.h 97961 2023-01-03 19:42:28Z vboxsync $ */
2/** @file
3 * Guest Additions - Header for display-svga-xf86ctv.cpp.
4 */
5
6/*
7 * Copyright (C) 2006-2023 Oracle and/or its affiliates.
8 *
9 * This file is part of VirtualBox base platform packages, as
10 * available from https://www.virtualbox.org.
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation, in version 3 of the
15 * License.
16 *
17 * This program is distributed in the hope that it will be useful, but
18 * WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, see <https://www.gnu.org/licenses>.
24 *
25 * SPDX-License-Identifier: GPL-3.0-only
26 */
27
28#ifndef GA_INCLUDED_SRC_x11_VBoxClient_display_svga_xf86cvt_h
29#define GA_INCLUDED_SRC_x11_VBoxClient_display_svga_xf86cvt_h
30#ifndef RT_WITHOUT_PRAGMA_ONCE
31# pragma once
32#endif
33
34
35typedef struct DisplayModeR
36{
37 int Clock;
38 int HDisplay;
39 int HSyncStart;
40 int HSyncEnd;
41 int HTotal;
42 int HSkew;
43 int VDisplay;
44 int VSyncStart;
45 int VSyncEnd;
46 int VTotal;
47 int VScan;
48 float HSync;
49 float VRefresh;
50} DisplayModeR;
51
52DisplayModeR VBoxClient_xf86CVTMode(int HDisplay, int VDisplay, float VRefresh /* Herz */, bool Reduced, bool Interlaced);
53
54
55#endif /* !GA_INCLUDED_SRC_x11_VBoxClient_display_svga_xf86cvt_h */
56
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette