JWM Source Documentation
Functions
status.h File Reference

Header for the status functions. More...

Go to the source code of this file.

Functions

void CreateMoveWindow (struct ClientNode *np)
 Create a move status window.
 
void UpdateMoveWindow (struct ClientNode *np)
 Update a move status window.
 
void DestroyMoveWindow (void)
 Destroy a move status window.
 
void CreateResizeWindow (struct ClientNode *np)
 Create a resize status window.
 
void UpdateResizeWindow (struct ClientNode *np, int gwidth, int gheight)
 Update a resize status window.
 
void DestroyResizeWindow (void)
 Destroy a resize status window.
 

Detailed Description

Header for the status functions.

Author
Joe Wingbermuehle
Date
2004-2006

Definition in file status.h.

Function Documentation

void CreateMoveWindow ( ClientNode np)

Create a move status window.

Parameters
npThe client to be moved.

Definition at line 144 of file status.c.

References CreateMoveResizeWindow(), Settings::moveStatusType, and settings.

Referenced by MoveClient(), and MoveClientKeyboard().

void CreateResizeWindow ( ClientNode np)

Create a resize status window.

Parameters
npThe client being resized.

Definition at line 174 of file status.c.

References CreateMoveResizeWindow(), Settings::resizeStatusType, and settings.

Referenced by ResizeClient(), and ResizeClientKeyboard().

void DestroyMoveWindow ( void  )

Destroy a move status window.

Definition at line 168 of file status.c.

References DestroyMoveResizeWindow().

Referenced by MoveController().

void DestroyResizeWindow ( void  )

Destroy a resize status window.

Definition at line 200 of file status.c.

References DestroyMoveResizeWindow().

Referenced by ResizeController(), and StopResize().

void UpdateMoveWindow ( ClientNode np)

Update a move status window.

Parameters
npThe client being moved.

Definition at line 150 of file status.c.

References COLOR_MENU_FG, DrawMoveResizeWindow(), FONT_MENU, GetStringWidth(), Settings::moveStatusType, RenderString(), rootWidth, settings, statusWindow, statusWindowWidth, SW_OFF, TrayComponentType::width, ClientNode::x, and ClientNode::y.

Referenced by MoveClient(), and MoveClientKeyboard().

void UpdateResizeWindow ( ClientNode np,
int  gwidth,
int  gheight 
)

Update a resize status window.

Parameters
npThe client being resized.
gwidthThe width to display.
gheightThe height to display.

Definition at line 180 of file status.c.

References COLOR_MENU_FG, DrawMoveResizeWindow(), FONT_MENU, GetStringWidth(), RenderString(), Settings::resizeStatusType, rootWidth, settings, statusWindow, statusWindowWidth, and SW_OFF.

Referenced by ResizeClient(), and ResizeClientKeyboard().

joewing.net / Projects / JWM