45 #include <QtGui/QPlatformScreen> 49 #include <screen/screen.h> 60 QBBScreen(screen_context_t context, screen_display_t
display,
int screenIndex);
65 virtual int depth()
const;
71 int nativeFormat()
const {
return (
depth() == 32) ? SCREEN_FORMAT_RGBA8888 : SCREEN_FORMAT_RGB565; }
139 #endif // QBBSCREEN_H QWidget * topMostChildWindow() const
QSharedPointer< QBBRootWindow > mRootWindow
QPlatformCursor * cursor() const
void newWindowCreated(screen_window_t window)
Format
The following image formats are available in Qt.
#define QT_END_NAMESPACE
This macro expands to.
void onWindowPost(QBBWindow *window)
QSharedPointer< QBBRootWindow > rootWindow() const
screen_context_t nativeContext() const
screen_context_t mContext
void addOverlayWindow(screen_window_t window)
The QByteArray class provides an array of bytes.
void setRotation(int rotation)
void resizeWindows(const QRect &previousScreenGeometry)
Adjust windows to the new screen geometry.
void ensureDisplayCreated()
void lowerWindow(QBBWindow *window)
void addWindow(QBBWindow *child)
#define QT_BEGIN_NAMESPACE
This macro expands to.
Q_GUI_EXPORT EGLDisplay display()
void raiseWindow(QBBWindow *window)
const char * windowGroupName() const
virtual int depth() const
Reimplement in subclass to return current depth of the screen.
void removeOverlayWindow(screen_window_t window)
virtual QRect availableGeometry() const
Reimplement in subclass to return the pixel geometry of the available space This normally is the desk...
virtual QRect geometry() const
Reimplement in subclass to return the pixel geometry of the screen.
screen_display_t mDisplay
QByteArray groupName() const
const char * constData() const
Returns a pointer to the data stored in the byte array.
screen_display_t nativeDisplay() const
virtual QSize physicalSize() const
Reimplement this function in subclass to return the physical size of the screen.
QSize mCurrentPhysicalSize
void keyboardHeightChanged(int height)
QList< QBBWindow * > mChildren
virtual QImage::Format format() const
Reimplement in subclass to return the image format which corresponds to the screen format...
void removeWindow(QBBWindow *child)
QPlatformCursor * mCursor
The QRect class defines a rectangle in the plane using integer precision.
void resizeNativeWidgetWindow(QBBWindow *w, const QRect &previousScreenGeometry) const
void activateWindowGroup(const QByteArray &id)
void deactivateWindowGroup(const QByteArray &id)
void windowGroupStateChanged(const QByteArray &id, Qt::WindowState state)
QBBScreen(screen_context_t context, screen_display_t display, int screenIndex)
The QSize class defines the size of a two-dimensional object using integer point precision.
void resizeTopLevelWindow(QBBWindow *w, const QRect &previousScreenGeometry) const
Resize the given window to fit the screen geometry.
QBBWindow * findWindow(screen_window_t windowHandle)
void windowClosed(screen_window_t window)
The QList class is a template class that provides lists.
QList< screen_window_t > mOverlays