17 #if defined(__WATCOMC__) 28 unsigned int const i_len_x,
29 unsigned int const i_len_y);
42 unsigned char const* i_str);
56 operator=(
label const&);
60 inline unsigned char const*
68 unsigned char const* i_str)
74 if (i_str && i_str[0])
77 l_len= 1+strlen(reinterpret_cast<char const*>(i_str));
78 m_label=
reinterpret_cast<unsigned char*
>(malloc(l_len));
drawing routines that applies clipping
virtual ~label()
destructor
Definition: label.cpp:25
unsigned char * m_label
buffer to hold label
Definition: label.hpp:46
virtual void draw() const
draws the widget
Definition: label.cpp:69
Allows display of text.
Definition: label.hpp:21
void set_text(unsigned char const *i_str)
set label text
Definition: label.hpp:67
unsigned char const * get_text() const
returns label text
Definition: label.hpp:61