From 1d3cd38e88ae97dd6906f9818d52b9ef07bf057d Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Wed, 16 Jun 2004 18:50:57 +0000 Subject: - fixed disappearing Scrolltext when Message was displayed - fixed display-items "MenuScrollUp" and "MenuScrollDown" which didn't display any other items than "Symbol" - fixed the above for all replay- and channel-symbols (for all display-items that can be symbols there must be path, altpath or both to tell the plugin if that item is to be drawn if the symbol is on, off or in both cases) - fixed various memory leaks and missing destructions (valgrind rox) - fixed the image loaders to respect the alpha value and palette properly (this hopefully also fixes the phenomenon that images "get lost" after some time) - added display-item "Scrollbar" - SKINS and SKINS.de are now generated during the make --- display.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'display.c') diff --git a/display.c b/display.c index 50f042d..43a6786 100644 --- a/display.c +++ b/display.c @@ -1,5 +1,5 @@ /* - * $Id: display.c,v 1.16 2004/06/12 18:00:05 lordjaxom Exp $ + * $Id: display.c,v 1.17 2004/06/16 18:46:50 lordjaxom Exp $ */ #include "render.h" @@ -300,8 +300,8 @@ void cText2SkinDisplayMenu::SetItem(const char *Text, int Index, bool Current, b if (!Tab(i + 1)) break; } - SetEditableWidth(mRender->GetEditableWidth(item, Current)); mRender->Lock(); + SetEditableWidth(mRender->GetEditableWidth(item, Current)); if ((int)mRender->mMenuItems.size() <= Index) { mRender->mMenuItems.push_back(item); mDirty = true; -- cgit v1.2.3