- fixed compilation problems with CyberGraphX code

This commit is contained in:
cebix 2000-07-22 16:20:55 +00:00
parent 675c5f1d7b
commit ae4a8d0439
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@
#include <libraries/asl.h>
#include <libraries/gtlayout.h>
#include <libraries/Picasso96.h>
#include <cybergraphx/cybergraphics.h>
#include <cybergraphics/cybergraphics.h>
#include <graphics/displayinfo.h>
#include <devices/ahi.h>
#include <proto/exec.h>

View File

@ -22,7 +22,7 @@
#include <intuition/intuition.h>
#include <graphics/rastport.h>
#include <graphics/gfx.h>
#include <cybergraphx/cybergraphics.h>
#include <cybergraphics/cybergraphics.h>
#include <dos/dostags.h>
#include <devices/timer.h>
#include <proto/exec.h>
@ -598,7 +598,7 @@ static __saveds void periodic_func(void)
// Handle message according to class
switch (cl) {
case IDCMP_MOUSEMOVE:
if (display_type == DISPLAY_SCREEN || display_type == DISPLAY_SCREEN_CGFX)
if (display_type == DISPLAY_SCREEN_P96 || display_type == DISPLAY_SCREEN_CGFX)
ADBMouseMoved(mx, my);
else
ADBMouseMoved(mx - the_win->BorderLeft, my - the_win->BorderTop);