#include <CClient.hpp>
#include <IIPCChannel.hpp>
#include <ipc.hpp>
+#include <draw_text.hpp> // for the fonts
namespace AxWin {
void CClient::SetWindow(int ID, CWindow* window)
{
- _SysDebug("SetWindow(ID=%i,window=%p)", ID, window);
+ //_SysDebug("SetWindow(ID=%i,window=%p)", ID, window);
auto it = m_windows.find(ID);
if( it != m_windows.end() ) {
_SysDebug("CLIENT BUG: Window ID %i is already used by %p", ID, it->second);
}
}
+IFontFace& CClient::GetFont(unsigned int id)
+{
+ static CFontFallback fallback_font;
+ if( id == 0 ) {
+ _SysDebug("GetFont: %i = %p", id, &fallback_font);
+ return fallback_font;
+ }
+ assert(!"TODO: CClient::GetFont id != 0");
+}
+
void CClient::HandleMessage(CDeserialiser& message)
{
try {