21
edits
Changes
m
→IO_Label
'''IO_Label''' can be created in two ways:
'''1-'''
<big><pre>
IO_Label(int row, int col, int len);
'''_dynamic''' attribute is set to true in this case.
'''2-'''
<big><pre>
IO_Label(char* str, int row, int col, int len = 0-1);</pre></big>This constructor will create an IO_Label, with its IO_Field::_data pointing to where '''str''' is pointing to. Like the previous constructor it will pass '''row''' and '''col''' to its parent and set the '''_len''' attribute to the incoming '''len''' argument. '''_dynamic''' attribute is set to false in this case, since the data of the class is external. <big><pre> void Display(void); </pre></big> '''Display()''' is a direct call to '''io_display()''' function printing '''_data''', at '''_row''' and '''_col''' up to '''_len''' characters. If '''_len''' is less than zero, then '''_data''' will be printed to the end. <big><pre> void Set(const void* str);
</pre></big>