Eneboo - Documentación para desarrolladores
src/qt/src/kernel/qvfbhdr.h
Ir a la documentación de este archivo.
00001 /****************************************************************************
00002 **
00003 ** Qt/Embedded virtual framebuffer
00004 **
00005 ** Created : 20000605
00006 **
00007 ** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
00008 **
00009 ** This file is part of the kernel module of the Qt GUI Toolkit.
00010 **
00011 ** This file may be distributed and/or modified under the terms of the
00012 ** GNU General Public License version 2 as published by the Free Software
00013 ** Foundation and appearing in the file LICENSE.GPL included in the
00014 ** packaging of this file.
00015 **
00016 ** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
00017 ** licenses for Qt/Embedded may use this file in accordance with the
00018 ** Qt Embedded Commercial License Agreement provided with the Software.
00019 **
00020 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00021 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00022 **
00023 ** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
00024 **   information about Qt Commercial License Agreements.
00025 ** See http://www.trolltech.com/gpl/ for GPL licensing information.
00026 **
00027 ** Contact info@trolltech.com if any conditions of this licensing are
00028 ** not clear to you.
00029 **
00030 **********************************************************************/
00031 
00032 #ifndef QVFBHDR_H
00033 #define QVFBHDR_H
00034 
00035 #ifndef QT_H
00036 #include "qcolor.h"
00037 #include "qrect.h"
00038 #endif // QT_H
00039 
00040 #define QT_VFB_MOUSE_PIPE       "/tmp/.qtvfb_mouse-%1"
00041 #define QT_VFB_KEYBOARD_PIPE    "/tmp/.qtvfb_keyboard-%1"
00042 
00043 struct QVFbHeader
00044 {
00045     int width;
00046     int height;
00047     int depth;
00048     int linestep;
00049     int dataoffset;
00050     QRect update;
00051     bool dirty;
00052     int  numcols;
00053     QRgb clut[256];
00054 };
00055 
00056 struct QVFbKeyData
00057 {
00058     unsigned int unicode;
00059     unsigned int modifiers;
00060     bool press;
00061     bool repeat;
00062 };
00063 
00064 #endif
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'