From fa05dc56ea0bf29100efd2cb4399d8f4818f73e7 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 4 Dec 2002 03:47:59 +0000 Subject: give the grips cursors --- otk/widget.hh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'otk/widget.hh') diff --git a/otk/widget.hh b/otk/widget.hh index 2e58cc99..57973e9b 100644 --- a/otk/widget.hh +++ b/otk/widget.hh @@ -88,6 +88,10 @@ public: void setStretchableVert(bool s_vert = true) { _stretchable_vert = s_vert; } inline Cursor getCursor(void) const { return _cursor; } + void setCursor(Cursor cursor) { + _cursor = cursor; + XDefineCursor(OBDisplay::display, _window, _cursor); + } inline int getBevelWidth(void) const { return _bevel_width; } void setBevelWidth(int bevel_width) -- cgit v1.2.3