source: abuse/trunk/src/lmenu.hpp @ 57

Last change on this file since 57 was 57, checked in by Sam Hocevar, 15 years ago
  • Move each header to the same directory as its corresponding source, to get a better idea of which files are likely to export symbols.
File size: 713 bytes
Line 
1/*
2 *  Abuse - dark 2D side-scrolling platform game
3 *  Copyright (c) 1995 Crack dot Com
4 *
5 *  This software was released into the Public Domain. As with most public
6 *  domain software, no warranty is made or implied by Crack dot Com or
7 *  Jonathan Clark.
8 */
9
10#ifndef __LMENU_HPP_
11#define __LMENU_HPP_
12
13class lmenu : public ifield
14{
15public :
16  int id;
17  ifield *next;
18  virtual void area(int &x1, int &y1, int &x2, int &y2, window_manager *wm);
19  virtual void draw_first(image *screen, window_manager *wm);
20  virtual void draw(int active, image *screen, window_manager *wm)        = 0;
21  virtual void handle_event(event &ev, image *screen, window_manager *wm) = 0;
22  virtual char *read() = 0;
23} ;
24} ;
25
26#endif
Note: See TracBrowser for help on using the repository browser.