JWM Source Documentation

place.h
Go to the documentation of this file.
00001 
00010 #ifndef PLACE_H
00011 #define PLACE_H
00012 
00013 struct ClientNode;
00014 struct ScreenType;
00015 struct TrayType;
00016 
00018 typedef struct BoundingBox {
00019    int x;         
00020    int y;         
00021    int width;     
00022    int height;    
00023 } BoundingBox;
00024 
00026 void InitializePlacement();
00027 void StartupPlacement();
00028 void ShutdownPlacement();
00029 void DestroyPlacement();
00035 void RemoveClientStrut(struct ClientNode *np);
00036 
00040 void ReadClientStrut(struct ClientNode *np);
00041 
00046 void PlaceClient(struct ClientNode *np, int alreadyMapped);
00047 
00053 void PlaceMaximizedClient(struct ClientNode *np, int horiz, int vert);
00054 
00059 void GravitateClient(struct ClientNode *np, int negate);
00060 
00066 void GetGravityDelta(const struct ClientNode *np, int *x, int *y);
00067 
00071 void ConstrainSize(struct ClientNode *np);
00072 
00077 void GetScreenBounds(const struct ScreenType *sp, BoundingBox *box);
00078 
00084 void SubtractTrayBounds(const struct TrayType *tp, BoundingBox *box,
00085    unsigned int layer);
00086 
00087 #endif /* PLACE_H */
00088