BRL-CAD
fb_qt.h
Go to the documentation of this file.
1 /* F B _ Q T . H
2  * BRL-CAD
3  *
4  * Copyright (c) 2014 United States Government as represented by
5  * the U.S. Army Research Laboratory.
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public License
9  * version 2.1 as published by the Free Software Foundation.
10  *
11  * This library is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this file; see the file named COPYING for more
18  * information.
19  */
20 /** @addtogroup if */
21 /** @{*/
22 /** @file fb_qt.h
23  *
24  * Structure holding information necessary for embedding a
25  * framebuffer in an X11 parent window. This is NOT public API
26  * for libfb, and is not guaranteed to be stable from one
27  * release to the next.
28  *
29  */
30 /** @} */
31 
32 #ifdef FB_USE_INTERNAL_API
33 #ifdef IF_QT
34 #include "common.h"
35 #include <QApplication>
36 #include <QPainter>
37 #include <QWindow>
38 #include <QBackingStore>
39 #include <QResizeEvent>
40 #include <QImage>
41 
42 struct qt_fb_info {
43  void *qapp;
44  void *qwin;
45  void *qpainter;
46  void *draw;
47  void **qimg;
48 };
49 #endif /* IF_QT */
50 #endif /* FB_USE_INTERNAL_API */
51 
52 /*
53  * Local Variables:
54  * mode: C
55  * tab-width: 8
56  * indent-tabs-mode: t
57  * c-file-style: "stroustrup"
58  * End:
59  * ex: shiftwidth=4 tabstop=8
60  */
Header file for the BRL-CAD common definitions.