JWM Source Documentation
resize.h File Reference
Header for client window resize functions. More...
#include "border.h"Go to the source code of this file.
Enumerations | |
| enum | ResizeModeType { RESIZE_OPAQUE, RESIZE_OUTLINE } |
| Enumeration of possible resize modes. More... | |
Functions | |
| void | ResizeClient (struct ClientNode *np, BorderActionType action, int startx, int starty) |
| Resize a client window. | |
| void | ResizeClientKeyboard (struct ClientNode *np) |
| Resize a client window using the keyboard (mouse optional). | |
| void | SetResizeMode (ResizeModeType mode) |
| Set the resize mode to use. | |
Detailed Description
Enumeration Type Documentation
| enum ResizeModeType |
Function Documentation
| void ResizeClient | ( | struct ClientNode * | np, |
| BorderActionType | action, | ||
| int | startx, | ||
| int | starty | ||
| ) |
Resize a client window.
- Parameters:
-
np The client to resize. action The location on the border where the move should take place. startx The starting mouse x-coordinate (window relative). starty The starting mouse y-coordinate (window relative).
| void ResizeClientKeyboard | ( | struct ClientNode * | np | ) |
Resize a client window using the keyboard (mouse optional).
- Parameters:
-
np The client to resize.
| void SetResizeMode | ( | ResizeModeType | mode | ) |
Set the resize mode to use.
- Parameters:
-
mode The resize mode to use.