Commit cff28eff authored by deuce's avatar deuce
Browse files

Add get/set scaling functions to cterm indirection.

parent d7cf9ec5
......@@ -1896,6 +1896,8 @@ struct cterminal *cterm_init(int height, int width, int xpos, int ypos, int back
cterm->ciolib_clrscr=ciolib_clrscr;
cterm->ciolib_setvideoflags=ciolib_setvideoflags;
cterm->ciolib_getvideoflags=ciolib_getvideoflags;
cterm->ciolib_setscaling=ciolib_setscaling;
cterm->ciolib_getscaling=ciolib_getscaling;
cterm->ciolib_putch=ciolib_putch;
cterm->ciolib_puttext=ciolib_puttext;
cterm->ciolib_window=ciolib_window;
......
......@@ -145,6 +145,8 @@ struct cterminal {
void (*ciolib_clrscr) (struct cterminal *);
void (*ciolib_setvideoflags) (struct cterminal *,int flags);
int (*ciolib_getvideoflags) (struct cterminal *);
void (*ciolib_setscaling) (struct cterminal *,int new_value);
int (*ciolib_getscaling) (struct cterminal *);
int (*ciolib_putch) (struct cterminal *,int);
int (*ciolib_puttext) (struct cterminal *,int,int,int,int,void *);
void (*ciolib_window) (struct cterminal *,int,int,int,int);
......@@ -163,6 +165,8 @@ struct cterminal {
void CIOLIBCALL (*ciolib_clrscr) (void);
void CIOLIBCALL (*ciolib_setvideoflags) (int flags);
int CIOLIBCALL (*ciolib_getvideoflags) (void);
void CIOLIBCALL (*ciolib_setscaling) (int new_value);
int CIOLIBCALL (*ciolib_getscaling) (void);
int CIOLIBCALL (*ciolib_putch) (int);
int CIOLIBCALL (*ciolib_puttext) (int,int,int,int,void *);
void CIOLIBCALL (*ciolib_window) (int,int,int,int);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment