/*
    ORPP Client

    (C) 2005 Jason Hunt

    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 (at your option) 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., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

    Contact: huntjas2@msu.edu

    Compile with -lwsock32

    FILE: display.h
*/

#ifndef DISPLAY_H
#define DISPLAY_H


#define max_image_x 640     // size of image buffer
#define max_image_y 480

#define text_x_size 80
#define text_y_size 6

#define font_x_size 8
#define font_y_size 15

#define text_area_height  (text_y_size*font_y_size) 

// interface to windows colors
typedef struct color_type
{
    unsigned char b, g, r, pad;
};

void add_line(char *line);
void display(void);
void clear_text_area(void);
void setup_buffer( void );
void resize_window(unsigned int x_size, unsigned int y_size);

extern bool targeting;
extern bool logging_enabled;

extern HWND main_win;

#endif

