10 #ifndef __window_hpp__ 15 #if defined(__WATCOMC__) 37 unsigned int const i_len_x,
38 unsigned int const i_len_y);
54 unsigned const i_attributes);
58 unsigned char const* i_str);
83 inline unsigned char const*
91 unsigned const i_attributes)
99 unsigned char const* i_str)
105 if (i_str && i_str[0])
108 l_len= 1+strlen(reinterpret_cast<char const*>(i_str));
109 m_title=
reinterpret_cast<unsigned char*
>(malloc(l_len));
119 #define __window_hpp__ Definition: window.hpp:30
Definition: window.hpp:29
unsigned char const * get_title() const
gets the windows title
Definition: window.hpp:84
virtual ~window()
destructor
Definition: window.cpp:31
Definition: window.hpp:28
Definition: window.hpp:26
attributes
Definition: window.hpp:24
void set_title(unsigned char const *i_str)
sets the windows title
Definition: window.hpp:98
container to hold a collection of widgets
Definition: group.hpp:15
enum attributes m_attributes
Definition: window.hpp:63
Definition: window.hpp:31
virtual void draw() const
draws the widget
Definition: window.cpp:40
void set_attributes(unsigned const i_attributes)
set the window attributes
Definition: window.hpp:90
enum attributes get_attributes() const
gets the window attributes
Definition: window.hpp:78
Definition: window.hpp:27
unsigned char * m_title
Definition: window.hpp:62
top level container widget that can be moved and resized by the user
Definition: window.hpp:19