JWM Source Documentation
Functions
gradient.c File Reference

Gradient fill functions. More...

#include "jwm.h"
#include "gradient.h"
#include "color.h"
#include "main.h"

Go to the source code of this file.

Functions

void DrawHorizontalGradient (Drawable d, GC g, long fromColor, long toColor, int x, int y, unsigned int width, unsigned int height)
 Draw a horizontal gradient.
 

Detailed Description

Gradient fill functions.

Author
Joe Wingbermuehle
Date
2006

Definition in file gradient.c.

Function Documentation

void DrawHorizontalGradient ( Drawable  d,
GC  g,
long  fromColor,
long  toColor,
int  x,
int  y,
unsigned int  width,
unsigned int  height 
)

Draw a horizontal gradient.

Definition at line 16 of file gradient.c.

References colors, display, GetColor(), JXDrawLine, JXQueryColors, JXSetForeground, and rootColormap.

Referenced by ClearTrayDrawable(), DrawBorderHelper(), DrawButton(), DrawClock(), and LoadGradientBackground().

joewing.net / Projects / JWM