]> Dogcows Code - chaz/openbox/blob - openbox/frame.h
merge the C branch into HEAD
[chaz/openbox] / openbox / frame.h
1 #ifndef __frame_h
2 #define __frame_h
3
4 #include "geom.h"
5 #include "client.h"
6
7 typedef struct Frame {
8 Client *client;
9
10 Window window;
11 Window plate;
12
13 Strut size;
14 Rect area;
15 gboolean visible;
16 } Frame;
17
18 /*! Applies gravity to the client's position to find where the frame should
19 be positioned.
20 @return The proper coordinates for the frame, based on the client.
21 */
22 void frame_client_gravity(Frame *self, int *x, int *y);
23
24 /*! Reversly applies gravity to the frame's position to find where the client
25 should be positioned.
26 @return The proper coordinates for the client, based on the frame.
27 */
28 void frame_frame_gravity(Frame *self, int *x, int *y);
29
30
31 #endif
This page took 0.035407 seconds and 5 git commands to generate.