convert line ends
[canaan.git] / prj / tech / libsrc / dev2d / sfoc.c
blob306e597e144aece7f0b603959e4386777dc54841
1 #include <grd.h>
2 #include <bitmap.h>
3 #include <idevice.h>
5 #define gri_set_focus \
6 ((void (*)(int x, int y))grd_device_table[GDC_GET_FOCUS])
8 void gr_set_focus(int x, int y)
10 gri_set_focus(x, y);
12 grd_screen->x = x;
13 grd_screen->y = y;
14 grd_visible_canvas->bm.bits = grd_screen_canvas->bm.bits;
15 gr_calc_sub_bitmap(&grd_visible_canvas->bm, x, y);