comment out uses of mouse_set_limits and mouse_set_pos
This commit is contained in:
parent
48ba4377dc
commit
e76c6476cd
|
@ -17,6 +17,8 @@
|
|||
main/gamesave.c: s/128/PATH_MAX
|
||||
* include/pstypes.h, main/newmenu.c: clean up path/file length macros
|
||||
* ui/inputbox.c, ui/keypad.c: use unsigned char when comparing to > 127
|
||||
* ui/mouse.c, file ui/popup.c, ui/window.c: comment out uses of
|
||||
mouse_set_limits and mouse_set_pos (we don't want to limit user)
|
||||
|
||||
2005-01-24 Chris Taylor <c.taylor@student.curtin.edu.au>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: mouse.c,v 1.5 2005-01-25 19:44:27 schaffner Exp $ */
|
||||
/* $Id: mouse.c,v 1.6 2005-01-25 21:31:45 schaffner Exp $ */
|
||||
/*
|
||||
THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
|
||||
SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
|
||||
|
@ -13,7 +13,7 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
|
|||
*/
|
||||
|
||||
#ifdef RCS
|
||||
static char rcsid[] = "$Id: mouse.c,v 1.5 2005-01-25 19:44:27 schaffner Exp $";
|
||||
static char rcsid[] = "$Id: mouse.c,v 1.6 2005-01-25 21:31:45 schaffner Exp $";
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
|
@ -240,7 +240,7 @@ void ui_mouse_init()
|
|||
w = grd_curscreen->sc_w;
|
||||
h = grd_curscreen->sc_h;
|
||||
|
||||
mouse_set_limits( 0,0, w-1, h-1 );
|
||||
//mouse_set_limits(0, 0, w - 1, h - 1);
|
||||
|
||||
Mouse.x = w/2;
|
||||
Mouse.y = h/2;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: popup.c,v 1.4 2005-01-24 22:19:10 schaffner Exp $ */
|
||||
/* $Id: popup.c,v 1.5 2005-01-25 21:31:45 schaffner Exp $ */
|
||||
/*
|
||||
THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
|
||||
SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
|
||||
|
@ -13,7 +13,7 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
|
|||
*/
|
||||
|
||||
#ifdef RCS
|
||||
static char rcsid[] = "$Id: popup.c,v 1.4 2005-01-24 22:19:10 schaffner Exp $";
|
||||
static char rcsid[] = "$Id: popup.c,v 1.5 2005-01-25 21:31:45 schaffner Exp $";
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
|
@ -112,7 +112,7 @@ int PopupMenu( int NumButtons, char * text[] )
|
|||
|
||||
wnd = ui_open_window( x, y, width, height, WIN_DIALOG );
|
||||
|
||||
mouse_set_pos( Mouse.x, Mouse.y );
|
||||
//mouse_set_pos(Mouse.x, Mouse.y);
|
||||
|
||||
x = MENU_BORDER+3;
|
||||
y = MENU_BORDER+3;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: window.c,v 1.6 2005-01-25 19:44:27 schaffner Exp $ */
|
||||
/* $Id: window.c,v 1.7 2005-01-25 21:31:45 schaffner Exp $ */
|
||||
/*
|
||||
THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
|
||||
SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
|
||||
|
@ -13,7 +13,7 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
|
|||
*/
|
||||
|
||||
#ifdef RCS
|
||||
static char rcsid[] = "$Id: window.c,v 1.6 2005-01-25 19:44:27 schaffner Exp $";
|
||||
static char rcsid[] = "$Id: window.c,v 1.7 2005-01-25 21:31:45 schaffner Exp $";
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
|
@ -221,7 +221,7 @@ UI_WINDOW * ui_open_window( short x, short y, short w, short h, int flags )
|
|||
sw = grd_curscreen->sc_w;
|
||||
sh = grd_curscreen->sc_h;
|
||||
|
||||
mouse_set_limits( 0,0, sw-1, sh-1 );
|
||||
//mouse_set_limits(0, 0, sw - 1, sh - 1);
|
||||
|
||||
req_w = w;
|
||||
req_h = h;
|
||||
|
|
Loading…
Reference in a new issue