NETPoint Struct

Simple point class for NET classes. More...

Header: #include <netwm_def.h>
CMake: find_package(KF6 REQUIRED COMPONENTS KWindowSystem)
target_link_libraries(mytarget PRIVATE KF6::KWindowSystem)

Public Functions

Public Variables

int x
int y

Detailed Description

This class is a convenience class defining a point x, y. The existence of this class is to keep the implementation from being dependent on a separate framework/library.

NETPoint is only used by the NET API. Usually QPoint is the appropriate class for representing a point.

Member Function Documentation

NETPoint::NETPoint()

Constructor to initialize this point to 0,0.

Member Variable Documentation

int NETPoint::x

This variable holds the point's X coordinate.

int NETPoint::y

This variable holds the point's Y coordinate.