mirror of https://github.com/odrling/Aegisub
Remove DOCME placeholders from AssDialogue
This commit is contained in:
parent
9009c963e3
commit
50b70f6979
|
@ -51,9 +51,7 @@ enum ASS_BlockType {
|
||||||
class AssOverrideParameter;
|
class AssOverrideParameter;
|
||||||
class AssOverrideTag;
|
class AssOverrideTag;
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
/// @class AssDialogueBlock
|
/// @class AssDialogueBlock
|
||||||
|
|
||||||
/// @brief AssDialogue Blocks
|
/// @brief AssDialogue Blocks
|
||||||
///
|
///
|
||||||
/// A block is each group in the text field of an AssDialogue
|
/// A block is each group in the text field of an AssDialogue
|
||||||
|
@ -85,23 +83,14 @@ public:
|
||||||
virtual wxString GetText() { return text; }
|
virtual wxString GetText() { return text; }
|
||||||
};
|
};
|
||||||
|
|
||||||
/// @class AssDialogueBlockPlain
|
|
||||||
/// @brief DOCME
|
|
||||||
///
|
|
||||||
/// DOCME
|
|
||||||
class AssDialogueBlockPlain : public AssDialogueBlock {
|
class AssDialogueBlockPlain : public AssDialogueBlock {
|
||||||
public:
|
public:
|
||||||
ASS_BlockType GetType() const { return BLOCK_PLAIN; }
|
ASS_BlockType GetType() const { return BLOCK_PLAIN; }
|
||||||
AssDialogueBlockPlain(wxString const& text = wxString()) : AssDialogueBlock(text) { }
|
AssDialogueBlockPlain(wxString const& text = wxString()) : AssDialogueBlock(text) { }
|
||||||
};
|
};
|
||||||
|
|
||||||
/// @class AssDialogueBlockDrawing
|
|
||||||
/// @brief DOCME
|
|
||||||
///
|
|
||||||
/// DOCME
|
|
||||||
class AssDialogueBlockDrawing : public AssDialogueBlock {
|
class AssDialogueBlockDrawing : public AssDialogueBlock {
|
||||||
public:
|
public:
|
||||||
/// DOCME
|
|
||||||
int Scale;
|
int Scale;
|
||||||
|
|
||||||
ASS_BlockType GetType() const { return BLOCK_DRAWING; }
|
ASS_BlockType GetType() const { return BLOCK_DRAWING; }
|
||||||
|
@ -109,25 +98,16 @@ public:
|
||||||
void TransformCoords(int trans_x,int trans_y,double mult_x,double mult_y);
|
void TransformCoords(int trans_x,int trans_y,double mult_x,double mult_y);
|
||||||
};
|
};
|
||||||
|
|
||||||
/// @class AssDialogueBlockOverride
|
|
||||||
/// @brief DOCME
|
|
||||||
///
|
|
||||||
/// DOCME
|
|
||||||
class AssDialogueBlockOverride : public AssDialogueBlock {
|
class AssDialogueBlockOverride : public AssDialogueBlock {
|
||||||
public:
|
public:
|
||||||
AssDialogueBlockOverride(wxString const& text = wxString()) : AssDialogueBlock(text) { }
|
AssDialogueBlockOverride(wxString const& text = wxString()) : AssDialogueBlock(text) { }
|
||||||
~AssDialogueBlockOverride();
|
~AssDialogueBlockOverride();
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
std::vector<AssOverrideTag*> Tags;
|
std::vector<AssOverrideTag*> Tags;
|
||||||
|
|
||||||
|
|
||||||
/// @brief DOCME
|
|
||||||
/// @return
|
|
||||||
///
|
|
||||||
ASS_BlockType GetType() const { return BLOCK_OVERRIDE; }
|
ASS_BlockType GetType() const { return BLOCK_OVERRIDE; }
|
||||||
wxString GetText();
|
wxString GetText();
|
||||||
void ParseTags(); // Parses tags
|
void ParseTags();
|
||||||
void AddTag(wxString const& tag);
|
void AddTag(wxString const& tag);
|
||||||
|
|
||||||
/// Type of callback function passed to ProcessParameters
|
/// Type of callback function passed to ProcessParameters
|
||||||
|
@ -138,17 +118,9 @@ public:
|
||||||
void ProcessParameters(ProcessParametersCallback callback,void *userData);
|
void ProcessParameters(ProcessParametersCallback callback,void *userData);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
/// @class AssDialogue
|
|
||||||
/// @brief DOCME
|
|
||||||
///
|
|
||||||
/// DOCME
|
|
||||||
class AssDialogue : public AssEntry {
|
class AssDialogue : public AssEntry {
|
||||||
wxString GetData(bool ssa) const;
|
wxString GetData(bool ssa) const;
|
||||||
public:
|
public:
|
||||||
|
|
||||||
/// Contains information about each block of text
|
/// Contains information about each block of text
|
||||||
std::vector<AssDialogueBlock*> Blocks;
|
std::vector<AssDialogueBlock*> Blocks;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue