www.pudn.com > screensaver.rar > Label.h


#ifndef LABEL_H 
#define LABEL_H 
 
#include "GUILib.h" 
 
#define ALIGN_LEFT 0 
#define ALIGN_CENTER 1 
#define ALIGN_RIGHT 2 
 
typedef struct { 
	window_t win; 
	string bgcolor; 
	string fgcolor; 
	double bgdentisy; 
	int align; 
} label_t; 
 
typedef label_t * label_h; 
 
label_h GenLabel(double left, double top, double width, double height, string text, int align, string bgcolor, string fgcolor, double bgdentisy); 
 
#define GEN_LABEL(L,T,W,H,C,A) GenLabel(L, T, W, H, C, A, "White", "Black", 1.0) 
 
#endif