Loading...
Searching...
No Matches
driver/set_window.c
Go to the documentation of this file.
#include "driver.h"
#include "driverlib.h"
static struct {
double t, b, l, r;
} window;
void COM_Set_window(double t, double b, double l, double r)
{
window.t = t;
window.b = b;
window.l = l;
window.r = r;
if (driver->Set_window)
(*driver->Set_window)(t, b, l, r);
}
void COM_Get_window(double *t, double *b, double *l, double *r)
{
*t = window.t;
*b = window.b;
*l = window.l;
*r = window.r;
}
b
double b
Definition driver/set_window.c:5
l
double l
Definition driver/set_window.c:5
COM_Set_window
void COM_Set_window(double t, double b, double l, double r)
Definition driver/set_window.c:8
t
double t
Definition driver/set_window.c:5
r
double r
Definition driver/set_window.c:5
COM_Get_window
void COM_Get_window(double *t, double *b, double *l, double *r)
Definition driver/set_window.c:19
driver.h
driverlib.h
driver
Definition driver.h:27
driver::Set_window
void(* Set_window)(double, double, double, double)
Definition driver.h:36