Changeset View
Changeset View
Standalone View
Standalone View
platformsupport/scenes/qpainter/backend.h
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | 33 | public: | |||
---|---|---|---|---|---|
45 | **/ | 45 | **/ | ||
46 | virtual OverlayWindow *overlayWindow(); | 46 | virtual OverlayWindow *overlayWindow(); | ||
47 | virtual bool usesOverlayWindow() const = 0; | 47 | virtual bool usesOverlayWindow() const = 0; | ||
48 | virtual void prepareRenderingFrame() = 0; | 48 | virtual void prepareRenderingFrame() = 0; | ||
49 | /** | 49 | /** | ||
50 | * @brief Shows the Overlay Window | 50 | * @brief Shows the Overlay Window | ||
51 | * | 51 | * | ||
52 | * Default implementation does nothing. | 52 | * Default implementation does nothing. | ||
53 | */ | 53 | **/ | ||
54 | virtual void showOverlay(); | 54 | virtual void showOverlay(); | ||
55 | /** | 55 | /** | ||
56 | * @brief React on screen geometry changes. | 56 | * @brief React on screen geometry changes. | ||
57 | * | 57 | * | ||
58 | * Default implementation does nothing. Override if specific functionality is required. | 58 | * Default implementation does nothing. Override if specific functionality is required. | ||
59 | * | 59 | * | ||
60 | * @param size The new screen size | 60 | * @param size The new screen size | ||
61 | */ | 61 | **/ | ||
62 | virtual void screenGeometryChanged(const QSize &size); | 62 | virtual void screenGeometryChanged(const QSize &size); | ||
63 | /** | 63 | /** | ||
64 | * @brief Whether the creation of the Backend failed. | 64 | * @brief Whether the creation of the Backend failed. | ||
65 | * | 65 | * | ||
66 | * The SceneQPainter should test whether the Backend got constructed correctly. If this method | 66 | * The SceneQPainter should test whether the Backend got constructed correctly. If this method | ||
67 | * returns @c true, the SceneQPainter should not try to start the rendering. | 67 | * returns @c true, the SceneQPainter should not try to start the rendering. | ||
68 | * | 68 | * | ||
69 | * @return bool @c true if the creation of the Backend failed, @c false otherwise. | 69 | * @return bool @c true if the creation of the Backend failed, @c false otherwise. | ||
Show All 39 Lines |