diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2011-02-23 21:49:27 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2011-02-23 21:49:27 (GMT) |
commit | 9616a676d869b8f67742da99d55e9327ea867166 (patch) | |
tree | 32d8daf4d851b4038e7098f88570891c0727bd7b /src/tests | |
parent | 813e6c4402b7d13a9e7b1ce3e391bc4c8d894ea3 (diff) | |
download | fluxbox_paul-9616a676d869b8f67742da99d55e9327ea867166.zip fluxbox_paul-9616a676d869b8f67742da99d55e9327ea867166.tar.bz2 |
renamed FbTk::XLayer to FbTk::Layer and FbTk::XLayerItem to FbTk::LayerItem
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/testLayers.cc | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/tests/testLayers.cc b/src/tests/testLayers.cc index 23d2f67..181e138 100644 --- a/src/tests/testLayers.cc +++ b/src/tests/testLayers.cc | |||
@@ -7,8 +7,8 @@ | |||
7 | #include "Color.hh" | 7 | #include "Color.hh" |
8 | #include "EventManager.hh" | 8 | #include "EventManager.hh" |
9 | #include <iostream> | 9 | #include <iostream> |
10 | #include "XLayer.hh" | 10 | #include "Layer.hh" |
11 | #include "XLayerItem.hh" | 11 | #include "LayerItem.hh" |
12 | #include "MultLayers.hh" | 12 | #include "MultLayers.hh" |
13 | 13 | ||
14 | using namespace FbTk; | 14 | using namespace FbTk; |
@@ -87,26 +87,26 @@ int main() { | |||
87 | Display *disp = app.display(); | 87 | Display *disp = app.display(); |
88 | XEvent event; | 88 | XEvent event; |
89 | MultLayers *ml = new MultLayers(3); | 89 | MultLayers *ml = new MultLayers(3); |
90 | XLayerItem *item_red = new XLayerItem(win_red.window()); | 90 | LayerItem *item_red = new XLayerItem(win_red.window()); |
91 | item_red->addWindow(win_redB.window()); | 91 | item_red->addWindow(win_redB.window()); |
92 | XLayerItem *item_green = new XLayerItem(win_green.window()); | 92 | LayerItem *item_green = new LayerItem(win_green.window()); |
93 | XLayerItem *item_blue = new XLayerItem(win_blue.window()); | 93 | LayerItem *item_blue = new LayerItem(win_blue.window()); |
94 | 94 | ||
95 | ml->addToTop(*item_blue, 0); | 95 | ml->addToTop(*item_blue, 0); |
96 | ml->addToTop(*item_green, 0); | 96 | ml->addToTop(*item_green, 0); |
97 | ml->addToTop(*item_red, 0); | 97 | ml->addToTop(*item_red, 0); |
98 | 98 | ||
99 | XLayerItem *item_red2 = new XLayerItem(win_red2.window()); | 99 | LayerItem *item_red2 = new LayerItem(win_red2.window()); |
100 | XLayerItem *item_green2 = new XLayerItem(win_green2.window()); | 100 | LayerItem *item_green2 = new LayerItem(win_green2.window()); |
101 | XLayerItem *item_blue2 = new XLayerItem(win_blue2.window()); | 101 | LayerItem *item_blue2 = new LayerItem(win_blue2.window()); |
102 | 102 | ||
103 | ml->addToTop(*item_blue2, 1); | 103 | ml->addToTop(*item_blue2, 1); |
104 | ml->addToTop(*item_green2, 1); | 104 | ml->addToTop(*item_green2, 1); |
105 | ml->addToTop(*item_red2, 1); | 105 | ml->addToTop(*item_red2, 1); |
106 | 106 | ||
107 | XLayerItem *item_red3 = new XLayerItem(win_red3.window()); | 107 | LayerItem *item_red3 = new LayerItem(win_red3.window()); |
108 | XLayerItem *item_green3 = new XLayerItem(win_green3.window()); | 108 | LayerItem *item_green3 = new LayerItem(win_green3.window()); |
109 | XLayerItem *item_blue3 = new XLayerItem(win_blue3.window()); | 109 | LayerItem *item_blue3 = new LayerItem(win_blue3.window()); |
110 | 110 | ||
111 | ml->addToTop(*item_blue3, 2); | 111 | ml->addToTop(*item_blue3, 2); |
112 | ml->addToTop(*item_green3, 2); | 112 | ml->addToTop(*item_green3, 2); |