17 lines
411 B
C++
17 lines
411 B
C++
#pragma once
|
|
|
|
#include <gtk4-layer-shell/gtk4-layer-shell.h>
|
|
#include <gtkmm.h>
|
|
#include <string>
|
|
|
|
class WallpaperWindow : public Gtk::Window {
|
|
public:
|
|
WallpaperWindow(GdkMonitor *monitor, const std::string &imagePath);
|
|
|
|
private:
|
|
Gtk::Picture picture;
|
|
|
|
static std::string expand_user_path(const std::string &path);
|
|
static Glib::RefPtr<Gdk::Texture> load_texture(const std::string &path);
|
|
};
|