File: toolbar_client.h

package info (click to toggle)
matchbox-window-manager 0.9.3-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,368 kB
  • ctags: 1,070
  • sloc: ansic: 13,441; sh: 794; xml: 489; makefile: 93
file content (62 lines) | stat: -rw-r--r-- 1,439 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/* 
 *  Matchbox Window Manager - A lightweight window manager not for the
 *                            desktop.
 *
 *  Authored By Matthew Allum <mallum@o-hand.com>
 *
 *  Copyright (c) 2002, 2004 OpenedHand Ltd - http://o-hand.com
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2, or (at your option)
 *  any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 */

#ifndef _TOOLBAR_CLIENT_H_
#define _TOOLBAR_CLIENT_H_

#include "structs.h"
#include "client_common.h"
#include "base_client.h"
#include "main_client.h"

Client* 
toolbar_client_new(Wm *w, Window win);

void 
toolbar_client_configure(Client *c);

void 
toolbar_client_button_press(Client *c, XButtonEvent *e);

void 
toolbar_client_show(Client *c);

void 
toolbar_client_hide(Client *c);

void 
toolbar_client_move_resize(Client *c);

void 
toolbar_client_get_coverage(Client *c, int *x, int *y, int *w, int *h);

void 
toolbar_client_destroy(Client *c);

void 
toolbar_client_reparent(Client *c);

void 
toolbar_client_redraw(Client *c, Bool use_cache);

int 
toolbar_win_offset(Client *c);

#endif