fb_util.c File Reference
#include "common.h"
#include <stdio.h>
#include "fb_private.h"
#include "fb.h"
Include dependency graph for fb_util.c:

Go to the source code of this file.


int fb_sim_view (fb *ifp, int xcenter, int ycenter, int xzoom, int yzoom)
int fb_sim_getview (fb *ifp, int *xcenter, int *ycenter, int *xzoom, int *yzoom)
int fb_sim_cursor (fb *ifp, int mode, int x, int y)
int fb_sim_getcursor (fb *ifp, int *mode, int *x, int *y)
int fb_reset (fb *ifp)
int fb_viewport (fb *ifp, int left, int top, int right, int bottom)
int fb_window (fb *ifp, int x, int y)
int fb_zoom (fb *ifp, int x, int y)
int fb_scursor (fb *ifp, int mode, int x, int y)

Detailed Description

Subroutines to simulate device specific functions for simple device interfaces to use, and backward compatibility routines.

Definition in file fb_util.c.

Function Documentation

int fb_sim_view ( fb ifp,
int  xcenter,
int  ycenter,
int  xzoom,
int  yzoom 
int fb_sim_getview ( fb ifp,
int *  xcenter,
int *  ycenter,
int *  xzoom,
int *  yzoom 
int fb_sim_cursor ( fb ifp,
int  mode,
int  x,
int  y 

Definition at line 79 of file fb_util.c.

References FB_CK_FB, fb_internal::if_cursmode, fb_internal::if_xcurs, and fb_internal::if_ycurs.

Referenced by deb_cursor(), and mem_cursor().

int fb_sim_getcursor ( fb ifp,
int *  mode,
int *  x,
int *  y