Newer
Older
Import / projects / LGN-IP3870 / qtpyui / plugins / gfxdrivers / brcm1103screen.h
@John John on 29 Dec 2020 910 bytes bulk import from macbookpro checkouts
/****************************************************************************
**
** Copyright(C) 2000-$THISYEAR$ $TROLLTECH$. All rights reserved.
**
** This file is part of the $MODULE$ of the Qtopia Toolkit.
**
** $TROLLTECH_DUAL_LICENSE$
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
****************************************************************************/

#ifndef BRCM1103SCREEN_H
#define BRCM1103SCREEN_H

#include <QLinuxFbScreen>
#include "lcd.h"

class Brcm1103Screen : public QLinuxFbScreen
{
public:
    Brcm1103Screen(int displayId);
    ~Brcm1103Screen();

    void blit(const QImage &img, const QPoint &topLeft, const QRegion &region);
    void exposeRegion(QRegion region, int windowIndex);

private:
    LCD_DirtyRows_t dirtyRows;
    int fbd;
};

#endif // BRCM1103SCREEN_H