+ //! Update the frame's size to match the client
+ void adjustSize();
+ //! Update the frame's position to match the client
+ void adjustPosition();
+
+ //! Applies gravity to the client's position to find where the frame should
+ //! be positioned.
+ /*!
+ @return The proper coordinates for the frame, based on the client.
+ */
+ void clientGravity(int &x, int &y);
+
+ //! Reversly applies gravity to the frame's position to find where the client
+ //! should be positioned.
+ /*!
+ @return The proper coordinates for the client, based on the frame.
+ */
+ void frameGravity(int &x, int &y);