summaryrefslogtreecommitdiff
path: root/packages/ptc/src/x11/x11consoled.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ptc/src/x11/x11consoled.inc')
-rw-r--r--packages/ptc/src/x11/x11consoled.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/ptc/src/x11/x11consoled.inc b/packages/ptc/src/x11/x11consoled.inc
index 45b9e4ac1f..65c830d7a6 100644
--- a/packages/ptc/src/x11/x11consoled.inc
+++ b/packages/ptc/src/x11/x11consoled.inc
@@ -1,6 +1,6 @@
{
This file is part of the PTCPas framebuffer library
- Copyright (C) 2001-2013 Nikolay Nikolov (nickysn@users.sourceforge.net)
+ Copyright (C) 2001-2013, 2016 Nikolay Nikolov (nickysn@users.sourceforge.net)
Original C++ version by Christian Nentwich (c.nentwich@cs.ucl.ac.uk)
This library is free software; you can redistribute it and/or
@@ -27,7 +27,7 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
}
type
@@ -40,6 +40,7 @@ type
procedure UpdateCursor;
procedure UpdateMouseGrab;
+ function UpdateRelativeMouseMode: Boolean;
function CreateDisplay: TX11Display; { Factory method }
@@ -117,6 +118,8 @@ type
function NextEvent(out AEvent: IPTCEvent; AWait: Boolean; const AEventMask: TPTCEventMask): Boolean; override;
function PeekEvent(AWait: Boolean; const AEventMask: TPTCEventMask): IPTCEvent; override;
+ function MoveMouseTo(X, Y: Integer): Boolean; override;
+
procedure OpenGL_SwapBuffers; override;
procedure OpenGL_SetSwapInterval(AInterval: Integer); override;
function OpenGL_GetSwapInterval: Integer; override;