#pragma once
//==========================================================================//
// File:	 LocalizationManager.hpp										//
// Project:  GameOS					                                        //
// Contents: Localizer routines												//
//--------------------------------------------------------------------------//
// Date      Who    Modification                                            //
//																			//
//																			//
//--------------------------------------------------------------------------//
// Copyright (C) 1999 Microsoft Corp.						                 //
// All Rights reserved worldwide                                            //
// This unpublished sourcecode is PROPRIETARY and CONFIDENTIAL              //
//==========================================================================//
		



struct hResource
{
	hResource*	pNext;
	
	HINSTANCE	hInstance;
	char		Name[256];
	DWORD		ReferenceCount;

} ;

struct gos_CaretInfo
{
	DWORD		fontX;
	DWORD		fontY;
	float		fontSize;
	HGOSFONT3D	fontHandle;
	DWORD		fontColorComp;
	DWORD		fontColorCand;
	bool		fontBold;
	bool		fontItalic;
	bool		fontProportional;
	RECT		margins ;
} ;

void TextDrawDBCS(  char *Message );

void InitLocalization();
void DestroyLocalization();

void LocalizationSetPurgeFlags();
void LocalizationPurge();
void LocalizationShutdown();
void RenderIME();

extern DWORD gEnableLoc;
