Qt 4.8
Public Functions | Properties | List of all members
QWaylandXCompositeBuffer Class Reference

#include <qwaylandxcompositebuffer.h>

Inheritance diagram for QWaylandXCompositeBuffer:
QWaylandBuffer

Public Functions

 QWaylandXCompositeBuffer (struct wl_xcomposite *xcomposite, uint32_t window, const QSize &size, struct wl_visual *visual)
 
QSize size () const
 
- Public Functions inherited from QWaylandBuffer
wl_buffer * buffer ()
 
 QWaylandBuffer ()
 
virtual ~QWaylandBuffer ()
 

Properties

QSize mSize
 

Additional Inherited Members

- Protected Variables inherited from QWaylandBuffer
struct wl_buffer * mBuffer
 

Detailed Description

Definition at line 49 of file qwaylandxcompositebuffer.h.

Constructors and Destructors

◆ QWaylandXCompositeBuffer()

QWaylandXCompositeBuffer::QWaylandXCompositeBuffer ( struct wl_xcomposite *  xcomposite,
uint32_t  window,
const QSize size,
struct wl_visual *  visual 
)

Definition at line 46 of file qwaylandxcompositebuffer.cpp.

47  :mSize(size)
48 {
50  window,
51  size.width(),
52  size.height(),
53  visual);
54 }
static struct wl_buffer * wl_xcomposite_create_buffer(struct wl_xcomposite *wl_xcomposite, uint32_t x_window, int width, int height, struct wl_visual *visual)
NSWindow * window
int width() const
Returns the width.
Definition: qsize.h:126
int height() const
Returns the height.
Definition: qsize.h:129
struct wl_buffer * mBuffer

Functions

◆ size()

QSize QWaylandXCompositeBuffer::size ( ) const
virtual

Implements QWaylandBuffer.

Definition at line 56 of file qwaylandxcompositebuffer.cpp.

57 {
58  return mSize;
59 }

Properties

◆ mSize

QSize QWaylandXCompositeBuffer::mSize
private

Definition at line 59 of file qwaylandxcompositebuffer.h.

Referenced by size().


The documentation for this class was generated from the following files: