source: abuse/trunk/src/imlib/guistat.h @ 481

Last change on this file since 481 was 481, checked in by Sam Hocevar, 12 years ago

Fuck the history, I'm renaming all .hpp files to .h for my own sanity.

  • Property svn:keywords set to Id
File size: 825 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
[481]12#include "status.h"
13#include "jwindow.h"
[2]14#include <string.h>
15
16class gui_status_node;
17class gui_status_manager : public status_manager
18{
19  char title[40];
20  int last_perc;
[124]21  public :
[2]22  gui_status_node *first;
[106]23  gui_status_manager();
[39]24  virtual void push(char const *name, visual_object *show);
[2]25  virtual void update(int percentage);
26  virtual void pop();
27  void draw_bar(gui_status_node *whom, int perc);
[39]28  void set_window_title(char const *name) { strncpy(title,name,39); }
[2]29  virtual void force_display();
30} ;
31
32#endif
Note: See TracBrowser for help on using the repository browser.