aboutsummaryrefslogtreecommitdiff
path: root/saga/console.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2004-05-02 00:00:39 +0000
committerEugene Sandulenko2004-05-02 00:00:39 +0000
commit90a876798ae05b865c25a8ee98f20d1695315984 (patch)
treec5d887ad0bf229caa16503624ec9d91372bd1b7b /saga/console.cpp
parent0765b272aef169411df8fc1a17d4a5f28f76bf8a (diff)
downloadscummvm-rg350-90a876798ae05b865c25a8ee98f20d1695315984.tar.gz
scummvm-rg350-90a876798ae05b865c25a8ee98f20d1695315984.tar.bz2
scummvm-rg350-90a876798ae05b865c25a8ee98f20d1695315984.zip
Merged sysgfx.cpp and gfx.cpp to gfx.cpp
svn-id: r13726
Diffstat (limited to 'saga/console.cpp')
-rw-r--r--saga/console.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/saga/console.cpp b/saga/console.cpp
index d001846664..b1cf724f6b 100644
--- a/saga/console.cpp
+++ b/saga/console.cpp
@@ -216,9 +216,9 @@ int CON_Draw(R_SURFACE *ds) {
fill_rect.bottom = ConInfo.y_pos;
fill_rect.right = ds->buf_w - 1;
- GFX_DrawRect(ds, &fill_rect, SYSGFX_MatchColor(R_CONSOLE_BGCOLOR));
- txt_fgcolor = SYSGFX_MatchColor(R_CONSOLE_TXTCOLOR);
- txt_shcolor = SYSGFX_MatchColor(R_CONSOLE_TXTSHADOW);
+ GFX_DrawRect(ds, &fill_rect, GFX_MatchColor(R_CONSOLE_BGCOLOR));
+ txt_fgcolor = GFX_MatchColor(R_CONSOLE_TXTCOLOR);
+ txt_shcolor = GFX_MatchColor(R_CONSOLE_TXTSHADOW);
FONT_Draw(SMALL_FONT_ID, ds, ">", 1, 2, ConInfo.y_pos - 10, txt_fgcolor, txt_shcolor, FONT_SHADOW);
FONT_Draw(SMALL_FONT_ID, ds, ConInfo.input_buf, strlen(ConInfo.input_buf),
@@ -354,7 +354,7 @@ int CON_DropConsole(double percent) {
percent = 1.0;
}
- back_buf = SYSGFX_GetBackBuffer();
+ back_buf = GFX_GetBackBuffer();
CON_SetDropPos(percent);
CON_Draw(back_buf);
@@ -369,7 +369,7 @@ int CON_RaiseConsole(double percent) {
ConInfo.active = 0;
}
- back_buf = SYSGFX_GetBackBuffer();
+ back_buf = GFX_GetBackBuffer();
CON_SetDropPos(1.0 - percent);
CON_Draw(back_buf);