KWin
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
KWin::ContrastInterface Class Reference

Represents the Resource for the org_kde_kwin_contrast interface. More...

#include <contrast.h>

Inheritance diagram for KWin::ContrastInterface:

Public Member Functions

 ~ContrastInterface () override
 
QRegion region () const
 
qreal contrast () const
 
qreal intensity () const
 
qreal saturation () const
 
QColor frost () const
 

Friends

class ContrastManagerInterfacePrivate
 

Detailed Description

Represents the Resource for the org_kde_kwin_contrast interface.

Instances of this class are only generated by the ContrastManagerInterface. The ContrastInterface gets attached to a SurfaceInterface and can be assessed from there using SurfaceInterface::contrast(). Please note that the ContrastInterface is only available on the SurfaceInterface after it has been committed.

See also
ContrastManagerInterface
SurfaceInterface

Definition at line 59 of file contrast.h.

Constructor & Destructor Documentation

◆ ~ContrastInterface()

KWin::ContrastInterface::~ContrastInterface ( )
overridedefault

Member Function Documentation

◆ contrast()

qreal KWin::ContrastInterface::contrast ( ) const

Definition at line 188 of file contrast.cpp.

◆ frost()

QColor KWin::ContrastInterface::frost ( ) const

Definition at line 203 of file contrast.cpp.

◆ intensity()

qreal KWin::ContrastInterface::intensity ( ) const

Definition at line 193 of file contrast.cpp.

◆ region()

QRegion KWin::ContrastInterface::region ( ) const

Definition at line 183 of file contrast.cpp.

◆ saturation()

qreal KWin::ContrastInterface::saturation ( ) const

Definition at line 198 of file contrast.cpp.

Friends And Related Symbol Documentation

◆ ContrastManagerInterfacePrivate

friend class ContrastManagerInterfacePrivate
friend

Definition at line 73 of file contrast.h.


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