An internal class intended for use by the SCLOrkChat user interface code. It contains logic about how to display a SCLOrkChatMessage, and includes some simple interactivity, specifically to copy code from a code message or silence the blink of a shout message.
A constant used by the view to calculate distance between UI elements.
Create, initialize, and return a new SCLOrkChatMessageView object.
parent |
The containing parent view, this is passed on to the superclass View constructor. |
containerViewWidth |
How wide this view should be within the larger container. |
fontSize |
The size of the font to use when drawing text in this view. |
chatMessage |
The SCLOrkChatMessage object the view is to represent. |
messageIndex |
An integer describing the position of this view in the larger view container, used to calculate background color for ease of reading. |
sclorkChat |
The containing SCLOrkChat object, used in case chat has to send back any messages. |
A new SCLOrkChatMessageView object.
Stops any tasks associated with this particular view (namely shout flashing), then calls View: remove.