diff options
author | rathnor <rathnor> | 2003-02-09 14:11:14 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-02-09 14:11:14 (GMT) |
commit | e3b99d4e485591df52b2398fce9adbcece2b9917 (patch) | |
tree | 44c14c5160e07e1af0671e141ae99cc1f2e66609 /src/FbTk/XLayer.hh | |
parent | 1a04cf1ce2649400d41c43024bd163a059cc426d (diff) | |
download | fluxbox-e3b99d4e485591df52b2398fce9adbcece2b9917.zip fluxbox-e3b99d4e485591df52b2398fce9adbcece2b9917.tar.bz2 |
fixing up of layer code
Diffstat (limited to 'src/FbTk/XLayer.hh')
-rw-r--r-- | src/FbTk/XLayer.hh | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/FbTk/XLayer.hh b/src/FbTk/XLayer.hh index 739b818..88ba4ef 100644 --- a/src/FbTk/XLayer.hh +++ b/src/FbTk/XLayer.hh | |||
@@ -20,7 +20,7 @@ | |||
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
21 | // DEALINGS IN THE SOFTWARE. | 21 | // DEALINGS IN THE SOFTWARE. |
22 | 22 | ||
23 | // $Id: XLayer.hh,v 1.2 2003/02/02 16:32:41 rathnor Exp $ | 23 | // $Id: XLayer.hh,v 1.3 2003/02/09 14:11:14 rathnor Exp $ |
24 | 24 | ||
25 | 25 | ||
26 | #ifndef FBTK_XLAYER_HH | 26 | #ifndef FBTK_XLAYER_HH |
@@ -61,13 +61,22 @@ public: | |||
61 | iterator insert(XLayerItem &item, unsigned int pos=0); | 61 | iterator insert(XLayerItem &item, unsigned int pos=0); |
62 | void remove(XLayerItem &item); | 62 | void remove(XLayerItem &item); |
63 | 63 | ||
64 | // move highest to bottom | ||
64 | void cycleUp(); | 65 | void cycleUp(); |
65 | void cycleDown(); | 66 | void cycleDown(); |
66 | void raise(XLayerItem &item); | 67 | // just go above the next window up in the current layer (not all the way to the top) |
67 | void lower(XLayerItem &item); | ||
68 | void stepUp(XLayerItem &item); | 68 | void stepUp(XLayerItem &item); |
69 | void stepDown(XLayerItem &item); | 69 | void stepDown(XLayerItem &item); |
70 | 70 | ||
71 | // bring to top of layer | ||
72 | void raise(XLayerItem &item); | ||
73 | void lower(XLayerItem &item); | ||
74 | |||
75 | // send to next layer up | ||
76 | void raiseLayer(XLayerItem &item); | ||
77 | void lowerLayer(XLayerItem &item); | ||
78 | void moveToLayer(XLayerItem &item, int layernum); | ||
79 | |||
71 | private: | 80 | private: |
72 | MultLayers &m_manager; | 81 | MultLayers &m_manager; |
73 | int m_layernum; | 82 | int m_layernum; |