eobish
diff src/fblib.c @ 7:6a350c554e46
started DOS port
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 19 Jan 2015 15:49:14 +0200 |
parents | ce0548d24918 |
children |
line diff
1.1 --- a/src/fblib.c Mon Jan 19 02:32:01 2015 +0200 1.2 +++ b/src/fblib.c Mon Jan 19 15:49:14 2015 +0200 1.3 @@ -1,6 +1,21 @@ 1.4 #include "fblib.h" 1.5 #include "fblibimp.h" 1.6 1.7 +int fb_get_width(void) 1.8 +{ 1.9 + return fb_width; 1.10 +} 1.11 + 1.12 +int fb_get_height(void) 1.13 +{ 1.14 + return fb_height; 1.15 +} 1.16 + 1.17 +int fb_get_bpp(void) 1.18 +{ 1.19 + return fb_bpp; 1.20 +} 1.21 + 1.22 void fb_set_palette(int *colors) 1.23 { 1.24 fb_set_palette_range(0, 256, colors);