//
// PSurface.hh for pekwm
// Copyright (C) 2023 Claes NÃ¤sten <pekdon@gmail.com>
//
// This program is licensed under the GNU GPL.
// See the LICENSE file for more information.
//

#ifndef _PEKWM_PSURFACE_HH_
#define _PEKWM_PSURFACE_HH_

#include "X11.hh"

/**
 * Surface interface used for drawing operations.
 */
class PSurface {
public:
	PSurface() { }
	virtual ~PSurface() { }

	virtual Drawable getDrawable() const = 0;

	virtual int getX() const = 0;
	virtual int getY() const = 0;
	virtual uint getWidth() const = 0;
	virtual uint getHeight() const = 0;
};

#endif // _PEKWM_PSURFACE_HH_
