diff options
Diffstat (limited to 'src/FbRootWindow.hh')
-rw-r--r-- | src/FbRootWindow.hh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/FbRootWindow.hh b/src/FbRootWindow.hh new file mode 100644 index 0000000..e846452 --- /dev/null +++ b/src/FbRootWindow.hh | |||
@@ -0,0 +1,15 @@ | |||
1 | #ifndef FBROOTWINDOW_HH | ||
2 | #define FBROOTWINDOW_HH | ||
3 | |||
4 | #include "FbTk/FbWindow.hh" | ||
5 | #include "FbTk/App.hh" | ||
6 | |||
7 | class FbRootWindow: public FbTk::FbWindow { | ||
8 | public: | ||
9 | explicit FbRootWindow(int screen_num): | ||
10 | FbTk::FbWindow(RootWindow(FbTk::App::instance()->display(), | ||
11 | screen_num)) { } | ||
12 | |||
13 | }; | ||
14 | |||
15 | #endif // FBROOTWINDOW_HH | ||