diff options
author | Simon Howard | 2012-10-28 23:45:08 +0000 |
---|---|---|
committer | Simon Howard | 2012-10-28 23:45:08 +0000 |
commit | 993315afc4b1fddaf8952e7e55d1373b5052dd7c (patch) | |
tree | 94aa07d101ddced8404ceaa92ce051ed17fe2a88 /textscreen/txt_io.h | |
parent | a1b2ce54d02823aa85c7df6aa016c567185451ae (diff) | |
parent | ad11652dcd8e0923432ad272e6535276c51d39eb (diff) | |
download | chocolate-doom-993315afc4b1fddaf8952e7e55d1373b5052dd7c.tar.gz chocolate-doom-993315afc4b1fddaf8952e7e55d1373b5052dd7c.tar.bz2 chocolate-doom-993315afc4b1fddaf8952e7e55d1373b5052dd7c.zip |
Merge from trunk.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2537
Diffstat (limited to 'textscreen/txt_io.h')
-rw-r--r-- | textscreen/txt_io.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/textscreen/txt_io.h b/textscreen/txt_io.h index dc25aa93..004fa562 100644 --- a/textscreen/txt_io.h +++ b/textscreen/txt_io.h @@ -29,12 +29,20 @@ #include "txt_main.h" +typedef struct +{ + int bgcolor; + int fgcolor; +} txt_saved_colors_t; + void TXT_PutChar(int c); void TXT_Puts(const char *s); void TXT_GotoXY(int x, int y); void TXT_GetXY(int *x, int *y); void TXT_FGColor(txt_color_t color); void TXT_BGColor(int color, int blinking); +void TXT_SaveColors(txt_saved_colors_t *save); +void TXT_RestoreColors(txt_saved_colors_t *save); void TXT_ClearScreen(void); #endif /* #ifndef TXT_IO_H */ |