source: abuse/trunk/src/chat.h @ 682

Last change on this file since 682 was 643, checked in by Sam Hocevar, 9 years ago

imlib: refactor Event and EventHandler?.

  • Property svn:keywords set to Id
File size: 705 bytes
RevLine 
[56]1/*
2 *  Abuse - dark 2D side-scrolling platform game
3 *  Copyright (c) 1995 Crack dot Com
[494]4 *  Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
[56]5 *
6 *  This software was released into the Public Domain. As with most public
[555]7 *  domain software, no warranty is made or implied by Crack dot Com, by
8 *  Jonathan Clark, or by Sam Hocevar.
[56]9 */
10
[2]11#ifndef CHAT_HPP_
12#define CHAT_HPP_
13
[481]14#include "console.h"
[2]15
16class chat_console : public console
17{
18
19  public :
[643]20  int chat_event(Event &ev) { if (!con_win) return 0; else return con_win==ev.window; }
[2]21  void draw_user(char *st);
22  void put_all(char *st);
23  void clear();
[106]24  chat_console(JCFont *font, int width, int height);
[124]25
[2]26} ;
27
28extern chat_console *chat;
29
30#endif
31
32
Note: See TracBrowser for help on using the repository browser.