21
edits
Changes
m
Under construction!CMenuItem provides a Label that is can be marked as selected by pressing the space bar.
→CMenuItem
*These methods set and get _flag.
==CMenuItem==
<big><syntaxhighlight lang="cpp">
#include "clabel.h"
bool _selected;
</syntaxhighlight></big>
Holds the status of the MenuItem, being selected or not;
<big><syntaxhighlight lang="cpp">
char _format[3];
</syntaxhighlight></big>
Holds the surrounding characters with which a selected MenuItem is shown:<br />
If _format holds "[]", then a selected MenuItem will be like [MenuText]
<big><syntaxhighlight lang="cpp">
CLabel Label;