mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
* New files - CGameInterface.h and CGameInterface.cpp - add them to your project
* Fixed several memory leaks * Added support for player colors in CMessage (still need some work) * Moved declarations of CPreGame buttons to CPreGame.h * started making player interface (new button classes etc)
This commit is contained in:
8
CGameInterface.cpp
Normal file
8
CGameInterface.cpp
Normal file
@ -0,0 +1,8 @@
|
||||
#include "stdafx.h"
|
||||
#include "CGameInterface.h"
|
||||
using namespace CSDL_Ext;
|
||||
void CButtonBase::show()
|
||||
{
|
||||
blitAt(imgs[state],pos.x,pos.y);
|
||||
updateRect(&pos);
|
||||
}
|
Reference in New Issue
Block a user