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

Header for client window resize functions.

Author:
Joe Wingbermuehle
Date:
2005-2006

Definition in file resize.h.


Enumeration Type Documentation

Enumeration of possible resize modes.

Enumerator:
RESIZE_OPAQUE 

Show window contents while resizing.

RESIZE_OUTLINE 

Show an outline while resizing.

Definition at line 18 of file resize.h.


Function Documentation

void ResizeClient ( struct ClientNode np,
BorderActionType  action,
int  startx,
int  starty 
)

Resize a client window.

Parameters:
npThe client to resize.
actionThe location on the border where the move should take place.
startxThe starting mouse x-coordinate (window relative).
startyThe starting mouse y-coordinate (window relative).
void ResizeClientKeyboard ( struct ClientNode np)

Resize a client window using the keyboard (mouse optional).

Parameters:
npThe client to resize.
void SetResizeMode ( ResizeModeType  mode)

Set the resize mode to use.

Parameters:
modeThe resize mode to use.