From 5071a1754f3db0adcf477ecf8e5b2a818d1935bd Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Wed, 14 Jul 2004 16:49:10 +0000 Subject: - fixed display of scrollbar if there is no text present - fixed animation delay if update takes longer than the delay - using backgrounds also in 8-bit fullscreen mode to improve performance - implemented screen layer to improve performance - corrected offsets and tab widths in main menu - implemented parameters "current", "mark" and "selected" to choose mark colors in replay display (defaults to the old values) - implemented color value "None" to be able to unset a color --- display.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'display.c') diff --git a/display.c b/display.c index d046a85..efb875b 100644 --- a/display.c +++ b/display.c @@ -1,11 +1,12 @@ /* - * $Id: display.c,v 1.18 2004/06/24 18:37:30 lordjaxom Exp $ + * $Id: display.c,v 1.19 2004/07/02 19:00:22 lordjaxom Exp $ */ #include "render.h" #include "data.h" #include "loader.h" #include "display.h" +#include "scroller.h" // --- cText2SkinDisplayChannel ----------------------------------------------- @@ -248,6 +249,7 @@ void cText2SkinDisplayMenu::Clear(void) { mRender->mMenuEvent = NULL; mRender->mMenuRecording = NULL; mRender->mMenuText = ""; + Dprintf("Clear\n"); //mRender->mMessageText = ""; DELETENULL(mRender->mScroller); mRender->Unlock(); @@ -281,6 +283,7 @@ void cText2SkinDisplayMenu::SetButtons(const char *Red, const char *Green, const } void cText2SkinDisplayMenu::SetMessage(eMessageType Type, const char *Text) { + Dprintf("SetMessage %s\n", Text); if (Text == NULL) Text = ""; mRender->Lock(); if (mRender->mMessageType != Type || mRender->mMessageText != Text) { -- cgit v1.2.3