Make AddMouseRegion's index unsigned
[dockapps.git] / wmix / include / ui_x.h
blob992a48fdf626bbc44ddb495149da5ce5c56299bf
1 /* WMix 3.0 -- a mixer using the OSS mixer API.
2 * Copyright (C) 2000, 2001
3 * Daniel Richard G. <skunk@mit.edu>,
4 * timecop <timecop@japan.co.jp>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 void dockapp_init (Display *x_display, Bool randr);
23 void new_window (char *name, int width, int height,
24 int argc, char **argv);
26 void new_osd (int height);
27 void update_osd (float volume, bool up);
28 void map_osd (void);
29 void unmap_osd (void);
30 bool osd_mapped (void);
32 void ui_update (void);
33 void redraw_window (void);
35 int blit_string (const char *text);
36 void scroll_text (int x, int y, int width, bool reset);
37 void set_cursor (int type);
38 void knob_turn (float delta);
39 void slider_move (float delta);
41 unsigned long get_color (Display *display, char *color_name);
43 void ui_rrnotify (void);