diff options
-rw-r--r-- | src/FbWinFrame.hh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/FbWinFrame.hh b/src/FbWinFrame.hh index 854701b..e4c5ca2 100644 --- a/src/FbWinFrame.hh +++ b/src/FbWinFrame.hh | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: FbWinFrame.hh,v 1.15 2003/09/10 09:53:21 fluxgen Exp $ | 22 | // $Id: FbWinFrame.hh,v 1.16 2003/09/11 13:15:58 rathnor Exp $ |
23 | 23 | ||
24 | #ifndef FBWINFRAME_HH | 24 | #ifndef FBWINFRAME_HH |
25 | #define FBWINFRAME_HH | 25 | #define FBWINFRAME_HH |
@@ -121,6 +121,10 @@ public: | |||
121 | void hideAllDecorations(); | 121 | void hideAllDecorations(); |
122 | void showAllDecorations(); | 122 | void showAllDecorations(); |
123 | 123 | ||
124 | // this function translates its arguments according to win_gravity | ||
125 | // if win_gravity is negative, it does an inverse translation | ||
126 | void gravityTranslate(int &x, int &y, int win_gravity); | ||
127 | |||
124 | void setBorderWidth(unsigned int borderW); | 128 | void setBorderWidth(unsigned int borderW); |
125 | 129 | ||
126 | /** | 130 | /** |