summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
39ec5cd)
Delete Window's private data in destructor
if(options.fullscreen)
display.restore_mode();
if(options.fullscreen)
display.restore_mode();
}
void Window::set_title(const string &title)
}
void Window::set_title(const string &title)
+void Window::warp_pointer(int x, int y)
+{
+#ifndef WIN32
+ XWarpPointer(display.get_private().display, None, priv->window, 0, 0, 0, 0, x, y);
+#endif
+}
+
void Window::show()
{
#ifdef WIN32
void Window::show()
{
#ifdef WIN32
void set_title(const std::string &);
void reconfigure(const WindowOptions &);
void show_cursor(bool);
void set_title(const std::string &);
void reconfigure(const WindowOptions &);
void show_cursor(bool);
+ void warp_pointer(int, int);
Display &get_display() const { return display; }
const WindowOptions &get_options() const { return options; }
Display &get_display() const { return display; }
const WindowOptions &get_options() const { return options; }