all repos — fluxbox @ 495530c421d6e979ec33cff8c6f2200885a340f8

custom fork of the fluxbox windowmanager

function name change, minor cleaning
fluxgen fluxgen
commit

495530c421d6e979ec33cff8c6f2200885a340f8

parent

5ebc789e880c96f0c72a0a5f03b71ca867b65f11

1 files changed, 10 insertions(+), 11 deletions(-)

jump to
M src/Toolbar.hhsrc/Toolbar.hh

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Toolbar.hh,v 1.11 2002/08/04 15:55:13 fluxgen Exp $ +// $Id: Toolbar.hh,v 1.12 2002/10/29 16:08:42 fluxgen Exp $ #ifndef TOOLBAR_HH #define TOOLBAR_HH

@@ -129,12 +129,12 @@ @return X window of the toolbar

*/ inline Window getWindowID() const { return frame.window; } - inline unsigned int getWidth() const { return frame.width; } - inline unsigned int getHeight() const { return frame.height; } + inline unsigned int width() const { return frame.width; } + inline unsigned int height() const { return frame.height; } inline unsigned int getExposedHeight() const { return ((do_auto_hide) ? frame.bevel_w : frame.height); } - inline int getX() const { return ((hidden) ? frame.x_hidden : frame.x); } - inline int getY() const { return ((hidden) ? frame.y_hidden : frame.y); } - inline IconBar *getIconBar() { return iconbar; } + inline int x() const { return ((hidden) ? frame.x_hidden : frame.x); } + inline int y() const { return ((hidden) ? frame.y_hidden : frame.y); } + inline const IconBar *iconBar() const { return iconbar; } /** @name eventhandlers */

@@ -188,17 +188,16 @@ class HideHandler : public TimeoutHandler {

public: Toolbar *toolbar; - virtual void timeout(void); + virtual void timeout(); } hide_handler; - Fluxbox *fluxbox; ///< obsolete - BScreen *screen; ///< screen on wich this toolbar exist + BScreen *screen; BImageControl *image_ctrl; - BTimer clock_timer, *hide_timer; + BTimer clock_timer, hide_timer; Toolbarmenu *toolbarmenu; IconBar *iconbar; - std::string new_workspace_name; ///< temp variable in edit mode + std::string new_workspace_name; ///< temp variable in edit workspace name mode friend class HideHandler; friend class Toolbarmenu;