Noise-generator/includes/windowManager/WindowManager.hpp
2024-12-13 02:02:58 +01:00

25 lines
393 B
C++

#ifndef NOISE_GENERATOR_WINDOWMANAGER_HPP
#define NOISE_GENERATOR_WINDOWMANAGER_HPP
#include <X11/Xlib.h>
#include "err.h"
class WindowManager {
public:
WindowManager(int width, int height);
~WindowManager();
void loop();
private:
Display *_display;
int _screen;
Window root;
Window win;
XEvent event;
int _width;
int _height;
};
#endif //NOISE_GENERATOR_WINDOWMANAGER_HPP