MidiMountain 0.4.0


Units
Classes, Interfaces and Objects
Types
Variables
Constants
Functions and Procedures
Identifiers

Unit MMTranslate

Description

MidiMountain Translation
unit with translation functions

Functions and Procedures

Overview

procedure ApplyFont( const aCanvas: TCanvas ); overload;
procedure ApplyFont( const aForm: TForm ); overload;
procedure DumpLanguageFile( const aFileName: WideString );
function GetFont: TFont;
procedure InitEnglish( const aList: TWideStringList );
procedure LoadTranslation( const aFileName: WideString );
procedure SetFont( const aFont: TFont );
procedure SetupFont( const aFont: TFont );
function Trans( const aID: integer ) : WideString;

Description

procedure ApplyFont( const aCanvas: TCanvas ); overload;

set the fonts in a canvas

procedure ApplyFont( const aForm: TForm ); overload;

set all the fonts in a form

procedure DumpLanguageFile( const aFileName: WideString );

dump everything into a language file. If existing append new entries

function GetFont: TFont;

 

procedure InitEnglish( const aList: TWideStringList );

initialize the a translation list with english

procedure LoadTranslation( const aFileName: WideString );

load a translation file and initialize the internal lists

procedure SetFont( const aFont: TFont );

 

procedure SetupFont( const aFont: TFont );

setup a font with the current settings

function Trans( const aID: integer ) : WideString;

get the text of an id in the current language

Constants

NameDescription
cApplicationName Application name used in main form caption and about box
cCharSetNames character set names
cDefaultCharSet Default character set name
cDefaultFontName Default font name
cDefaultFontSize default font size
cVersion Current version of MidiMountain

MidiMountain 0.4.0 1999-2002 Adrian Meyer, developed with Delphi and Kylix


Generated by DIPasDoc 0.8.0 on Wed 29 Oct 2003 21:59:09