mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 20:39:18 +02:00
maintenance: memory leak fix, default constructors, minor syntax cleanups
This commit is contained in:
@@ -19,13 +19,14 @@ struct TTranscript {
|
||||
class TTranscripts {
|
||||
|
||||
public:
|
||||
// constructors
|
||||
TTranscripts() = default;
|
||||
// methods
|
||||
void AddLine( std::string const &txt, float show, float hide, bool it );
|
||||
// dodanie tekstów, długość dźwięku, czy istotne
|
||||
void Add( std::string const &txt, bool background = false );
|
||||
// usuwanie niepotrzebnych (ok. 10 razy na sekundę)
|
||||
void Update();
|
||||
|
||||
// members
|
||||
std::deque<TTranscript> aLines;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user