Main Page | Class Hierarchy | Data Structures | Directories | Data Fields

CDocumentClient::SCmd Struct Reference

Command description object, used in arrays for defining command menus. More...

#include <doccli.h>


Public Types

enum  EFlags {
  cf_Grayed = (1 << 0),
  cf_Checked = (1 << 1),
  cf_Submenu = (1 << 2),
  cf_Checkable = (1 << 3),
  cf_Last
}

Public Member Functions

void SetName (const char *n)
void SetFlag (EFlags f, bool v=true)
bool operator== (const SCmd &v) const
bool operator< (const SCmd &v) const

Data Fields

cmd_t cmd
 Command value.
cmd_t parent
 Command used to trigger the menu containing this command. (As in, File is a parent for Save).
uint32_t flags
 See EFlags.
char name [24]
 Command name as shown in the menu. May contain an & accelerator. Chars in utf8.


Detailed Description

Command description object, used in arrays for defining command menus.


The documentation for this struct was generated from the following file:
Generated on Sat Nov 18 11:53:53 2006 for UltraTextUI by 1.4.4 Doxygen Hosted on SourceForge.net