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

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

style: remove trailing spaces, fix copyright statements.

  • Property svn:keywords set to Id
File size: 883 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
7 *  domain software, no warranty is made or implied by Crack dot Com or
8 *  Jonathan Clark.
9 */
10
[2]11#ifndef __GU_STAT_HPP
12#define __GU_STAT_HPP
[481]13#include "status.h"
14#include "jwindow.h"
[2]15#include <string.h>
16
17class gui_status_node;
18class gui_status_manager : public status_manager
19{
20  char title[40];
21  int last_perc;
[124]22  public :
[2]23  gui_status_node *first;
[106]24  gui_status_manager();
[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.