summaryrefslogtreecommitdiff
path: root/src/FbTk/FbWindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/FbWindow.cc')
-rw-r--r--src/FbTk/FbWindow.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/FbTk/FbWindow.cc b/src/FbTk/FbWindow.cc
index 14298ef..5634a5d 100644
--- a/src/FbTk/FbWindow.cc
+++ b/src/FbTk/FbWindow.cc
@@ -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: FbWindow.cc,v 1.17 2003/05/13 14:07:24 fluxgen Exp $ 22// $Id: FbWindow.cc,v 1.18 2003/05/17 10:43:20 fluxgen Exp $
23 23
24#include "FbWindow.hh" 24#include "FbWindow.hh"
25#include "EventManager.hh" 25#include "EventManager.hh"
@@ -177,6 +177,14 @@ void FbWindow::raise() {
177 XRaiseWindow(s_display, m_window); 177 XRaiseWindow(s_display, m_window);
178} 178}
179 179
180void FbWindow::setCursor(Cursor cur) {
181 XDefineCursor(s_display, window(), cur);
182}
183
184void FbWindow::unsetCursor() {
185 XUndefineCursor(s_display, window());
186}
187
180int FbWindow::screenNumber() const { 188int FbWindow::screenNumber() const {
181 return m_screen_num; 189 return m_screen_num;
182} 190}