22 |
|
#include <intuition/intuition.h> |
23 |
|
#include <graphics/rastport.h> |
24 |
|
#include <graphics/gfx.h> |
25 |
< |
#include <cybergraphx/cybergraphics.h> |
25 |
> |
#include <cybergraphics/cybergraphics.h> |
26 |
|
#include <dos/dostags.h> |
27 |
|
#include <devices/timer.h> |
28 |
|
#include <proto/exec.h> |
598 |
|
// Handle message according to class |
599 |
|
switch (cl) { |
600 |
|
case IDCMP_MOUSEMOVE: |
601 |
< |
if (display_type == DISPLAY_SCREEN || display_type == DISPLAY_SCREEN_CGFX) |
601 |
> |
if (display_type == DISPLAY_SCREEN_P96 || display_type == DISPLAY_SCREEN_CGFX) |
602 |
|
ADBMouseMoved(mx, my); |
603 |
|
else |
604 |
|
ADBMouseMoved(mx - the_win->BorderLeft, my - the_win->BorderTop); |