24 #ifndef __vtkKWLabel_h
25 #define __vtkKWLabel_h
36 void PrintSelf(ostream& os, vtkIndent indent);
40 virtual void SetText(
const char*);
41 vtkGetStringMacro(Text);
47 virtual void SetWidth(
int);
48 virtual int GetWidth();
54 virtual void SetHeight(
int);
55 virtual int GetHeight();
62 virtual void SetJustification(
int);
63 virtual int GetJustification();
64 virtual void SetJustificationToLeft();
65 virtual void SetJustificationToCenter();
66 virtual void SetJustificationToRight();
73 virtual void SetAnchor(
int);
74 virtual int GetAnchor();
75 virtual void SetAnchorToNorth();
76 virtual void SetAnchorToNorthEast();
77 virtual void SetAnchorToEast();
78 virtual void SetAnchorToSouthEast();
79 virtual void SetAnchorToSouth();
80 virtual void SetAnchorToSouthWest();
81 virtual void SetAnchorToWest();
82 virtual void SetAnchorToNorthWest();
83 virtual void SetAnchorToCenter();
87 virtual void GetBackgroundColor(
double *r,
double *g,
double *b);
88 virtual double* GetBackgroundColor();
89 virtual void SetBackgroundColor(
double r,
double g,
double b);
90 virtual void SetBackgroundColor(
double rgb[3])
95 virtual void GetForegroundColor(
double *r,
double *g,
double *b);
96 virtual double* GetForegroundColor();
97 virtual void SetForegroundColor(
double r,
double g,
double b);
98 virtual void SetForegroundColor(
double rgb[3])
100 virtual void GetDefaultForegroundColor(
double *r,
double *g,
double *b);
101 virtual double* GetDefaultForegroundColor();
107 virtual void SetHighlightThickness(
int);
108 virtual int GetHighlightThickness();
115 virtual void GetActiveBackgroundColor(
double *r,
double *g,
double *b);
116 virtual double* GetActiveBackgroundColor();
117 virtual void SetActiveBackgroundColor(
double r,
double g,
double b);
118 virtual void SetActiveBackgroundColor(
double rgb[3])
126 virtual void GetActiveForegroundColor(
double *r,
double *g,
double *b);
127 virtual double* GetActiveForegroundColor();
128 virtual void SetActiveForegroundColor(
double r,
double g,
double b);
129 virtual void SetActiveForegroundColor(
double rgb[3])
134 virtual void GetDisabledForegroundColor(
double *r,
double *g,
double *b);
135 virtual double* GetDisabledForegroundColor();
136 virtual void SetDisabledForegroundColor(
double r,
double g,
double b);
137 virtual void SetDisabledForegroundColor(
double rgb[3])
144 virtual void SetBorderWidth(
int);
145 virtual int GetBorderWidth();
152 virtual void SetRelief(
int);
153 virtual int GetRelief();
154 virtual void SetReliefToRaised();
155 virtual void SetReliefToSunken();
156 virtual void SetReliefToFlat();
157 virtual void SetReliefToRidge();
158 virtual void SetReliefToSolid();
159 virtual void SetReliefToGroove();
170 virtual void SetPadX(
int);
171 virtual int GetPadX();
172 virtual void SetPadY(
int);
173 virtual int GetPadY();
184 virtual void SetWrapLength(
const char *length);
185 virtual const char* GetWrapLength();
190 virtual void SetAdjustWrapLengthToWidth(
int);
191 vtkGetMacro(AdjustWrapLengthToWidth,
int);
192 vtkBooleanMacro(AdjustWrapLengthToWidth,
int);
206 virtual void SetFont(
const char *font);
207 virtual const char* GetFont();
227 virtual void SetImageToIcon(
vtkKWIcon *icon);
228 virtual void SetImageToPredefinedIcon(
int icon_index);
229 virtual void SetImageToPixels(
230 const unsigned char *pixels,
int width,
int height,
int pixel_size,
231 unsigned long buffer_length = 0);
240 virtual void SetCompoundMode(
int);
241 virtual int GetCompoundMode();
242 virtual void SetCompoundModeToNone();
243 virtual void SetCompoundModeToLeft();
244 virtual void SetCompoundModeToCenter();
245 virtual void SetCompoundModeToRight();
246 virtual void SetCompoundModeToTop();
247 virtual void SetCompoundModeToBottom();
260 virtual void AdjustWrapLengthToWidthCallback();
270 virtual void UpdateBindings();
271 virtual void UpdateText();
275 int AdjustWrapLengthToWidth;