Expand description

Contains the Message and MessagePosition structs, along with the MessageType enumeration, which are the foundation of the “Handler Chain” design pattern example.

Structs

  • Represents a message sent to the windows. A message contains a type and a position.
  • Position of the message in global coordinates (same scope of coordinates as windows). Although this can handle negative coordinates, the example is careful to use only positive coordinates.

Enums

  • Represent the types of messages that can be sent to a MessageWindow (as seen by the IMessageHandler::process_message() method).