KWin
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
KWin::ViewportInterface Class Reference

#include <viewporter_p.h>

Inheritance diagram for KWin::ViewportInterface:

Public Member Functions

 ViewportInterface (SurfaceInterface *surface, wl_resource *resource)
 
 ~ViewportInterface () override
 

Static Public Member Functions

static ViewportInterfaceget (SurfaceInterface *surface)
 

Public Attributes

QPointer< SurfaceInterfacesurface
 

Protected Member Functions

void wp_viewport_destroy_resource (Resource *resource) override
 
void wp_viewport_destroy (Resource *resource) override
 
void wp_viewport_set_source (Resource *resource, wl_fixed_t x, wl_fixed_t y, wl_fixed_t width, wl_fixed_t height) override
 
void wp_viewport_set_destination (Resource *resource, int32_t width, int32_t height) override
 

Detailed Description

Definition at line 17 of file viewporter_p.h.

Constructor & Destructor Documentation

◆ ViewportInterface()

KWin::ViewportInterface::ViewportInterface ( SurfaceInterface * surface,
wl_resource * resource )

Definition at line 43 of file viewporter.cpp.

◆ ~ViewportInterface()

KWin::ViewportInterface::~ViewportInterface ( )
override

Definition at line 51 of file viewporter.cpp.

Member Function Documentation

◆ get()

ViewportInterface * KWin::ViewportInterface::get ( SurfaceInterface * surface)
static

Definition at line 59 of file viewporter.cpp.

◆ wp_viewport_destroy()

void KWin::ViewportInterface::wp_viewport_destroy ( Resource * resource)
overrideprotected

Definition at line 69 of file viewporter.cpp.

◆ wp_viewport_destroy_resource()

void KWin::ViewportInterface::wp_viewport_destroy_resource ( Resource * resource)
overrideprotected

Definition at line 64 of file viewporter.cpp.

◆ wp_viewport_set_destination()

void KWin::ViewportInterface::wp_viewport_set_destination ( Resource * resource,
int32_t width,
int32_t height )
overrideprotected

Definition at line 111 of file viewporter.cpp.

◆ wp_viewport_set_source()

void KWin::ViewportInterface::wp_viewport_set_source ( Resource * resource,
wl_fixed_t x,
wl_fixed_t y,
wl_fixed_t width,
wl_fixed_t height )
overrideprotected

Definition at line 82 of file viewporter.cpp.

Member Data Documentation

◆ surface

QPointer<SurfaceInterface> KWin::ViewportInterface::surface

Definition at line 25 of file viewporter_p.h.


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