21
edits
Changes
m
→IO_Menu
==IO_Menu==
IO_Menu is a child of IO_Field and IO_Frame and is responsible to create a menu in which use can select one and submit the selection.
IO_Menu can be organized in two ways, Vertical and Horizontal.
*Vertical:<blockquote> The menu items will be displayed vertically and the list will be framed.</blockquote>*Horizontally<blockquote> The menu items will be displayed horizontally and the list will NOT be framed.</blockquote>This is how an IO_Menu is created:<big><pre> IO_Menu(int row, int col, const char* items,int selIndex = 0,MenuDir dir = Vertical, const char* format = _MENU_CHARS, const char* frameChars = _FRAME_MENUS);</pre></big>*'''row''' and '''col''' are the top, left of where the menu displayed.*'''items''' is a "newline" separated list of menu items.*'''selIndex''' is the selected index of the menu, when it is initially displayed.*'''dir''' is the one of the <big><code>enum MenuDir{Vertical, Horizontal}</code></pre> values defined in io_def.h.*'''format''' is a 2 char, string, holding the surrounding chars of a selected menu item*'''frameChars''' are the characters building the frame (if the object is framed)---incomplete---
==IO_TextEdit==