source: abuse/trunk/src/imlib/guistat.hpp @ 90

Last change on this file since 90 was 57, checked in by Sam Hocevar, 12 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: 872 bytes
RevLine 
[56]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
[2]10#ifndef __GU_STAT_HPP
11#define __GU_STAT_HPP
12#include "status.hpp"
13#include "jwindow.hpp"
14#include <string.h>
15
16class gui_status_node;
17class gui_status_manager : public status_manager
18{
19  window_manager *wm;
20  char title[40];
21  int last_perc;
22  public :   
23  gui_status_node *first;
24  gui_status_manager(window_manager *WM);
[39]25  virtual void push(char const *name, visual_object *show);
[2]26  virtual void update(int percentage);
27  virtual void pop();
28  void draw_bar(gui_status_node *whom, int perc);
[39]29  void set_window_title(char const *name) { strncpy(title,name,39); }
[2]30  virtual void force_display();
31} ;
32
33#endif
Note: See TracBrowser for help on using the repository browser.