/**
 * Scout - The Amiga System Monitor
 *
 *------------------------------------------------------------------
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 * You must not use this source code to gain profit of any kind!
 *
 *------------------------------------------------------------------
 *
 * @author Andreas Gelhausen
 * @author Richard Körber <rkoerber@gmx.de>
 */


/* Prototypes for functions defined in
objects/scout_fonts.c
 */

struct FontEntry {
    struct TextFont *fe_Addr;
    UBYTE fe_Address[ADDRESS_LENGTH];
    UBYTE fe_Name[FILENAME_LENGTH];
    UBYTE fe_XSize[NUMBER_LENGTH];
    UBYTE fe_YSize[NUMBER_LENGTH];
    UBYTE fe_Style[NUMBER_LENGTH];
    UBYTE fe_Flags[NUMBER_LENGTH];
    UBYTE fe_Count[NUMBER_LENGTH];
    UBYTE fe_LoChar[NUMBER_LENGTH];
    UBYTE fe_HiChar[NUMBER_LENGTH];
    UBYTE fe_Place[NUMBER_LENGTH];
};

void FlushFonts(void);

void PrintFonts( char * );

void SendFontList( void );

#define FontsWindowObject                    NewObject(FontsWinClass->mcc_Class, NULL

struct FontsWinData {
    UBYTE fwd_Title[WINDOW_TITLE_LENGTH];
    APTR fwd_FontList;
    APTR fwd_FontText;
    APTR fwd_FontCount;
    APTR fwd_CloseButton;
    APTR fwd_RemoveButton;
    APTR fwd_MoreButton;
};

ULONG __asm __saveds FontsWinDispatcher( register __a0 struct IClass *cl,
                                         register __a2 Object *obj,
                                         register __a1 Msg msg );

