1 // wmmixer.h - A mixer designed for WindowMaker
4 // Copyright (C) 1998 Sam Hawker <shawkie@geocities.com>
5 // Copyright (C) 2002 Gordon Fraser <gordon@debian.org>
6 // This software comes with ABSOLUTELY NO WARRANTY
7 // This software is free software, and you are welcome to redistribute it
8 // under certain conditions
9 // See the COPYING file for details.
30 #include "exception.h"
32 // For repeating next and prev buttons
43 char mixer_device_
[256];
44 unsigned num_channels_
;
45 unsigned current_channel_
;
46 unsigned current_channel_left_
;
47 unsigned current_channel_right_
;
48 bool current_recording_
;
49 bool current_show_recording_
;
53 unsigned *channel_list_
;
57 // For draggable volume control
59 // Default scroll amount
63 void readConfigurationFile();
64 void displayVersion(void);
65 void displayUsage(const char*);
68 void motionEvent(XMotionEvent
*xev
);
69 void releaseEvent(XButtonEvent
*xev
);
70 void pressEvent(XButtonEvent
*xev
);
71 void parseArgs(int , char **);
82 void init(int, char **);
87 #endif //__wmmixer_h__