suwako / UnixWallpaper アーカイブ

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

master
ブランチ master
UnixWallpaper / src / fe / widget.hh
803 B、25行 生 Blame 履歴
1#pragma once
2
3#include <FL/Fl_Button.H>
4#include <FL/Fl_Scroll.H>
5#include <FL/Fl_Choice.H>
6
7namespace fe {
8 class Widget {
9 public:
10 static Fl_Button *getSetButton() { return setButton; }
11 static void setSetButton(Fl_Button *b) { setButton = b; }
12 static Fl_Button *getChooseButton() { return chooseButton; }
13 static void setChooseButton(Fl_Button *b) { chooseButton = b; }
14 static Fl_Scroll *getScroll() { return scroll; }
15 static void setScroll(Fl_Scroll *s) { scroll = s; }
16 static Fl_Choice *getModeChoice() { return modeChoice; }
17 static void setModeChoice(Fl_Choice *c) { modeChoice = c; }
18
19 private:
20 static Fl_Button *chooseButton;
21 static Fl_Button *setButton;
22 static Fl_Scroll *scroll;
23 static Fl_Choice *modeChoice;
24 };
25}