suwako / UnixWallpaper アーカイブ

このリポジトリはアーカイブされています。読むだけで、プッシュやイシューの変更は出来ません。

master
ブランチ master
UnixWallpaper / src / fe / background.hh
582 B、27行 生 Blame 履歴
1#pragma once
2
3#include <FL/Fl_Widget.H>
4#include <FL/Fl_Choice.H>
5
6#include <string>
7
8#include "../uw/background.hh"
9
10namespace fe {
11 class Background {
12 public:
13 Background();
14 ~Background();
15
16 static void chooseImageCb(Fl_Widget *, void *);
17 static void setWallpaperCb(Fl_Widget *, void *);
18 static void modeCHangeCb(Fl_Widget *, void *);
19
20 static std::string getFilename() { return sfp; }
21 static void setFilename(std::string filename) { sfp = filename; }
22 static uw::Mode getMode();
23
24 private:
25 static std::string sfp;
26 };
27}