ScummVM API documentation
MTropolis::Data::KeyboardMessengerModifier Struct Reference
Inheritance diagram for MTropolis::Data::KeyboardMessengerModifier:
MTropolis::Data::DataObject Common::NonCopyable

Public Types

enum  KeyStateFlags { kOnDown = 0x10000000, kOnUp = 0x4000000, kOnRepeat = 0x8000000, kKeyStateMask = (kOnDown | kOnUp | kOnRepeat) }
 
enum  KeyModifiers { kControl = 0x1000, kCommand = 0x0100, kOption = 0x0800 }
 
enum  KeyCodes {
  kAny = 0x00, kHome = 0x01, kEnter = 0x03, kEnd = 0x04,
  kHelp = 0x05, kBackspace = 0x08, kTab = 0x09, kPageUp = 0x0b,
  kPageDown = 0x0c, kReturn = 0x0d, kEscape = 0x1b, kArrowLeft = 0x1c,
  kArrowRight = 0x1d, kArrowUp = 0x1e, kArrowDown = 0x1f, kDelete = 0x7f
}
 

Public Attributes

TypicalModifierHeader modHeader
 
uint32 messageFlagsAndKeyStates
 
uint16 unknown2
 
uint16 keyModifiers
 
uint8 keycode
 
uint8 unknown4 [7]
 
Event message
 
uint16 unknown7
 
uint32 destination
 
uint8 unknown9 [10]
 
InternalTypeTaggedValue with
 
uint8 withSourceLength
 
uint8 withStringLength
 
Common::String withSource
 
Common::String withString
 

Protected Member Functions

DataReadErrorCode load (DataReader &reader) override
 

Additional Inherited Members

- Public Member Functions inherited from MTropolis::Data::DataObject
DataReadErrorCode load (DataObjectTypes::DataObjectType type, uint16 revision, DataReader &reader)
 
uint16 getRevision () const
 
DataObjectTypes::DataObjectType getType () const
 
- Protected Attributes inherited from MTropolis::Data::DataObject
DataObjectTypes::DataObjectType _type
 
uint16 _revision
 

The documentation for this struct was generated from the following file: