1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

a bit of hero window

help needed - make something to prevent changing surface stored in CHeroWindow::background. I do not overwrite it, but it changes dramatically with every call of CHeroWindow method!

And besides - is there anything to make my window displayed easily, without calling show() every frame when it should be displayed? any machanism?
This commit is contained in:
mateuszb
2008-01-10 19:01:25 +00:00
parent 9530fb42c2
commit e62cfed95f
9 changed files with 67 additions and 4 deletions

View File

@@ -5,6 +5,7 @@
#include "SDL.h"
#include "CPlayerInterface.h"
#include <map>
#include "CHeroWindow.h"
class CDefHandler;
class CCallback;
class CTownInstance;
@@ -235,6 +236,8 @@ public:
CHeroList heroList;
CTownList townList;
CInfoBar infoBar;
CHeroWindow heroWindow;
struct CurrentSelection
{