Files
bar/include/widgets/wallpaperWindow.hpp
2026-02-07 21:16:35 +01:00

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);
};