#include <C_Events_List.h>
Public Member Functions | |
| C_Events_List (void) | |
| The constructor. | |
| ~C_Events_List (void) | |
| The destructor. | |
| void | Parse_Event (C_Style_Sheet *First, char *line, char *format, C_Name_List *First_Name) |
| Parse an event readed in a .ssa file. | |
| char * | MarginTostring (void) |
| Convert Margins value to a string. | |
| char * | Tostring (char *format) |
| Convert the element to a string. | |
| void | ParseMargin (char *Line) |
| Parse a string into margin value. | |
| void | Parse_Event_Format (char *line, char *Source) |
| Parse a Event format line. | |
Data Fields | |
| C_Events_List * | Next |
| Link to the Next Event (it's evident no?). | |
| C_Style_Sheet * | Style |
| Link to the associated style. | |
| int | Event_Type |
| Type of the event. | |
| int | Effect |
| Effect applied to the event. | |
| int | MarginL |
| Left Margin of the Event. | |
| int | MarginR |
| Right Margin of the Event. | |
| int | MarginV |
| Vertical Margin of the Event. | |
| int | Marked |
| I don't know :|. | |
| C_Name_List * | Personnage_Name |
| Link to a personnage name. | |
| char * | Text |
| Text (dialog) of the event. | |
| SSA_Time | Start |
| Starting Time of the event. | |
| SSA_Time | End |
| Ending Time of the event. | |
| SSA_Time | Duration |
| Duration Time of the event (calculated). | |
| long | ID |
| ID of the event (index). | |
This class stock all data concerning an event (list)
|
|
The constructor. Only put at 0 the class (and the ID to -1) |
|
|
The destructor. Desalouate all allocated string (like Text)
|
|
|
Convert Margins value to a string. Convert the MarginL, MarginR and MarginV value to a string to be displayed You MUST delete[] the data when finish |
|
||||||||||||||||||||
|
Parse an event readed in a .ssa file.
|
|
||||||||||||
|
Parse a Event format line. Parse a line of formating, generaly the first line of a section it's utilised after by Parse_Event()
|
|
|
Parse a string into margin value. Parse a string formated like MarginTostring() Line char to parse
|
|
|
Convert the element to a string.
|
|
|
Duration Time of the event (calculated).
|
|
|
Effect applied to the event. It can be Karaoke, Banner or Scrollup
|
|
|
Ending Time of the event.
|
|
|
Type of the event. The event can be a : Dialogue, Comment, Picture, Sound, Movie or a Command |
|
|
ID of the event (index).
|
|
|
Left Margin of the Event.
|
|
|
Right Margin of the Event.
|
|
|
Vertical Margin of the Event.
|
|
|
I don't know :|.
|
|
|
Link to the Next Event (it's evident no?).
|
|
|
Link to a personnage name.
|
|
|
Starting Time of the event.
|
|
|
Link to the associated style.
|
|
|
Text (dialog) of the event.
|
1.3