source: abuse/trunk/src/ui/volumewindow.hpp @ 118

Last change on this file since 118 was 118, checked in by Sam Hocevar, 12 years ago
  • Create a VolumeWindow? class with most of the volume_window stuff and moved it to src/ui/volumewindow.cpp.
File size: 639 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#include "config.h"
11
12#include "dev.hpp"
13
14class VolumeWindow : public jwindow
15{
16private:
17    int slider, u_u, u_d, u_ua, u_da, d_u, d_d, d_ua, d_da;
18    int bg;
19
20public:
21    VolumeWindow();
22
23    virtual void redraw();
24
25    void draw_music_vol();
26    void draw_sfx_vol();
27    void draw_vol(int x1, int y1, int x2, int y2, int t,
28                  int max, int c1, int c2);
29};
30
Note: See TracBrowser for help on using the repository browser.