mirror of https://github.com/odrling/Aegisub
More stuff in subs lib.
Originally committed to SVN as r1991.
This commit is contained in:
parent
20eb82d397
commit
9f5d3e7a6e
|
@ -167,6 +167,10 @@
|
|||
RelativePath=".\include\aegilib\aegistring.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\include\aegilib\aegitime.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\include\aegilib\controller.h"
|
||||
>
|
||||
|
@ -211,10 +215,6 @@
|
|||
RelativePath=".\include\aegilib\section_entry_dialogue.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\include\aegilib\time.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\include\aegilib\view.h"
|
||||
>
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
#include "manipulator.h"
|
||||
#include "section.h"
|
||||
#include "section_entry_dialogue.h"
|
||||
#include "time.h"
|
||||
#include "aegitime.h"
|
||||
|
||||
|
||||
//////////
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
#pragma once
|
||||
#include "exception.h"
|
||||
#include "time.h"
|
||||
#include "aegitime.h"
|
||||
#include "section_entry.h"
|
||||
|
||||
|
||||
|
@ -45,7 +45,8 @@ namespace Aegilib {
|
|||
// Dialogue class
|
||||
class SectionEntryDialogue : public SectionEntry {
|
||||
private:
|
||||
void ThrowUnsupported() const { throw Exception(Exception::Unsupported_Format_Feature); }
|
||||
const static bool dodgeWarning = true;
|
||||
void ThrowUnsupported() const { if (dodgeWarning) throw Exception(Exception::Unsupported_Format_Feature); }
|
||||
|
||||
public:
|
||||
// Destructor
|
||||
|
@ -64,11 +65,11 @@ namespace Aegilib {
|
|||
virtual bool HasMargins() const { return false; }
|
||||
|
||||
// Read accessors
|
||||
virtual String GetText() const { ThrowUnsupported(); }
|
||||
virtual Time GetStartTime() const { ThrowUnsupported(); }
|
||||
virtual Time GetEndTime() const { ThrowUnsupported(); }
|
||||
virtual int GetStartFrame() const { ThrowUnsupported(); }
|
||||
virtual int GetEndFrame() const { ThrowUnsupported(); }
|
||||
virtual String GetText() const { ThrowUnsupported(); return L""; }
|
||||
virtual Time GetStartTime() const { ThrowUnsupported(); return 0; }
|
||||
virtual Time GetEndTime() const { ThrowUnsupported(); return 0; }
|
||||
virtual int GetStartFrame() const { ThrowUnsupported(); return 0; }
|
||||
virtual int GetEndFrame() const { ThrowUnsupported(); return 0; }
|
||||
|
||||
// Write acessors
|
||||
virtual void SetText(String text) { (void) text; ThrowUnsupported(); }
|
||||
|
|
|
@ -164,13 +164,15 @@
|
|||
// FreeType2
|
||||
#ifdef WITH_FREETYPE2
|
||||
#ifdef __WXDEBUG__
|
||||
//#pragma comment(lib,"freetype233MT_D.lib")
|
||||
#ifdef FT2_LIB_DEBUG
|
||||
#pragma comment(lib,FT2_LIB_DEBUG)
|
||||
#endif
|
||||
#else
|
||||
//#pragma comment(lib,"freetype233MT.lib")
|
||||
#ifdef FT2_LIB_RELEASE
|
||||
#pragma comment(lib,FT2_LIB_RELEASE)
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
///////////////
|
||||
|
|
Loading…
Reference in New Issue