aboutsummaryrefslogtreecommitdiff
path: root/src/status.h
blob: 9fcabb8a0b8dafd2277f92ebb2d1c01febb9b8fc (plain)
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
/**
 * @file status.h
 * @author Joe Wingbermuehle
 * @date 2004-2006
 *
 * @brief Header for the status functions.
 *
 */

#ifndef STATUS_H
#define STATUS_H

struct ClientNode;

/** Create a move status window.
 * @param np The client to be moved.
 */
void CreateMoveWindow(struct ClientNode *np);

/** Update a move status window.
 * @param np The client being moved.
 */
void UpdateMoveWindow(struct ClientNode *np);

/** Destroy a move status window. */
void DestroyMoveWindow();

/** Create a resize status window.
 * @param np The client being resized.
 */
void CreateResizeWindow(struct ClientNode *np);

/** Update a resize status window.
 * @param np The client being resized.
 * @param gwidth The width to display.
 * @param gheight The height to display.
 */
void UpdateResizeWindow(struct ClientNode *np, int gwidth, int gheight);

/** Destroy a resize status window. */
void DestroyResizeWindow();

/** Set the location of move status windows.
 * @param str The location (off, screen, window, or corner).
 */
void SetMoveStatusType(const char *str);

/** Set the location of resize status windows.
 * @param str The location (off, screen, window, or corner).
 */
void SetResizeStatusType(const char *str);

#endif