working timer
This commit is contained in:
16
include/widgets/wallpaperWindow.hpp
Normal file
16
include/widgets/wallpaperWindow.hpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#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);
|
||||
};
|
||||
Reference in New Issue
Block a user