diff options
author | Henrik Kinnunen <fluxgen@fluxbox.org> | 2007-10-17 16:02:07 (GMT) |
---|---|---|
committer | Henrik Kinnunen <fluxgen@fluxbox.org> | 2007-10-17 16:02:07 (GMT) |
commit | 48e3a31cab2c6b515c26e69878f606a6d4d6df6f (patch) | |
tree | 976a0798689d3aa51548f422a41f35240807e354 /src/FbRootWindow.hh | |
download | fbpager-48e3a31cab2c6b515c26e69878f606a6d4d6df6f.zip fbpager-48e3a31cab2c6b515c26e69878f606a6d4d6df6f.tar.bz2 |
initial commit
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 | ||